annotate mafft.xml @ 15:bf28a8cff401 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
author bgruening
date Wed, 20 Mar 2024 07:34:52 +0000
parents 6f28e90db932
children 8e649f27aa0d
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" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
9 <stdio>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
10 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
11 <exit_code range=":-1" level="fatal" description="Error occurred. Please check Tool Standard Error" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
12 </stdio>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
13 <version_command><![CDATA[mafft --version]]></version_command>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
14 <command><![CDATA[
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
15 ## 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
16 bash inputs.sh &&
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
17
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
18 ## 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
19 ## 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
20 ## 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
21 #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
22 #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
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 #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
25 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
26 #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
27 #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
28 #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
29 #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
30 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
31 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
32 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
33
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
34 ## 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
35 ## 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
36 ## 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
37 #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
38 #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
39 #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
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 #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
43 #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
44 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
45 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
46 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
47 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
48
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
49 ## groupsize warning
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
50 #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
51 #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
52 #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
53 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
54 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
55 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
56 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
57
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
58 ## 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
59 #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
60 mafft
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
61 #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
62 #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
63 --6merpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
64 --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
65 #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
66 --globalpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
67 --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
68 #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
69 --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
70 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
71 $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
72 #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
73 --localpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
74 --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
75 --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
76 --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
77 --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
78 #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
79 --genafpair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
80 --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
81 --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
82 --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
83 --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
84 --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
85 --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
86 #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
87 --fastapair
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
88 --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
89 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
90 #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
91 $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
92 --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
93 --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
94 #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
95 --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
96 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
97 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
98 ## progressive alignment calculation
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
99 --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
100 $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
101 $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
102 #else
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
103 $flavour.type
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
104 #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
105 #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
106 --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
107 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
108 $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
109 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
110 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
111
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
112 ## handle scoring matrix
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
113 $datatype_selection.datatype
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
114 #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
115 #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
116 --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
117 #else
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
118 $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
119 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
120 $datatype_selection.fmodel
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
121 ## gap penalties
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
122 #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
123 --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
124 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
125 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
126
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
127
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
128 ## output options
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
129 $reorder
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
130 $outputFormat
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
131 $treeout
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
132
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
133 ## 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
134 ## 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
135 ## 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
136 --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
137
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
138 input.fa > '$outputAlignment'
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
139
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
140 ## Output alignment tree
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
141 #if $treeout
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
142 && 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
143 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
144 ]]></command>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
145 <configfiles>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
146 <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
147 #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
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 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
150 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
151 #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
152 #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
153 #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
154 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
155 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
156 #end for
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
157 #end if
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
158 ]]></configfile>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
159 </configfiles>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
160 <inputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
161 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
162 <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
163 <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
164 <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
165 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
166 <when value="implicit">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
167 <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
168 <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
169 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
170 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
171 <when value="merge">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
172 <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
173 <param name="inputs" multiple="true" type="data" format="fasta" label="Sequences to align" help="Amino acid or nucleotide sequences in FASTA format."/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
174 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
175 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
176 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
177 <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
178 <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
179 <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
180 <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
181 <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
182 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
183 <when value="" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
184 <when value="--nuc">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
185 <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
186 <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
187 <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
188 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
189 <when value="--kimura">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
190 <param argument="--kimura" name="coefficient" type="integer" value="200" min="1" label="PAM value of the matrix" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
191 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
192 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
193 <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
194 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
195 <when value="--amino">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
196 <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
197 <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
198 <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
199 <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
200 <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
201 <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
202 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
203 <when value="--bl">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
204 <param argument="--bl" name="coefficient" type="select" display="radio" label="Coefficient of the BLOSUM matrix">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
205 <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
206 <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
207 <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
208 <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
209 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
210 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
211 <when value="--jtt">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
212 <param argument="--jtt" name="coefficient" type="integer" value="200" min="1" label="PAM value of the matrix" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
213 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
214 <when value="--tm">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
215 <param argument="--tm" name="coefficient" type="integer" value="200" min="1" label="PAM value of the matrix"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
216 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
217 <when value="custom">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
218 <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
219 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
220 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
221 <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
222 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
223 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
224 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
225 <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
226 <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
227 <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
228 <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
229 <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
230 <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
231 <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
232 <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
233 <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
234 <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
235 <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
236 <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
237 <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
238 </param>
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 --auto"/>
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-fftns --retree 1"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
241 <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
242 <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
243 <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
244 <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
245 <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
246 </when>
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-fftnsi"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
248 <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
249 <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
250 <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
251 <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
252 <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
253 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
254 <when value="custom">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
255 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
256 <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
257 <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
258 <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
259 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
260 <when value="original">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
261 <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
262 <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
263 <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
264 <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
265 <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
266 <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
267 <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
268 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
269 <when value="--6merpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
270 <param argument="--retree" type="integer" value="2" min="1" max="3" label="Guide tree is build this number of times in the progressive stage."/>
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="--globalpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
273 <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
274 <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
275 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
276 <when value="--localpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
277 <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
278 <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
279 <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
280 <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
281 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
282 <when value="--genafpair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
283 <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
284 <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
285 <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
286 <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
287 <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
288 <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
289 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
290 <when value="--fastapair">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
291 <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
292 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
293 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
294 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
295 <when value="parttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
296 <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
297 <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
298 <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
299 <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
300 <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
301 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
302 <when value="--parttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
303 <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
304 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
305 <when value="--fastaparttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
306 <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
307 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
308 <when value="--dpparttree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
309 <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
310 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
311 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
312 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
313 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
314 <section name="progressive_alignment_calculation" title="Progressive alignment calculation" expanded="true">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
315 <param argument="--maxiterate" type="integer" value="0" min="0" max="1000" label="Maximum number of iterations" help="1000 for maximum quality" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
316 <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
317 <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
318 </section>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
319 </when>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
320 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
321 <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
322 <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
323 <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
324 <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
325 <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
326 <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
327 </param>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
328 </inputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
329 <outputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
330 <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
331 <change_format>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
332 <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
333 <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
334 </change_format>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
335 </data>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
336 <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
337 <filter>treeout</filter>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
338 </data>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
339 </outputs>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
340 <tests>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
341 <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
342 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
343 <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
344 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
345 <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
346 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
347 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
348 <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
349 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
350 <!-- 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
351 <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
352 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
353 <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
354 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
355 <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
356 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
357 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
358 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
359 <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
360 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
361 <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
362 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
363 <!-- 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
364 <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
365 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
366 <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
367 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
368 <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
369 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
370 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
371 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
372 <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
373 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
374 <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
375 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
376 <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
377 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
378 <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
379 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
380 <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
381 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
382 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
383 <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
384 <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
385 <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
386 <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
387 <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
388 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
389 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
390 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
391 <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
392 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
393 <param name="outputFormat" value="--clustalout"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
394 <output name="outputAlignment" ftype="clustal" file="mafft_explicit_amino_blosum80.clustal.aln" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
395 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
396 <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
397 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
398 <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
399 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
400 <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
401 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
402 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
403 <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
404 <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
405 <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
406 <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
407 <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
408 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
409 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
410 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
411 <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
412 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
413 <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
414 <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
415 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
416 <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
417 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
418 <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
419 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
420 <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
421 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
422 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
423 <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
424 <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
425 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
426 <conditional name="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="type" value="custom"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
428 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
429 <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
430 <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
431 <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
432 <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
433 </conditional>
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 <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
436 <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
437 </section>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
438 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
439 <param name="outputFormat" value="--clustalout"/>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
440 <output name="outputAlignment" ftype="clustal" file="mafft_custom_original.clustal.aln">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
441 </output>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
442 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
443 <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
444 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
445 <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
446 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
447 <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
448 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
449 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
450 <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
451 <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
452 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
453 <conditional name="flavour">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
454 <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
455 <conditional name="guidetree">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
456 <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
457 <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
458 <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
459 <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
460 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
461 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
462 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
463 <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
464 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
465 <!-- 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
466 <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
467 <conditional name="input">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
468 <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
469 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
470 <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
471 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
472 <repeat name="batches">
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
473 <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
474 </repeat>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
475 </conditional>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
476 <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
477 <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
478 <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
479 </output>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
480 </test>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
481 </tests>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
482 <help><![CDATA[
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
483 **What it does**
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 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
486
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
487 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
488 ------------------------------------------
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
489
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
490 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
491
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
492 - 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
493 - 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
494 - 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
495
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
496 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
497 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
498
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
499 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
500 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
501
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
502
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
503 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
504 --------------------------
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 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
507
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
508 **Accuracy-oriented methods:**
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
509
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
510 - *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
511
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
512 - 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
513 - *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
514
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
515 - 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
516 - *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
517
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
518 - 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
519
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
520 **Speed-oriented methods:**
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
521
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
522 - *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
523
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
524 - 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
525 - *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
526
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
527 - 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
528 - *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
529
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
530 - 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
531 - *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
532
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
533 - 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
534 - *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
535
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
536 - 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
537 - *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
538
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
539 - 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
540 ]]></help>
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
541 <expand macro="citations" />
bf28a8cff401 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/mafft commit 2f6456c314c010fd73f5eeaf809a9afce47353af
bgruening
parents: 14
diff changeset
542 </tool>