Mercurial > repos > malex > garli
annotate garli.xml @ 2:681e9bb51cc4 draft default tip
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
author | malex |
---|---|
date | Thu, 05 Jul 2012 17:18:52 -0400 |
parents | 4025ba8b84d6 |
children |
rev | line source |
---|---|
0 | 1 <tool id="Garli" name="Garli" version="2.0" force_history_refresh="True"> |
2 <description> phylogenetic inference using the maximum-likelihood</description> | |
3 ## The command is a Cheetah template which allows some Python based syntax. | |
4 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces | |
5 ## Arguments to the wrapper beyond the config file are just for Galaxy's benefit - all filenames are hardcoded | |
6 <command interpreter="python">garli_wrapper.py $garli_conf $best_all_tre $best_tre $log00_log $screen_log </command> | |
7 <inputs> | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
8 <param name="datafname" format="txt" type="data" label="Nexus formated sequence file" force_select="true"/> |
0 | 9 <conditional name="choose_search_type"> |
10 <param name="search_type" type="select" label="Analysis Type"> | |
11 <option value="mlsearch" selected="true">ML Search</option> | |
12 <option value="bootstrap">Bootstrap</option> | |
13 </param> | |
14 <when value="mlsearch"> | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
15 <param name="searchreps" type="integer" size="4" value="1" label="Number of independent search replicates"> |
0 | 16 <validator type="in_range" message="(1-infinity)" min="1" max="inf"/> |
17 </param> | |
18 <param name="bootstrapreps" type="hidden" value="0" /> | |
19 <param name="resampleproportion" type="float" | |
20 value="1.0" label="Relative size of resample data | |
21 matrix (0.1-10.0)"> | |
22 <validator type="in_range" message="(0.1-10.0)" min="0.1" max="10.0"/> | |
23 </param> | |
24 </when> | |
25 <when value="bootstrap"> | |
26 <param name="searchreps" type="hidden" value="0" /> | |
27 <param name="bootstrapreps" type="integer" size="4" | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
28 value="1" label="Number of bootstrap replicates"> |
0 | 29 <validator type="in_range" message="(1-infinity)" min="1" max="inf"/> |
30 </param> | |
31 </when> | |
32 </conditional> | |
33 <param name="constraintfile" type="data" format="text" label="Constraint file" optional="true"/> | |
34 <conditional name="choose_streefname"> | |
35 <param name="streefname_menu" type="select" label="Source of starting tree and/or model"> | |
36 <option value="stepwise" selected="true">Stepwise</option> | |
37 <option value="random">Random</option> | |
38 <option value="file">User Tree</option> | |
39 </param> | |
40 <when value="stepwise"> | |
41 <param name="streefname" type="hidden" value="stepwise"/> | |
42 </when> | |
43 <when value="random"> | |
44 <param name="streefname" type="hidden" value="random"/> | |
45 </when> | |
46 <when value="file"> | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
47 <param name="streefname" format="txt" type="data" label="Starting Tree File"/> |
0 | 48 </when> |
49 </conditional> | |
50 <param name="attachmentspertaxon" size="4" type="integer" value="50" | |
51 label="Attachment branches evaluated per taxon (min=1)" > | |
52 <validator type="in_range" message="(1-infinity)" min="1" max="inf"/> | |
53 </param> | |
54 <param name="randseed" type="text" size="4" value="-1" label="Random Seed (-1 or | |
55 int)"> | |
56 <validator type="in_range" message="(-1 to infinity)" min="-1" max="inf"/> | |
57 </param> | |
58 <param name="availablememory" size="4" value="512" type="integer" | |
59 label="Available Memory"/> | |
60 <param name="refinestart" type="select" label="Perform | |
61 initial rough optimization"> | |
62 <option value="1" selected="true">Yes</option> | |
63 <option value="0">No</option> | |
64 </param> | |
65 <param name="outgroup" type="integer" size="20" value="1" label="Outgroup taxa | |
66 numbers"/> | |
67 <param name="collapsebranches" type="select" label="Collapse | |
68 Branches"> | |
69 <option value="1" selected="true">Yes</option> | |
70 <option value="0">No</option> | |
71 </param> | |
72 | |
73 <conditional name="choose_datatype"> | |
74 <param name="datatype" type="select" label="Model Type"> | |
75 <option value="nucleotide" selected="true">Nucleotide</option> | |
76 <option value="aminoacid">Amino Acid</option> | |
77 <option value="codon-aminoacid">Codon-Amino Acid</option> | |
78 <option value="codon">Codon</option> | |
79 </param> | |
80 <when value="nucleotide"> | |
81 <conditional name="choose_ratematrix"> | |
82 <param name="ratematrix" type="select" label="Rate Matrix"> | |
83 <option value="1rate">1rate</option> | |
84 <option value="2rate">2rate</option> | |
85 <option value="6rate" selected="true">6rate</option> | |
86 <option value="fixed">fixed</option> | |
87 <option value="custom">custom</option> | |
88 </param> | |
89 <when value="1rate" /> | |
90 <when value="2rate" /> | |
91 <when value="6rate" /> | |
92 <when value="fixed" /> | |
93 <when value="custom"> | |
94 <param name="ratematrix" type="text" size="20" value="(a b a a b a)" label="Custom Rate Matrix"/> | |
95 </when> | |
96 </conditional> | |
97 <param name="statefrequencies" type="select" label="State | |
98 Frequencies"> | |
99 <option value="equal">Equal</option> | |
100 <option value="empirical">Empirical</option> | |
101 <option value="estimate" selected="true">Estimate</option> | |
102 <option value="fixed">Fixed</option> | |
103 </param> | |
104 <param name="ratehetmodel" type="select" label="Rate Heterogeneity | |
105 Type"> | |
106 <option value="none">None</option> | |
107 <option value="gamma" selected="true">Gamma</option> | |
108 <option value="gammafixed">Gamma Fixed</option> | |
109 </param> | |
110 <param name="numratecats" type="integer" size="2" value="4" | |
111 label="Number of discrete dN/dS categories"> | |
112 <validator type="in_range" message="(1-20)" min="1" max="20"/> | |
113 </param> | |
114 <param name="invariantsites" type="select" label="Treatment of | |
115 proportion of invariable sites parameter"> | |
116 <option value="none">None</option> | |
117 <option value="estimate" select="true">Estimate</option> | |
118 <option value="fixed">Fixed</option> | |
119 </param> | |
120 </when> | |
121 <when value="aminoacid"> | |
122 <param name="ratematrix" type="select" label="Rate Matrix"> | |
123 <option value="poisson">Poisson</option> | |
124 <option value="jones" selected="true">Jones</option> | |
125 <option value="dayhoff">Dayhoff</option> | |
126 <option value="wag">WAG</option> | |
127 <option value="mtmam">mtmam</option> | |
128 <option value="mtrev">mtREV</option> | |
129 </param> | |
130 <param name="statefrequences" type="select" label="Equilibrium Base | |
131 Frequences"> | |
132 <option value="equal">Equal</option> | |
133 <option value="empirical" selected="true">Empirical</option> | |
134 <option value="estimate">Estimate</option> | |
135 <option value="fixed">Fixed</option> | |
136 <option value="jones">Jones</option> | |
137 <option value="dayhoff">Dayhoff</option> | |
138 <option value="wag">WAG</option> | |
139 <option value="mtmam">mtmam</option> | |
140 <option value="mtrev">mtREV</option> | |
141 </param> | |
142 <param name="numratecats" type="integer" size="2" value="4" | |
143 label="Number of discrete dN/dS categories"> | |
144 <validator type="in_range" message="(1-20)" min="1" max="20"/> | |
145 </param> | |
146 <param name="invariantsites" type="select" label="Treatment of | |
147 proportion of invariable sites parameter"> | |
148 <option value="none">None</option> | |
149 <option value="estimate" select="true">Estimate</option> | |
150 <option value="fixed">Fixed</option> | |
151 </param> | |
152 </when> | |
153 <when value="codon-aminoacid"> | |
154 <param name="ratematrix" type="select" label="Rate Matrix"> | |
155 <option value="poisson">Poisson</option> | |
156 <option value="jones" selected="true">Jones</option> | |
157 <option value="dayhoff">Dayhoff</option> | |
158 <option value="wag">WAG</option> | |
159 <option value="mtmam">mtmam</option> | |
160 <option value="mtrev">mtREV</option> | |
161 </param> | |
162 <param name="statefrequences" type="select" label="Equilibrium Base | |
163 Frequences"> | |
164 <option value="equal">Equal</option> | |
165 <option value="empirical" selected="true">Empirical</option> | |
166 <option value="estimate">Estimate</option> | |
167 <option value="fixed">Fixed</option> | |
168 <option value="jones">Jones</option> | |
169 <option value="dayhoff">Dayhoff</option> | |
170 <option value="wag">WAG</option> | |
171 <option value="mtmam">mtmam</option> | |
172 <option value="mtrev">mtREV</option> | |
173 </param> | |
174 <param name="geneticcode" type="select" label="Genetic Code"> | |
175 <option value="standard" selected="true">Standard</option> | |
176 <option value="vertmito">Vertmito</option> | |
177 <option value="invertmito">Invertmito</option> | |
178 </param> | |
179 </when> | |
180 <when value="codon"> | |
181 <conditional name="choose_ratematrix"> | |
182 <param name="ratematrix" type="select" label="Rate Matrix"> | |
183 <option value="1rate">1rate</option> | |
184 <option value="2rate">2rate</option> | |
185 <option value="6rate" selected="true">6rate</option> | |
186 <option value="fixed">fixed</option> | |
187 <option value="custom">custom</option> | |
188 </param> | |
189 <when value="1rate" /> | |
190 <when value="2rate" /> | |
191 <when value="6rate" /> | |
192 <when value="fixed" /> | |
193 <when value="custom"> | |
194 <param name="ratematrix" type="text" size="20" value="(a b a a b a)" label="Custom Rate Matrix"/> | |
195 </when> | |
196 </conditional> | |
197 <param name="statefrequencies" type="select" label="State | |
198 Frequencies"> | |
199 <option value="equal">Equal</option> | |
200 <option value="empirical" selected="true">Empirical</option> | |
201 <option value="f1x4">F1x4</option> | |
202 <option value="f3x4">F3x4</option> | |
203 </param> | |
204 <param name="ratehetmodel" type="select" label="Rate Heterogeneity | |
205 Type"> | |
206 <option value="none" selected="true">None</option> | |
207 <option value="nonsynonymous">Non-synonymous</option> | |
208 </param> | |
209 <param name="numratecats" type="integer" size="2" value="1" | |
210 label="Number of discrete dN/dS categories"> | |
211 <validator type="in_range" message="(1-20)" min="1" max="20"/> | |
212 </param> | |
213 <param name="invariantsites" type="hidden" value="none"/> | |
214 <param name="geneticcode" type="select" label="Genetic Code"> | |
215 <option value="standard" selected="true">Standard</option> | |
216 <option value="vertmito">Vertmito</option> | |
217 <option value="invertmito">Invertmito</option> | |
218 </param> | |
219 </when> | |
220 </conditional> | |
221 <param name="nindivs" type="integer" size="3" value="4" label="Number of individuals in population"> | |
222 <validator type="in_range" message="(2-100)" min="2" max="100"/> | |
223 </param> | |
224 <param name="holdover" type="integer" size="2" value="1" label="Unmutated copies of | |
225 best individual"> | |
226 <validator type="in_range" message="(1-99)" min="1" max="99"/> | |
227 </param> | |
228 <param name="selectionintensity" type="float" size="3" value="0.5" label="Strength of | |
229 selection"> | |
230 <validator type="in_range" message="(0.1-5.0)" min="0.1" max="5.0"/> | |
231 </param> | |
232 <param name="holdoverpenalty" type="integer" size="3" value="0" label="Fitness | |
233 handicap for best individual"> | |
234 <validator type="in_range" message="(0-100)" min="0" max="100"/> | |
235 </param> | |
236 <param name="stopgen" type="integer" size="10" value="5000000" label="Maximum number | |
237 of generations to run"> | |
238 <validator type="in_range" message="(0-50000000)" min="0" max="50000000"/> | |
239 </param> | |
240 <param name="stoptime" type="integer" size="10" value="5000000" label="Maximum time to | |
241 run"> | |
242 <validator type="in_range" message="(0-50000000)" min="0" max="50000000"/> | |
243 </param> | |
244 <param name="startoptprec" type="float" size="5" value="0.5" label="Starting | |
245 optimization precision"> | |
246 <validator type="in_range" message="(0.005-5.0)" min="0.005" max="5.0"/> | |
247 </param> | |
248 <param name="minoptprec" type="float" size="5" value="0.01" label="Minimal | |
249 optimization precision"> | |
250 <validator type="in_range" message="(0.001-5.0)" min="0.001" max="5.0"/> | |
251 </param> | |
252 <param name="numberofprecreductions" type="integer" size="3" value="10" | |
253 label="Number of steps down from Start Precision to Minimum Precision" | |
254 > | |
255 <validator type="in_range" message="(0-100)" min="0" max="100"/> | |
256 </param> | |
257 <param name="treerejectionthreshold" type="float" size="5" value="50.0" | |
258 label="Tree Rejection Threshold"> | |
259 <validator type="in_range" message="(0-500.0)" min="0" max="500.0"/> | |
260 </param> | |
261 <param name="topoweight" type="float" size="10" value="1.0" | |
262 label="Weight on topology mutations"> | |
263 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
264 </param> | |
265 <param name="modweight" type="float" size="10" value="0.05" | |
266 label="Weight on model parameter mutations"> | |
267 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
268 </param> | |
269 <param name="brlenweight" type="float" size="10" value="0.2" | |
270 label="Weight on branch-length parameter mutations"> | |
271 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
272 </param> | |
273 <param name="randnniweight" type="float" size="10" value="0.1" | |
274 label="Weight on NNI topology changes"> | |
275 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
276 </param> | |
277 <param name="randsprweight" type="float" size="10" value="0.3" | |
278 label="Weight on SPR topology changes"> | |
279 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
280 </param> | |
281 <param name="limsprweight" type="float" size="10" value="0.6" | |
282 label="Weight on localized SPR topology changes"> | |
283 <validator type="in_range" message="(0-infinity)" min="0" max="inf"/> | |
284 </param> | |
285 <param name="intervallength" type="integer" size="4" value="100" | |
286 label="Interval Length"> | |
287 <validator type="in_range" message="(0-1000)" min="0" max="1000"/> | |
288 </param> | |
289 <param name="intervalstostore" type="integer" size="2" value="5" | |
290 label="Number of intervals to store"> | |
291 <validator type="in_range" message="(0-1000)" min="0" max="10"/> | |
292 </param> | |
293 <param name="limsprrange" type="integer" size="10" value="6" | |
294 label="Max range for localized SPR topology changes"> | |
295 <validator type="in_range" message="(0-1000)" min="0" max="inf"/> | |
296 </param> | |
297 <param name="meanbrlenmuts" type="integer" size="7" value="5" | |
298 label="Mean number of branch lengths to change per mutation"> | |
299 <validator type="in_range" message="(0-# of taxa)" min="0" max="10000000000"/> | |
300 </param> | |
301 <param name="gammashapebrlen" type="integer" size="4" value="1000" | |
302 label="Magnitude of branch-length mutations"> | |
303 <validator type="in_range" message="(50-2000)" min="50" max="2000"/> | |
304 </param> | |
305 <param name="gammashapemodel" type="integer" size="4" value="1000" | |
306 label="Magnitude of model parameter mutations"> | |
307 <validator type="in_range" message="(50-2000)" min="50" max="2000"/> | |
308 </param> | |
309 <param name="uniqueswapbias" type="float" size="4" value="0.1" | |
310 label="Relative weight assigned to already attempted branch swaps" | |
311 > | |
312 <validator type="in_range" message="(0.01-1.0)" min="0.01" max="1.0"/> | |
313 </param> | |
314 <param name="distanceswapbias" type="float" size="3" value="1.0" | |
315 label="Relative weight assigned to branch swaps based on locality"> | |
316 <validator type="in_range" message="(0.1-10.0)" min="0.1" max="10.0"/> | |
317 </param> | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
318 <param name="genthreshfortopoterm" type="integer" size="5" value="20000" |
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
319 label="Number of generations without topology improvement required for termination"> |
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
320 <validator type="in_range" message="(1-20000)" min="1" max="20000"/> |
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
321 </param> |
0 | 322 </inputs> |
323 <outputs> | |
324 <data format="nexus" name="best_tre" metadata_source="datafname" from_work_dir="garli.best.tre" label="${tool.name} on ${on_string}: garli.best.tre"/> | |
325 <data format="nexus" name="best_all_tre" metadata_source="datafname" from_work_dir="garli.best.all.tre" label="${tool.name} on ${on_string}: garli.all.best.tre"/> | |
326 <data format="txt" name="garli_conf" from_work_dir="garli.conf" label="${tool.name} on ${on_string}: garli.conf"/> | |
327 <data format="txt" name="log00_log" from_work_dir="garli.log00.log" label="${tool.name} on ${on_string}: garli.log00.log"/> | |
328 <data format="txt" name="screen_log" from_work_dir="garli.screen.log" label="${tool.name} on ${on_string}: garli.screen.log"/> | |
329 </outputs> | |
330 <configfiles> | |
331 <configfile name="garli_conf"> | |
332 [general] | |
333 datafname = ${datafname} | |
334 searchreps = ${choose_search_type.searchreps} | |
335 bootstrapreps = ${choose_search_type.bootstrapreps} | |
336 constraintfile = ${constraintfile} | |
337 streefname = ${choose_streefname.streefname} | |
338 attachmentspertaxon = ${attachmentspertaxon} | |
339 ofprefix = garli | |
340 randseed = ${randseed} | |
341 availablememory = ${availablememory} | |
342 logevery = 10 | |
343 writecheckpoints = 0 | |
344 saveevery = 100 | |
345 refinestart = ${refinestart} | |
346 outputeachbettertopology = 0 | |
347 outputcurrentbesttopology = 0 | |
348 enforcetermconditions = 1 | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
349 genthreshfortopoterm = ${genthreshfortopoterm} |
0 | 350 scorethreshforterm = 0.05 |
351 significanttopochange = 0.01 | |
352 outputphyliptree = 0 | |
353 outputmostlyuselessfiles = 0 | |
354 restart = 0 | |
355 outgroup = ${outgroup} | |
356 resampleproportion = ${choose_search_type.resampleproportion} | |
357 inferinternalstateprobs = 0 | |
358 outputsitelikelihoods = 0 | |
359 optimizeinputonly = 0 | |
360 collapsebranches = ${collapsebranches} | |
361 | |
362 [model1] | |
363 datatype = ${choose_datatype.datatype} | |
364 ratematrix = ${choose_datatype.choose_ratematrix.ratematrix} | |
365 statefrequencies = ${choose_datatype.statefrequencies} | |
366 ratehetmodel = ${choose_datatype.ratehetmodel} | |
367 #if $choose_datatype.numratecats > 0 | |
368 numratecats = ${choose_datatype.numratecats} | |
369 #end if | |
370 #if $choose_datatype.invariantsites != "" | |
371 invariantsites = ${choose_datatype.invariantsites} | |
372 #end if | |
373 | |
374 [master] | |
375 nindivs = $nindivs | |
376 holdover = $holdover | |
377 selectionintensity = $selectionintensity | |
378 holdoverpenalty = $holdoverpenalty | |
379 stopgen = $stopgen | |
380 stoptime = $stoptime | |
381 | |
382 startoptprec = $startoptprec | |
383 minoptprec = $minoptprec | |
384 numberofprecreductions = $numberofprecreductions | |
385 treerejectionthreshold = $treerejectionthreshold | |
386 topoweight = $topoweight | |
387 modweight = $modweight | |
388 brlenweight = $brlenweight | |
389 randnniweight = $randnniweight | |
390 randsprweight = $randsprweight | |
391 limsprweight = $limsprweight | |
392 intervallength = $intervallength | |
393 intervalstostore = $intervalstostore | |
394 limsprrange = $limsprrange | |
395 meanbrlenmuts = $meanbrlenmuts | |
396 gammashapebrlen = $gammashapebrlen | |
397 gammashapemodel = $gammashapemodel | |
398 uniqueswapbias = $uniqueswapbias | |
399 distanceswapbias = 1.0 | |
400 </configfile> | |
401 </configfiles> | |
402 | |
403 <help> | |
404 | |
405 **What it does** | |
406 | |
407 GARLI is a program that performs phylogenetic inference using the | |
408 maximum-likelihood criterion. Several sequence types are supported, | |
409 including nucleotide, amino acid and codon. Version 2.0 adds support | |
410 for partitioned models and morphology-like datatypes. | |
411 | |
412 Garli is written and maintained by Derrick Zwickl | |
413 | |
414 Configuration options are adapted from | |
2
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
415 https://www.nescent.org/wg_garli/GARLI_Configuration_Settings. Please see that |
681e9bb51cc4
Clean help, fix option descriptions, add genthreshfortopoterm, change filetypes to txt to make it more flexible.
malex
parents:
0
diff
changeset
|
416 page for more details. |
0 | 417 |
418 </help> | |
419 </tool> |