comparison muscle.xml @ 0:38a28f5f9449 default tip

Uploaded
author edward-kirton
date Thu, 14 Jul 2011 22:10:56 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:38a28f5f9449
1 <tool id="muscle" name="Muscle" version="1.0.0">
2 <description>Multiple sequence alignment</description>
3 <command>muscle
4 -quiet
5 #if $input.select == '1':
6 -in $input.file
7 #else:
8 -profile
9 -in1 $input.file1
10 -in2 $input.file2
11 #end if
12 #if $usetree.select == 'yes':
13 -usetree_nowarn $usetree.file
14 #end if
15 $refine
16 -out $output
17 $diags
18 -maxiters $maxiters
19 -maxhours $maxhours
20 #if $advanced.select == 'yes':
21 -maxtrees $advanced.maxtrees
22 -anchorspacing $advanced.anchorspacing
23 -diagbreak $advanced.diagbreak
24 -diaglength $advanced.diaglength
25 -diagmargin $advanced.diagmargin
26 -smoothwindow $advanced.smoothwindow
27 $advanced.brenner
28 $advanced.dimer
29 #end if
30 </command>
31 <inputs>
32 <conditional name="input">
33 <param name="select" type="select" label="Mode">
34 <option value="1" selected="true">Single file</option>
35 <option value="2">Profile-profile alignment</option>
36 </param>
37 <when value="1">
38 <param name="file" type="data" format="fasta" label="Unaligned sequences" />
39 </when>
40 <when value="2">
41 <param name="file1" type="data" format="fasta" label="Aligned sequences #1" />
42 <param name="file2" type="data" format="fasta" label="Aligned sequences #2" />
43 </when>
44 </conditional>
45 <conditional name="usetree">
46 <param name="select" type="select" label="Use guide tree" help="NB: The best guide tree for multiple alignment is not in general the correct evolutionary tree">
47 <option value="no" selected="True">No</option>
48 <option value="yes">Yes</option>
49 </param>
50 <when value="no">
51 <param name="file" type="hidden" value="" />
52 </when>
53 <when value="yes">
54 <param name="file" type="data" format="phylip" label="Guide tree in Newick/Phylip format" />
55 </when>
56 </conditional>
57 <param name="refine" type="boolean" truevalue="-refine" falsevalue="" label="Refine an existing alignment" />
58 <param name="diags" type="boolean" truevalue="-diags" falsevalue="" label="Find diagonals" help="Faster for similar sequences" />
59 <param name="maxiters" label="Maximum number of iterations" type="integer" value="16" help="Use small number for very large files (as low as 1 or 2)." />
60 <param name="maxhours" label="Maximum hours" type="float" value="24.0" help="If this time is exceeded, muscle will write out current alignment and stop." />
61 <conditional name="advanced">
62 <param name="select" type="select" label="Show advanced options">
63 <option value="no" selected="True">No</option>
64 <option value="yes">Yes</option>
65 </param>
66 <when value="no">
67 </when>
68 <when value="yes">
69 <param name="maxtrees" label="Maximum number of new trees to create in iteration 2" type="integer" value="1" />
70 <param name="anchorspacing" label="Minimum spacing between anchor columns" type="integer" value="32" />
71 <param name="diagbreak" label="Maximum distance between two diagonals that allows them to merge into one diagonal" type="integer" value="1" />
72 <param name="diaglength" label="Minimum length of diagonal" type="integer" value="24" />
73 <param name="diagmargin" label="Discard this many positions at ends of diagonal" type="integer" value="5" />
74 <param name="smoothwindow" label="Window used for anchor column smoothing" type="integer" value="7" />
75 <!-- flags -->
76 <param name="brenner" label="Use Steven Brenner's method for computing the root alignment" type="boolean" truevalue="-brenner" falsevalue="" selected="false" />
77 <param name="dimer" label="Use dimer approximation for the SP score" help="Faster, slightly less accurate" type="boolean" truevalue="-dimer" falsevalue="" selected="false" />
78 </when>
79 </conditional>
80 </inputs>
81 <outputs>
82 <data format="fasta" name="output" />
83 </outputs>
84 <help>
85 **What it does**
86
87 Perform multiple sequence alignment.
88
89 **Documentation**
90
91 http://www.drive5.com/muscle/muscle_userguide3.8.pdf
92
93 **Author**
94
95 Robert C. Edgar
96
97 **Citation**
98
99 Edgar, R.C. Nucleic Acids Res 32(5), 1792-97.
100
101 </help>
102 </tool>