annotate mafft.xml @ 16:8e649f27aa0d draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
author bgruening
date Thu, 22 Aug 2024 19:20:24 +0000
parents bf28a8cff401
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
2 <tool id="rbc_mafft" name="MAFFT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
3 <description>Multiple alignment program for amino acid or nucleotide sequences</description>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
4 <macros>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
5 <import>macros.xml</import>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
6 </macros>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
7 <expand macro="biotools"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
8 <expand macro="requirements" />
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
9 <version_command>mafft --version</version_command>
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
11 ## Concatenate all input datasets no matter how they were provided
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
12 bash inputs.sh &&
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
13
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
14 ## Count total number of sequences across input datasets
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
15 ## Can't do this on the concatenated input data prepared above because it's
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
16 ## just a regular file and we don't have Galaxy-generated metadata for it.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
17 #set sequence_count = 0
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
18 #if $input.mapping == "implicit"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
19 #for $batch in $input.batches:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
20 #set sequence_count += int($batch.inputs.metadata.sequences)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
21 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
22 #elif $input.mapping == "merge"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
23 #for $batch in $input.batches:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
24 #for $dataset in $batch.inputs:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
25 #set sequence_count += int($dataset.metadata.sequences)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
26 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
27 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
28 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
29
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
30 ## For those cases in which MAFFT needs fasta3, set an env variable to make it
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
31 ## find the executable. Necessary because the current version of MAFFT still
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
32 ## expects a fasta34 executable in path, but we bundle a newer version.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
33 #if $flavour.type == "custom"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
34 #if $flavour.guidetree.guidetree_generation == "original"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
35 #if $flavour.guidetree.dist_flavour.distance_method == "--fastapair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
36 export FASTA_4_MAFFT=`which @FASTA3_EXEC@` &&
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
37 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
38 #elif $flavour.guidetree.guidetree_generation == "parttree"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
39 #if $flavour.guidetree.parttree_selection.parttree_option == "--fastaparttree"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
40 export FASTA_4_MAFFT=`which @FASTA3_EXEC@` &&
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
41 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
42 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
43 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
44
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
45 ## groupsize warning
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
46 #if $flavour.type == "custom"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
47 #if $flavour.guidetree.guidetree_generation == "parttree"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
48 #if $flavour.guidetree.parttree_selection.groupsize > $sequence_count
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
49 echo "WARNING = Chosen groupsize number larger than number of input sequences. Not recommended for MAFFT." &&
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
50 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
51 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
52 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
53
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
54 ## run MAFFT with predefined MSA flavours or custom settings
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
55 #if $flavour.type == "custom"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
56 mafft
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
57 #if $flavour.guidetree.guidetree_generation == "original"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
58 #if $flavour.guidetree.dist_flavour.distance_method == "--6merpair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
59 --6merpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
60 --retree $flavour.guidetree.dist_flavour.retree
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
61 #elif $flavour.guidetree.dist_flavour.distance_method == "--globalpair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
62 --globalpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
63 --weighti $flavour.guidetree.dist_flavour.weighti
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
64 #if $flavour.guidetree.dist_flavour.treat_unrelated_segments.unalignlevel > 0
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
65 --allowshift --unalignlevel $flavour.guidetree.dist_flavour.treat_unrelated_segments.unalignlevel
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
66 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
67 $flavour.guidetree.dist_flavour.treat_unrelated_segments.leavegappyregion
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
68 #elif $flavour.guidetree.dist_flavour.distance_method == "--localpair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
69 --localpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
70 --weighti $flavour.guidetree.dist_flavour.weighti
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
71 --lop $flavour.guidetree.dist_flavour.lop
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
72 --lep $flavour.guidetree.dist_flavour.lep
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
73 --lexp $flavour.guidetree.dist_flavour.lexp
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
74 #elif flavour.guidetree.dist_flavour.distance_method == "--genafpair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
75 --genafpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
76 --weighti $flavour.guidetree.dist_flavour.weighti
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
77 --lop $flavour.guidetree.dist_flavour.lop
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
78 --lep $flavour.guidetree.dist_flavour.lep
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
79 --lexp $flavour.guidetree.dist_flavour.lexp
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
80 --LOP $flavour.guidetree.dist_flavour.LOP
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
81 --LEXP $flavour.guidetree.dist_flavour.LEXP
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
82 #elif $flavour.guidetree.dist_flavour.distance_method == "--fastapair"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
83 --fastapair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
84 --weighti $flavour.guidetree.dist_flavour.weighti
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
85 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
86 #elif $flavour.guidetree.guidetree_generation == "parttree"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
87 $flavour.guidetree.parttree_selection.parttree_option
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
88 --retree $flavour.guidetree.parttree_selection.retree
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
89 --partsize $flavour.guidetree.parttree_selection.partsize
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
90 #if $flavour.guidetree.parttree_selection.groupsize != -1
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
91 --groupsize $flavour.guidetree.parttree_selection.groupsize
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
92 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
93 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
94 ## progressive alignment calculation
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
95 --maxiterate $flavour.progressive_alignment_calculation.maxiterate
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
96 $flavour.progressive_alignment_calculation.fft
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
97 $flavour.progressive_alignment_calculation.noscore
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
98 #else
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
99 $flavour.type
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
100 #if $flavour.type == "mafft-ginsi" or "--globalpair" in str($flavour.type)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
101 #if $flavour.treat_unrelated_segments.unalignlevel > 0
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
102 --allowshift --unalignlevel $flavour.treat_unrelated_segments.unalignlevel
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
103 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
104 $flavour.treat_unrelated_segments.leavegappyregion
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
105 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
106 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
107
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
108 ## handle scoring matrix
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
109 $datatype_selection.datatype
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
110 #if $datatype_selection.datatype != ""
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
111 #if $datatype_selection.scoring_matrix.type == "custom"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
112 --aamatrix '$datatype_selection.scoring_matrix.aamatrix'
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
113 #else
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
114 $datatype_selection.scoring_matrix.type $datatype_selection.scoring_matrix.coefficient
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
115 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
116 $datatype_selection.fmodel
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
117 ## gap penalties
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
118 #if $datatype_selection.gap_costs.use_defaults == "no"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
119 --ep $datatype_selection.gap_costs.ep --op $datatype_selection.gap_costs.op
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
120 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
121 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
122
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
123
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
124 ## output options
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
125 $reorder
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
126 $outputFormat
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
127 $treeout
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
128
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
129 ## specify threads to use
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
130 ## disable multithreading during iterative refinement step for reproducibility
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
131 ## cmp. https://mafft.cbrc.jp/alignment/software/multithreading.html
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
132 --thread \${GALAXY_SLOTS:-1} --threadit 0
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
133
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
134 input.fa > '$outputAlignment'
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
135
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
136 ## Output alignment tree
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
137 #if $treeout
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
138 && mv input.fa.tree '$outputTree'
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
139 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
140 ]]></command>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
141 <configfiles>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
142 <configfile filename="inputs.sh"><![CDATA[
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
143 #if $input.mapping == "implicit"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
144 #for $batch in $input.batches:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
145 cat $batch.inputs >> input.fa
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
146 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
147 #elif $input.mapping == "merge"
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
148 #for $batch in $input.batches:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
149 #for $dataset in $batch.inputs:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
150 cat $dataset >> input.fa
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
151 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
152 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
153 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
154 ]]></configfile>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
155 </configfiles>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
156 <inputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
157 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
158 <param name="mapping" type="select" label="For multiple inputs generate" help="All you have is a single dataset with the sequences to align? You can skip this help text and continue with the default setting. For multiple input datasets, the first mode will launch separate MAFFT jobs for all sequences from the first, second, ..., n-th dataset/element from each input batch, respectively, resulting in n separate MSAs. The second mode will concatenate all input sequences from all inputs for a single run of MAFFT and will generate a single MSA.">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
159 <option value="implicit">one or several MSAs depending on input structure</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
160 <option value="merge">a single MSA of all sequences from all inputs</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
161 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
162 <when value="implicit">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
163 <repeat name="batches" title="Input batch" default="1" min="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
164 <param name="inputs" type="data" format="fasta" label="Sequences to align" help="Amino acid or nucleotide sequences in FASTA format. Add Dataset for concatenation of every additional dataset with each file of the first upload panel"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
165 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
166 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
167 <when value="merge">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
168 <repeat name="batches" title="Input batch" default="1" min="1">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
169 <param name="inputs" type="data" format="fasta" label="Sequences to align" help="Amino acid or nucleotide sequences in FASTA format." multiple="true"/>
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
170 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
171 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
172 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
173 <conditional name="datatype_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
174 <param name="datatype" type="select" label="Type of sequences" help="The tool can try to detect the type of the input sequences, but you likely want to declare it explicitly. Doing so will also give you control over the scoring matrix used for the alignment, while autodetection will result in the Kimura PAM200 and the BLOSUM62 matrix being used for nucleic acids and protein alignments, respectively.">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
175 <option value="">auto-detect</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
176 <option value="--nuc">Nucleic acids</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
177 <option value="--amino">Amino acids</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
178 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
179 <when value="" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
180 <when value="--nuc">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
181 <conditional name="scoring_matrix">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
182 <param name="type" type="select" label="Type of scoring matrix" help="See the tool help below for details about the available options.">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
183 <option value="--kimura">Kimura</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
184 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
185 <when value="--kimura">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
186 <param name="coefficient" argument="--kimura" type="integer" min="1" value="200" label="PAM value of the matrix" />
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
187 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
188 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
189 <expand macro="misc_scoring_scheme" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
190 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
191 <when value="--amino">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
192 <conditional name="scoring_matrix">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
193 <param name="type" type="select" label="Type of scoring matrix" help="See the tool help below for details about the available options.">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
194 <option value="--bl" selected="true">BLOSUM</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
195 <option value="--jtt">JTT</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
196 <option value="--tm">transmembrane protein-optimized JTT</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
197 <option value="custom">custom matrix</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
198 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
199 <when value="--bl">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
200 <param name="coefficient" argument="--bl" type="select" label="Coefficient of the BLOSUM matrix" display="radio">
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
201 <option value="30">30</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
202 <option value="45">45</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
203 <option value="62" selected="true">62</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
204 <option value="80">80</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
205 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
206 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
207 <when value="--jtt">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
208 <param name="coefficient" argument="--jtt" type="integer" min="1" value="200" label="PAM value of the matrix" />
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
209 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
210 <when value="--tm">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
211 <param name="coefficient" argument="--tm" type="integer" min="1" value="200" label="PAM value of the matrix"/>
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
212 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
213 <when value="custom">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
214 <param argument="--aamatrix" type="data" format="txt" label="User-defined AA scoring matrix" help="The expected format of the matrix is the same as that used by BLAST."/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
215 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
216 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
217 <expand macro="misc_scoring_scheme" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
218 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
219 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
220 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
221 <param name="type" type="select" label="MAFFT flavour" help="Run mafft with pre-defined input parameters. Specification of these parameters can be found in the help section. With 'Auto', the tool automatically selects an appropriate strategy from L-INS-i, FFT-NS-i and FFT-NS-2, according to data size from few to many respectively. Default setting: FFT-NS-2.">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
222 <option value="mafft --auto">Auto</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
223 <option value="mafft-fftns --retree 1">FFT-NS-1 (very fast, progressive method; use for &gt;2,000 sequences)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
224 <option value="mafft-fftns" selected="true">FFT-NS-2 (fast, progressive method)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
225 <option value="mafft-nwns">NW-NS-2 (fast, progressive method without FFT approximation)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
226 <option value="mafft --retree 1 --maxiterate 0 --nofft --parttree">NW-NS-PartTree-1 (very fast, progressive method using the PartTree algorithm; for ~10,000 to ~50,000 sequences)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
227 <option value="mafft --maxiterate 0 --globalpair">G-INS-1 (slow, progressive method with an accurate guide tree)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
228 <option value="mafft-fftnsi">FFT-NS-i (slow, iterative refinement method)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
229 <option value="mafft-nwnsi">NW-NS-i (slow, iterative refinement method without FFT approximation)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
230 <option value="mafft-einsi">E-INS-i (very slow; use for &lt;200 sequences with multiple conserved domains and long gaps)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
231 <option value="mafft-linsi">L-INS-i (very slow; use for &lt;200 sequences with one conserved domain and long gaps)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
232 <option value="mafft-ginsi">G-INS-i (very slow; recommended for &lt;200 sequences with global homology)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
233 <option value="custom">Custom Parameters</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
234 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
235 <when value="mafft --auto"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
236 <when value="mafft-fftns --retree 1"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
237 <when value="mafft-fftns"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
238 <when value="mafft-nwns"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
239 <when value="mafft --retree 1 --maxiterate 0 --nofft --parttree"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
240 <when value="mafft --maxiterate 0 --globalpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
241 <expand macro="global_align_options"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
242 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
243 <when value="mafft-fftnsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
244 <when value="mafft-nwnsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
245 <when value="mafft-einsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
246 <when value="mafft-linsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
247 <when value="mafft-ginsi">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
248 <expand macro="global_align_options"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
249 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
250 <when value="custom">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
251 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
252 <param name="guidetree_generation" type="select" label="GuideTree-Generation" help="Parttree is recommended for a large number (> ~10,000) of sequences as input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
253 <option value="original">Original guidetree building method of MAFFT</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
254 <option value="parttree">Fast guidetree building method with PartTree-algorithm</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
255 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
256 <when value="original">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
257 <conditional name="dist_flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
258 <param name="distance_method" type="select" label="Distance method" help="Distance method must be chosen regarding your data">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
259 <option value="--6merpair" selected="true">Shared 6mers distance (fastest) (--6merpair)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
260 <option value="--globalpair">Global alignment (Needleman-Wunsch) (--globalpair)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
261 <option value="--localpair">Local alignment (Smith-Waterman) (--localpair)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
262 <option value="--genafpair">Local, affine gap cost (--genafpair)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
263 <option value="--fastapair">All pairwise alignments are computed with FASTA (--fastapair)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
264 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
265 <when value="--6merpair">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
266 <param argument="--retree" type="integer" min="1" max="3" value="2" label="Guide tree is build this number of times in the progressive stage."/>
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
267 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
268 <when value="--globalpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
269 <expand macro="global_align_options"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
270 <expand macro="weighti_param" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
271 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
272 <when value="--localpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
273 <expand macro="weighti_param" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
274 <param argument="--lop" type="float" value="-2.0" label="Gap opening penalty at local pairwise alignment" help="-2.00 default value"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
275 <param argument="--lep" type="float" value="0.1" label="Offset value at local pairwise alignment" help="0.1 default value"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
276 <param argument="--lexp" type="float" value="-0.1" label="Gap extension penalty at local pairwise alignment." help="-0.1 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
277 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
278 <when value="--genafpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
279 <expand macro="weighti_param" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
280 <param argument="--lop" type="float" value="-2.0" label="Gap opening penalty at local pairwise alignment" help="-2.00 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
281 <param argument="--lep" type="float" value="0.1" label="Offset value at local pairwise alignment" help="0.1 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
282 <param argument="--lexp" type="float" value="-0.1" label="Gap extension penalty at local pairwise alignment." help="-0.1 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
283 <param argument="--LOP" type="float" value="-6.00" label="Gap opening penalty to skip the alignment" help="-6.00 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
284 <param argument="--LEXP" type="float" value="0.00" label="Gap extension penalty to skip the alignment" help="0 default value" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
285 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
286 <when value="--fastapair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
287 <expand macro="weighti_param" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
288 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
289 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
290 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
291 <when value="parttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
292 <conditional name="parttree_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
293 <param name="parttree_option" type="select" label="Which distance for the fast tree-building method?">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
294 <option value="--parttree" selected="true">Fast tree-building method with the 6mer distance (--parttree)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
295 <option value="--fastaparttree">Distances based on FASTA (--fastaparttree)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
296 <option value="--dpparttree">Distances based on DP. (Needleman-Wunsch) (--dpparttree)</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
297 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
298 <when value="--parttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
299 <expand macro="parttree_parameters" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
300 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
301 <when value="--fastaparttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
302 <expand macro="parttree_parameters" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
303 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
304 <when value="--dpparttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
305 <expand macro="parttree_parameters" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
306 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
307 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
308 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
309 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
310 <section name="progressive_alignment_calculation" title="Progressive alignment calculation" expanded="true">
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
311 <param argument="--maxiterate" type="integer" min="0" max="1000" value="0" label="Maximum number of iterations" help="1000 for maximum quality" />
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
312 <param argument="--fft" type="boolean" truevalue="--fft" falsevalue="--nofft" checked="True" label="Use FFT approximation in group-to-group alignment?" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
313 <param argument="--noscore" type="boolean" truevalue="" falsevalue="--noscore" checked="True" label="Check alignment score in the iterative refinement stage?" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
314 </section>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
315 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
316 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
317 <param argument="--reorder" type="boolean" truevalue="--reorder" falsevalue="" checked="False" label="Reorder output?" help="Default order is input order." />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
318 <param argument="--treeout" type="boolean" truevalue="--treeout" falsevalue="" checked="False" label="Keep alignment tree as output?" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
319 <param name="outputFormat" type="select" label="Output format">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
320 <option value="" selected="true">FASTA</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
321 <option value="--clustalout">ClustalW</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
322 <option value="--phylipout">Phylip</option>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
323 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
324 </inputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
325 <outputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
326 <data format="fasta" name="outputAlignment" label="${tool.name} on ${on_string}">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
327 <change_format>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
328 <when input="outputFormat" value="--clustalout" format="clustal"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
329 <when input="outputFormat" value="--phylipout" format="phylip"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
330 </change_format>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
331 </data>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
332 <data name="outputTree" format="txt" label="${tool.name} Guide Tree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
333 <filter>treeout</filter>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
334 </data>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
335 </outputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
336 <tests>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
337 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
338 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
339 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
340 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
341 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
342 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
343 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
344 <output name="outputAlignment" ftype="fasta" file="mafft_default.aln"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
345 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
346 <!-- test autodetection of suitable algorithm from input; expected to choose L-INS-i -->
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
347 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
348 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
349 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
350 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
351 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
352 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
353 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
354 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
355 <param name="type" value="mafft --auto"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
356 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
357 <output name="outputAlignment" ftype="fasta" file="mafft_auto_linsi.aln"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
358 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
359 <!-- test explicit specification of L-INS-i mode -->
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
360 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
361 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
362 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
363 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
364 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
365 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
366 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
367 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
368 <param name="type" value="mafft-linsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
369 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
370 <output name="outputAlignment" ftype="fasta" file="mafft_auto_linsi.aln"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
371 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
372 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
373 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
374 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
375 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
376 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
377 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
378 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
379 <conditional name="datatype_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
380 <param name="datatype" value="--amino"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
381 <conditional name="scoring_matrix">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
382 <param name="type" value="--bl"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
383 <param name="coefficient" value="80"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
384 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
385 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
386 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
387 <param name="type" value="mafft-fftns"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
388 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
389 <param name="outputFormat" value="--clustalout"/>
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
390 <output name="outputAlignment" ftype="clustal" file="mafft_explicit_amino_blosum80.clustal.aln" lines_diff="2" />
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
391 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
392 <test expect_num_outputs="1" >
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
393 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
394 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
395 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
396 <param name="inputs" value="sample_nuc.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
397 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
398 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
399 <conditional name="datatype_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
400 <param name="datatype" value="--nuc"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
401 <conditional name="scoring_matrix">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
402 <param name="type" value="--kimura"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
403 <param name="coefficient" value="40"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
404 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
405 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
406 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
407 <param name="type" value="mafft-fftns"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
408 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
409 <param name="outputFormat" value="--phylipout"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
410 <output name="outputAlignment" ftype="phylip" file="mafft_kimura40.phylip.aln" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
411 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
412 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
413 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
414 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
415 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
416 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
417 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
418 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
419 <conditional name="datatype_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
420 <param name="datatype" value="--amino"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
421 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
422 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
423 <param name="type" value="custom"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
424 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
425 <param name="guidetree_generation" value="original"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
426 <conditional name="dist_flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
427 <param name="distance_method" value="--globalpair"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
428 <param name="weighti" value="3"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
429 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
430 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
431 <section name="progressive_alignment_calculation">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
432 <param name="maxiterate" value="1000"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
433 </section>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
434 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
435 <param name="outputFormat" value="--clustalout"/>
16
8e649f27aa0d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 3d98df472498e1273369d23822d10db14f337443
bgruening
parents: 15
diff changeset
436 <output name="outputAlignment" ftype="clustal" file="mafft_custom_original.clustal.aln" lines_diff="2">
15
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
437 </output>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
438 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
439 <test expect_num_outputs="1">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
440 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
441 <param name="mapping" value="implicit"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
442 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
443 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
444 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
445 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
446 <conditional name="datatype_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
447 <param name="datatype" value="--amino"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
448 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
449 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
450 <param name="type" value="custom"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
451 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
452 <param name="guidetree_generation" value="parttree"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
453 <conditional name="parttree_selection">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
454 <param name="parttree_option" value="--parttree"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
455 <param name="retree" value="2"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
456 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
457 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
458 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
459 <output name="outputAlignment" ftype="fasta" file="mafft_custom_parttree.aln" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
460 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
461 <!-- test concatenation of multiple inputs -->
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
462 <test expect_num_outputs="2">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
463 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
464 <param name="mapping" value="merge"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
465 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
466 <param name="inputs" value="sample_amino.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
467 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
468 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
469 <param name="inputs" value="sample_nuc.fa"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
470 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
471 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
472 <param name="treeout" value="true"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
473 <output name="outputAlignment" ftype="fasta">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
474 <metadata name="sequences" value="39"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
475 </output>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
476 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
477 </tests>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
478 <help><![CDATA[
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
479 **What it does**
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
480
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
481 MAFFT is a multiple sequence alignment (MSA) program, which offers a range of multiple alignment methods.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
482
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
483 Input types and alignment scoring matrices
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
484 ------------------------------------------
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
485
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
486 For the alignment of *protein* sequences, you can choose between:
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
487
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
488 - different flavors of BLOSUM matrices (`Henikoff S and Henikoff JG, 1992 <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC50453/>`__)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
489 - JTT matrices with any point accepted mutation (PAM) rate (`Jones, Taylor and Thornton, 1992 <https://pubmed.ncbi.nlm.nih.gov/1633570/>`__)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
490 - PAM-based matrices optimized for transmembrane proteins (`Jones, Taylor and Thornton, 1994 <https://pubmed.ncbi.nlm.nih.gov/8112466/>`__)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
491
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
492 For nucleic acid sequence alignment, MAFFT uses Kimura's two parameter model (`Kimura 1980 <https://pubmed.ncbi.nlm.nih.gov/7463489/>`__)
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
493 with a transitions to transversions ratio of 2 (kappa 2), but lets you configure the PAM value.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
494
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
495 The tool can also try to autodetect the sequence type from the input(s).
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
496 In this mode, it will use the BLOSUM 62 matrix if it detects amino acids input, and the Kimura kappa 2 PAM200 matrix for nucleic acids.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
497
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
498
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
499 Pre-configured MSA methods
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
500 --------------------------
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
501
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
502 From the `MAFFT man page <https://mafft.cbrc.jp/alignment/software/manual/manual.html>`__, an overview of the different predefined flavours of the tool.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
503
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
504 **Accuracy-oriented methods:**
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
505
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
506 - *L-INS-i* (probably most accurate; recommended for <200 sequences; iterative refinement method incorporating local pairwise alignment information):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
507
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
508 - mafft --localpair --maxiterate 1000 input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
509 - *G-INS-i* (suitable for sequences of similar lengths; recommended for <200 sequences; iterative refinement method incorporating global pairwise alignment information):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
510
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
511 - mafft --globalpair --maxiterate 1000 input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
512 - *E-INS-i* (suitable for sequences containing large unalignable regions; recommended for <200 sequences):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
513
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
514 - mafft --ep 0 --genafpair --maxiterate 1000 input [> output]. For E-INS-i, the --ep 0 option is recommended to allow large gaps.
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
515
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
516 **Speed-oriented methods:**
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
517
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
518 - *FFT-NS-i* (iterative refinement method; two cycles only):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
519
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
520 - mafft --retree 2 --maxiterate 2 input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
521 - *FFT-NS-2* (fast; progressive method):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
522
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
523 - mafft --retree 2 --maxiterate 0 input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
524 - *NW-NS-i* (iterative refinement method without FFT approximation; two cycles only):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
525
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
526 - mafft --retree 2 --maxiterate 2 --nofft input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
527 - *NW-NS-2* (fast; progressive method without the FFT approximation):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
528
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
529 - mafft --retree 2 --maxiterate 0 --nofft input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
530 - *NW-NS-PartTree-1* (recommended for ~10,000 to ~50,000 sequences; progressive method with the PartTree algorithm):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
531
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
532 - mafft --retree 1 --maxiterate 0 --nofft --parttree input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
533 - *FFT-NS-1* (very fast; recommended for >2000 sequences; progressive method with a rough guide tree):
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
534
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
535 - mafft --retree 1 --maxiterate 0 input [> output]
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
536 ]]></help>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
537 <expand macro="citations" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
538 </tool>