4
|
1 <tool id="fastme" name="FastME" version="2.1.4.2">
|
|
2 <description>Distance-based inference of phylogenetic trees</description>
|
2
|
3 <requirements>
|
4
|
4 <requirement type="package" version="2.1.4">fastme</requirement>
|
2
|
5 </requirements>
|
4
|
6 <version_command>
|
|
7 <![CDATA[ fastme --version ]]>
|
|
8 </version_command>
|
2
|
9 <stdio>
|
|
10 <exit_code range="1:" level="fatal" />
|
|
11 </stdio>
|
4
|
12 <command>fastme --input_data=$input
|
|
13 --output_tree=$outputTree
|
|
14 --output_matrix=$outputMatrix
|
|
15 --output_info=$outputLog
|
|
16 --nb_threads=\${GALAXY_SLOTS:-1}
|
2
|
17
|
4
|
18 #if $typeChoice.datatype =="d"
|
|
19 --dna=$typeChoice.modeldna
|
|
20
|
|
21 #else if $typeChoice.datatype =="p"
|
|
22 --protein=$typeChoice.modelprot
|
|
23
|
|
24 #else if $typeChoice.datatype =="cfg":
|
|
25 ## Read information of sequence type
|
|
26 ## read an info file to choose which option set and set a model by default
|
|
27 #set $info = open( str($input_info) ).read()
|
|
28 #if 'dna' in $info:
|
|
29 --dna=T
|
|
30 #else if 'protein' in $info:
|
|
31 --protein=L
|
|
32 #end if
|
|
33 #end if
|
|
34
|
|
35 #if $gammaChoice.gamma == "true"
|
|
36 --gamma=$gammaChoice.rate
|
|
37 #end if
|
|
38
|
|
39 $distance
|
|
40 $equilibrium
|
|
41 $removeGap
|
|
42 $treeRefinement
|
|
43
|
|
44 #if $bootChoice.boot == "true"
|
|
45 --output_boot=$outputBoostrap
|
|
46 --bootstrap=$bootChoice.replicates
|
|
47 #end if
|
|
48
|
|
49 >> tmp_stdout;
|
|
50 cat tmp_stdout > $outputLog;
|
2
|
51
|
|
52 </command>
|
|
53 <inputs>
|
4
|
54 <param name="input" type="data" format="phylip, phy" label="Fastme input" help="Phylip Alignment or Matrix file"/>
|
|
55 <param name="fileout_label" type="text" value="Newick tree" label="Output name" help="Output name for files" />
|
|
56 <conditional name="typeChoice">
|
|
57 <param name="datatype" type="select" display="radio" label="Data type" >
|
|
58 <option value="d">DNA</option>
|
|
59 <option value="p">Protein</option>
|
|
60 <option value="m">Matrix</option>
|
|
61 <option value="cfg">Config file</option>
|
|
62 </param>
|
|
63 <when value="d">
|
|
64 <param name="modeldna" type="select" label="Evolutionary model">
|
|
65 <option value="4">F84</option>
|
|
66 <option value="R">RY</option>
|
|
67 <option value="1">F81</option>
|
|
68 <option value="J">JC69</option>
|
|
69 <option value="K">K2P</option>
|
|
70 <option value="T" selected="true">TN93</option>
|
|
71 <option value="p">p-distance</option>
|
|
72 </param>
|
|
73 </when>
|
|
74 <when value="p">
|
|
75 <param name="modelprot" type="select" label="Evolutionary model">
|
|
76 <option value="L">LG</option>
|
|
77 <option value="W">WAG</option>
|
|
78 <option value="J">JTT</option>
|
|
79 <option value="h">Day off</option>
|
|
80 <option value="C">CpRev</option>
|
|
81 <option value="D">DCMut</option>
|
|
82 <option value="b">HIVb</option>
|
|
83 <option value="I">HIVw</option>
|
|
84 <option value="M">MtREV</option>
|
|
85 <option value="R">RtREV</option>
|
|
86 <option value="p">p-distance</option>
|
|
87 </param>
|
|
88 </when>
|
|
89 <when value="m"/>
|
|
90 <when value="cfg">
|
|
91 <param name="input_info" format="txt" type="data" multiple="false" label="Config file" help="Precompute file containning sequence description (dna or protein)"/>
|
|
92 </when>
|
|
93 </conditional>
|
|
94 <param name="equilibrium" type="boolean" label="Equilibrium frequencies" truevalue="--equilibrium" falsevalue="" help="By default, frequencies are globally counted from the nucleotides alignment or defined by the proteic substitution model. By checking the box, frequencies are pairwise estimated by counting the nucleotides or estimated by counting the amino-acids in the alignment."/>
|
|
95 <conditional name="gammaChoice">
|
|
96 <param name="gamma" type="select" label="Gamma distributed rates across sites">
|
|
97 <option value="true">Yes</option>
|
|
98 <option value="false">No</option>
|
|
99 </param>
|
|
100 <when value="true">
|
|
101 <param name="rate" type="float" label="Gamma distribution parameter" value="1" min="0"/>
|
|
102 </when>
|
|
103 <when value="false" />
|
|
104 </conditional>
|
|
105 <param name="removeGap" type="select" display="radio" label="Remove gap strategy">
|
|
106 <option value="">Pairwise deletion of gaps</option>
|
|
107 <option value="--remove_gap">Remove all sites with gap</option>
|
2
|
108 </param>
|
4
|
109 <param name="distance" type="select" label="Distance algorithm">
|
|
110 <option value="--method=I">BIONJ</option>
|
|
111 <option value="--method=B --branch_length=B">TaxAdd BalME</option>
|
|
112 <option value="--method=O --branch_length=O">TaxAdd OLSME</option>
|
|
113 <option value="--method=N">NJ</option>
|
|
114 <option value="--method=U">UNJ</option>
|
|
115 </param>
|
|
116 <param name="treeRefinement" type="select" display="radio" label="Tree Refinement" help='(NNI) Nearest Neighbor Interchanges,(SPR) Subtree Pruning and Regrafting '>
|
|
117 <option value="">None</option>
|
|
118 <option value="--nni=O">OLS NNI</option>
|
|
119 <option value="--nni=B">BalME NNI</option>
|
|
120 <option value="--spr" selected="true">BalME SPR</option>
|
|
121 <option value="--nni=B --spr">BalME NNI + SPR</option>
|
2
|
122 </param>
|
4
|
123 <conditional name="bootChoice">
|
|
124 <param name="boot" type="select" label="Bootstrap">
|
|
125 <option value="false">No</option>
|
|
126 <option value="true">Yes</option>
|
|
127 </param>
|
|
128 <when value="false"/>
|
|
129 <when value="true">
|
|
130 <param name="replicates" type="integer" value="1000" label="Number of replicates"/>
|
|
131 </when>
|
|
132 </conditional>
|
|
133 </inputs>
|
2
|
134 <outputs>
|
4
|
135 <data name="outputTree" format="nwk" label="${fileout_label}"/>
|
|
136 <data name="outputLog" format="txt" label="FastME Information"/>
|
|
137 <data name="outputBoostrap" format="nwk" label="FastME Bootstrap trees">
|
|
138 <filter>bootChoice['boot'] == "true"</filter>
|
|
139 </data>
|
|
140 <data name="outputMatrix" format="txt" label="FastME Distance matrix"/>
|
2
|
141 </outputs>
|
|
142 <tests>
|
|
143 <test>
|
4
|
144 <param name="input" value="phylip" />
|
|
145 <param name="modeldna" value="4"/>
|
|
146 <param name="gamma" value="false"/>
|
|
147 <param name="treeRefinement" value=""/>
|
|
148 <param name="distance" value="--method=I"/>
|
|
149 <output name="outputTree" file="newick" />
|
2
|
150 </test>
|
|
151 <test>
|
4
|
152 <param name="input" value="phylip" />
|
|
153 <param name="modeldna" value="T"/>
|
|
154 <param name="distance" value="--method=I"/>
|
|
155 <param name="treeRefinement" value="--nni=B --spr"/>
|
|
156 <param name="fileout_label" value="TreeTn93BionjSpr.nwk" />
|
|
157 <output name="outputTree" file="TreeTn93BionjSpr.nwk" />
|
2
|
158 </test>
|
|
159 </tests>
|
|
160 <help>
|
|
161
|
|
162 .. class:: infomark
|
|
163
|
|
164
|
4
|
165 **FastME version 2.1.4**
|
2
|
166
|
|
167
|
|
168 .. class:: infomark
|
|
169
|
|
170
|
4
|
171 **Galaxy integration** Andres Gwendoline, Institut Français de Bioinformatique. Correia Damien, CNRS.
|
|
172 **Support** For any questions about Galaxy integration, please send an e-mail to vincent.lefort@lirmm.fr
|
2
|
173
|
|
174
|
4
|
175 -----
|
|
176
|
|
177
|
|
178 ############
|
|
179 FastME 2.0
|
|
180 ############
|
|
181
|
|
182 Comprehensive, accurate and fast distance-based phylogeny inference program
|
|
183
|
2
|
184
|
|
185 -----------
|
|
186 Description
|
|
187 -----------
|
|
188
|
4
|
189 FastME provides distance algorithms to infer phylogenies. It's based on balanced minimum evolution, which is the very principle of NJ.
|
2
|
190
|
4
|
191 FastME included Nearest Neighbor Interchange (NNI) and also Subtree Pruning and Regrafting (SPR), while remaining as fast as NJ and providing a number of facilities: distance estimation for DNA and proteins with various models and options, bootstrapping, and parallel computations.
|
2
|
192
|
|
193 ------------
|
|
194 Dependencies
|
|
195 ------------
|
|
196 FastME
|
4
|
197 http://www.atgc-montpellier.fr/fastme
|
|
198
|
2
|
199
|
|
200
|
|
201 ---------------------------------------------------
|
|
202
|
|
203 ---------------
|
|
204 Working example
|
|
205 ---------------
|
|
206
|
|
207 Input files
|
|
208 ===========
|
|
209
|
4
|
210 **Phylip file**::
|
|
211
|
2
|
212
|
4
|
213 4 120
|
|
214 Orangutan CCAAACGACA TTTCATATGC TGTCATTTCT GAAGATATGA GACAAGTGAG CTGTCCGGAA
|
|
215 Gorilla CCAAACAACA TTTCATGTGC TGTCATTTCT GAAGATATGA GACAAGTGAG CTCTCCGAAA
|
|
216 Human CCAAACAACA TTTCATGTGC TGTCATTTCT GAAGATAAGA GACAAGTGAG CTCTCCGAAA
|
|
217 Chimp CCAAACAACA TTTCATGTGC TGTCATTTCT GAAGATATGA GACAAGTGAG CTCTCCGAAA
|
2
|
218
|
4
|
219 CCAACATATC AGACATATGT GAATTTCAAT TATTGTACGG GCATCCTGGG CTCTCAAAGT
|
|
220 CCAAGATATC AGACATTTAT GAATTTCAAT TATTGTACGG GCATCCTGGG CTCTCAAAGT
|
|
221 CCAAGATACC AGACATTTGT GAATTTCAAT TATTGTACTG GCATCCTGGG CTCTCAAAGT
|
|
222 CCAAGATATC AGACATTTAT GAATTTCAAT TATTGTACTG GCATCCTGGG CTCTCAAAGT
|
|
223
|
|
224
|
2
|
225
|
|
226 Parameters
|
|
227 ==========
|
|
228
|
4
|
229 ::
|
2
|
230
|
4
|
231 Output name: Newick tree
|
|
232 Evolutionary model : TN93
|
|
233 Distance method : BIONJ
|
2
|
234
|
|
235
|
|
236 Output files
|
|
237 ============
|
|
238
|
4
|
239 **Newick tree**::
|
|
240
|
|
241 ((Gorilla:0.005755,Orangutan:0.020680):0.001063,Human:0.006655,Chimp:0.002132);
|
|
242
|
|
243 -----
|
|
244
|
|
245 OPTIONS
|
|
246 =======
|
|
247
|
|
248
|
|
249 -i file, --input_data=file
|
|
250 The input data file contains sequence alignment(s) or a distance matrix(ces).
|
|
251
|
|
252 -u input_tree_file, --user_tree=input_tree_file
|
|
253 FastME may use an existing topology available in the input user tree file which corresponds to the input dataset.
|
|
254
|
|
255 -o output_tree_file, --output_tree=output_tree_file
|
|
256 FastME will write the infered tree into the output tree file.
|
|
257
|
|
258 -O output_matrix_file, --output_matrix=output_matrix_file
|
|
259 Use output matrix file option if you want FastME to write the distances
|
|
260 matrix computed from the input alignment in the output matrix file.
|
|
261
|
|
262 -I output_information_file, --output_info=output_information_file
|
|
263 Use this option if you want FastME to write information
|
|
264 about its execution in the output information file.
|
|
265
|
|
266 -B output_bootstrap_trees_file, --output_boot=output_bootstrap_trees_file
|
|
267 Use this option if you want FastME to write bootstrap trees
|
|
268 in the bootstrap trees file.
|
|
269
|
|
270 -a, --append
|
|
271 Use this option to append results to existing output files (if any).
|
|
272 By default output files will be overwritten.
|
|
273
|
|
274 -m method, --method=method
|
|
275 FastME computes a tree using a distance algorithm.
|
|
276 You may choose this method from:
|
|
277 TaxAdd_(B)alME, TaxAdd_(O)LSME, B(I)ONJ (default),
|
|
278 (N)J or (U)NJ.
|
|
279
|
|
280 -d model, --dna=model
|
|
281 Use this option if your input data file contains DNA sequences alignment(s).
|
|
282 You may also indicate the evolutionary [model] which can be choosen from:
|
|
283 (p)-distance, R(Y) symmetric, (R)Y, (J)C69, (K)2P, F8(1), F8(4) (default), (T)N93, (L)ogDet.
|
|
284
|
|
285 -p model, --protein=model
|
|
286 Use this option if your input data file contains protein sequences alignment(s).
|
|
287 You may also indicate the evolutionary [model] which can be choosen from:
|
|
288 (p)-distance, (F)81 like, (L)G (default), (W)AG, (J)TT, Day(h)off, (D)CMut, (C)pRev,
|
|
289 (M)tREV, (R)tREV, HIV(b), H(I)Vw or FL(U).
|
|
290
|
|
291 -r, --remove_gap
|
|
292 Use this option to completely remove any site which has a gap in
|
|
293 any sequence. By default, FastME is doing pairwise deletion of gaps.
|
2
|
294
|
4
|
295 -e, --equilibrium
|
|
296 The equilibrium frequencies for DNA are always estimated by counting
|
|
297 the occurence of the nucleotides in the input alignment.
|
|
298 For amino-acid sequences, the equilibrium frequencies are estimated
|
|
299 using the frequencies defined by the substitution model.
|
|
300 Use this option if you whish to estimate the amino-acid frequencies
|
|
301 by counting their occurence in the input alignment.
|
|
302
|
|
303 -g alpha, --gamma=alpha
|
|
304 Use this option if you wish to have gamma distributed rates across sites.
|
|
305 By default, FastME runs with no gamma variation.
|
|
306 If running FastME with gamma distributed rates across sites, the [alpha] default value is 1.0.
|
|
307 Only helpful when the input data file contains sequences alignment(s).
|
|
308
|
|
309 -n NNI, --nni=NNI
|
|
310 Use this option to do [NNI] tree topology improvement.
|
|
311 You may choose the [NNI] type from:
|
|
312 NNI_(B)alME (default) or NNI_(O)LS.
|
|
313
|
|
314 -s, --spr
|
|
315 Use this option to do SPR tree topology improvement.
|
|
316
|
|
317 -w branch, --branch_length=branch
|
|
318 Use this option to indicate the branch length to assign to the tree.
|
|
319 Only helpful when not improving the tree topology (no NNI nor SPR).
|
|
320 You may choose the branch length from:
|
|
321 (B)alLS (default), (O)LS or (n)one. (n)one is only available with BIONJ, NJ or UNJ.
|
2
|
322
|
4
|
323 -D datasets, --datasets=datasets
|
|
324 Use this option to indicate the number of datasets in your input
|
|
325 data file. Default value is 1.
|
|
326
|
|
327 -b replicates, --bootstrap=replicates
|
|
328 Use this option to indicate the number of replicates FastME will
|
|
329 do for bootstrapping. Default value is 0.
|
|
330 Only helpful when the input data file contains sequences alignment(s).
|
|
331
|
|
332 -z seed, --seed=seed
|
|
333 Use this option to initialize randomization with seed value. Only helpful when bootstrapping.
|
|
334
|
|
335 -c Use this option if you want FastME only to compute distance matrix.
|
|
336 Only helpful when the input data file contains sequences alignment(s).
|
|
337
|
|
338 -T number_of_threads, --nb_threads=number_of_threads
|
|
339 Use this option to set the number of threads to use.
|
|
340 Default number of threads is 4.
|
|
341
|
|
342 -v value, --verbose=value
|
|
343 Sets the verbose level to value [0-3]. Default value is 0
|
|
344
|
|
345 -V, --version
|
|
346 Prints the FastME version.
|
|
347
|
|
348 -h, --help Display this usage.
|
|
349
|
|
350
|
|
351 For further informations, please visite FastME_
|
|
352
|
|
353 .. _FastME: http://www.atgc-montpellier.fr/fastme/usersguide.php
|
2
|
354
|
|
355 </help>
|
|
356 <citations>
|
4
|
357 <citation type="doi">10.1093/molbev/msv150</citation>
|
|
358 <citation type="doi">10.1089/106652702761034136</citation>
|
2
|
359 </citations>
|
4
|
360 </tool> |