comparison phyml.xml @ 0:a9ee99c3be94 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/phyml commit 0e9f19277b1bdc8f2a65e605ded44f1a35cd2ea6
author iuc
date Tue, 28 May 2019 13:53:34 -0400
parents
children 2677a6dae0e0
comparison
equal deleted inserted replaced
-1:000000000000 0:a9ee99c3be94
1 <tool id="phyml" name="PhyML" version="3.3.20190321">
2 <description>Phylogeny software based on the maximum-likelihood</description>
3 <requirements>
4 <requirement type="package" version="3.3.20190321">phyml</requirement>
5 </requirements>
6 <version_command>
7 <![CDATA[ phyml --version ]]>
8 </version_command>
9 <command detect_errors="default">
10 <![CDATA[
11 ##PhyML outputs are based on input path and we need to create outputs in working_dir.
12 ln -sf '$input' '${input.name}' &&
13 #if $userInputTree:
14 ln -sf '${$userInputTree}' '${$userInputTree.name}' &&
15 #end if
16
17 phyml --input '${input.name}'
18 '${phylip_format}'
19 --datatype '${seq.type_of_seq}'
20 --multiple '${nb_data_set}'
21
22 #if (str($support_condition.branchSupport) in ['0','-1','-2','-4','-5']):
23 --bootstrap '${support_condition.branchSupport}'
24 #else:
25 --bootstrap '${support_condition.branchSupport.replicate}'
26 #end if
27
28 #if $seq.type_of_seq == "nt":
29 -t '${seq.tstv}'
30 #end if
31
32 --model '${seq.model}'
33 -f '${equi_freq}'
34 --pinv '${prop_invar}'
35
36 --nclasses '${nbSubstCat}'
37
38 #if (str($nbSubstCat) != "1"):
39 --alpha '${gamma}'
40 #end if
41
42 --search '${move}'
43 -o '${optimisationTopology}'
44
45 #if $userInputTree:
46 --inputtree '${$userInputTree.name}'
47 #end if
48
49 #if $numStartSeed != "0":
50 --r_seed '${numStartSeed}'
51 #end if
52
53 --no_memory_check > '${output_stdout}' &&
54 grep 'failed' '${output_stdout}' >&2;
55 ]]>
56 </command>
57 <inputs>
58 <param name="input" type="data" format="phylip,phy" label="Alignment file" help="phylip format"/>
59 <param name="phylip_format" type="select" label="Changes interleaved format">
60 <option value="">Interleaved</option>
61 <option value="--sequential">Sequential</option>
62 </param>
63 <param name="nb_data_set" type="integer" min="1" value="1" label="Number of data sets" />
64 <conditional name="seq">
65 <param name="type_of_seq" type="select" label="Data type">
66 <option value="nt">Nucleic acids</option>
67 <option value="aa">Amino acids</option>
68 </param>
69 <when value="nt">
70 <param name="tstv" type="text" value="e" label="Transition/transversion ratio" help="Must be a positive integer, 'e' if you want PhyML to estimate it" />
71 <param name="model" type="select" label="Substitution model">
72 <option value="HKY85">HKY85</option>
73 <option value="JC69">JC69</option>
74 <option value="K80">K80</option>
75 <option value="F81">F81</option>
76 <option value="F84">F84</option>
77 <option value="TN93">TN93</option>
78 <option value="GTR">GTR</option>
79 </param>
80 </when>
81 <when value="aa">
82 <param name="model" type="select" label="Evolution model">
83 <option value="LG">LG</option>
84 <option value="WAG">WAG</option>
85 <option value="JTT">JTT</option>
86 <option value="MtREV">MtREV</option>
87 <option value="Dayhoff">Dayhoff</option>
88 <option value="DCMut">DCMut</option>
89 <option value="RtREV">RtREV</option>
90 <option value="CpREV">CpREV</option>
91 <option value="VT">VT</option>
92 <option value="Blosum62">Blosum62</option>
93 <option value="MtMam">MtMam</option>
94 <option value="MtArt">MtArt</option>
95 <option value="HIVw">HIVw</option>
96 <option value="HIVb">HIVb</option>
97 </param>
98 </when>
99 </conditional>
100 <param name="prop_invar" type="text" value="e" label="Proportion of invariant sites" help="Can be a fixed value in the [0,1] range or 'e' to get the maximum likelihood estimate, 0 to ignore this parameter"/>
101 <param name="equi_freq" type="select" label="Equilibrium frequencies" help="Empirical: frequencies are estimated by counting the occurences in the alignment. ML/Model: frequencies are estimated using ML for nucleotides or defined by the proteic substitution model.">
102 <option value="m">ML/Model</option>
103 <option value="e">Empirical</option>
104 </param>
105 <param name="nbSubstCat" type="integer" min="1" value="4" label="Number of categories for the discrete gamma model" help="1 means no gamma model" />
106 <param name="gamma" type="text" value="e" label="Parameter of the gamma model" help="'e' if you want PhyML to estimate it"/>
107 <param name="move" type="select" label="Tree topology search">
108 <option value="NNI">NNI (Nearest Neighbor Interchange)</option>
109 <option value="SPR">SPR (Subtree Pruning and Regraphing)</option>
110 <option value="BEST">Best of NNI and SPR</option>
111 </param>
112 <param name="optimisationTopology" type="select" label="Optimise topology">
113 <option value="tlr">Tree topology, Branch length, Rate parameter</option>
114 <option value="tl">Tree topology, Branch length</option>
115 <option value="l">Branch length</option>
116 <option value="r">Rate parameter</option>
117 <option value="n">No parameter is optimized</option>
118 </param>
119 <conditional name="support_condition">
120 <param name="branchSupport" type="select" label="Statistical tests for branch support" help="Use aLRT or aBayes to save computing time">
121 <option value="0">No bootstrap</option>
122 <option value="1">Bootstrap</option>
123 <option value="-1">likelihood aLRT statistics</option>
124 <option value="-2">likelihood Chi2-based</option>
125 <option value="-4" selected='true'>SH-like</option>
126 <option value="-5">Approximate Bayes branch supports</option>
127 </param>
128 <when value="0"/>
129 <when value="-1"/>
130 <when value="-2"/>
131 <when value="-4"/>
132 <when value="-5"/>
133 <when value="1">
134 <param name="replicate" type="integer" min="1" value="100" label="Number of bootstrap replicates" help="Must be a positive integer" />
135 </when>
136 </conditional>
137 <param name="numStartSeed" type="integer" value="0" label="Number of seed used to initiate the random number generator" help="0 to random seed"/>
138 <param name="userInputTree" optional="True" type="data" format="nhx" label="Tree file" help="newick format"/>
139 </inputs>
140 <outputs>
141 <data name="output_tree" format="nhx" label="PhyML Newick tree: ${input.name}.nwk" from_work_dir="*_phyml_tree.txt" />
142 <data name="output_stats" format="txt" label="PhyML Statistic: ${input.name}.stats.txt" from_work_dir="*_phyml_stats.txt"/>
143 <data name="output_stdout" format="txt" label="PhyML Stdout: ${input.name}"/>
144 </outputs>
145 <tests>
146 <test>
147 <param name="input" value="phylip" />
148 <param name="prop_invar" value="0"/>
149 <param name="type_of_seq" value="nt" />
150 <param name="numStartSeed" value="1458308600" />
151 <output name="output_tree" file="phylip_phyml_tree.txt" />
152 <output name="output_stats" file="phylip_phyml_stats.txt" lines_diff="4"/>
153 </test>
154 </tests>
155 <help>
156 <![CDATA[
157 .. class:: infomark
158
159 -----
160
161 #########
162 PhyML 3.3
163 #########
164
165 A simple, fast, and accurate algorithm to estimate
166 large phylogenies by maximum likelihood''
167
168 ==========
169 Overview:
170 ==========
171
172 PhyML is a phylogeny software based on the maximum-likelihood principle. Early PhyML versions used a fast algorithm to perform Nearest Neighbor Interchanges (NNIs), in order to improve a reasonable starting tree topology. Since the original publication (Guindon and Gascuel 2003), PhyML has been widely used due to its simplicity and a fair accuracy/speed compromise. In the mean time research around PhyML has continued.
173
174 We designed an efficient algorithm to search the tree space using Subtree Pruning and Regrafting (SPR) topological moves (Hordijk and Gascuel 2005), and proposed a fast branch test based on an approximate likelihood ratio test (Anisimova and Gascuel 2006). However, these novelties were not included in the official version of PhyML, and we found that improvements were still needed in order to make them effective in some practical cases. PhyML 3.0 achieves this task.
175
176 It implements new algorithms to search the space of tree topologies with user-defined intensity. A non-parametric, Shimodaira-Hasegawa-like branch test is also available. The program provides a number of new evolutionary models and its interface was entirely re-designed. We tested PhyML 3.0 on a large collection of real data sets to ensure that the new version is stable, ready-to-use and still reasonably fast and accurate.
177
178 -----
179
180
181 For further informations, please visite the PhyML_ website.
182
183 .. _PhyML: http://www.atgc-montpellier.fr/phyml/
184
185 Please cite this paper if you use this software in your publications.
186
187
188 ]]>
189 </help>
190 <citations>
191 <citation type="doi">10.1093/sysbio/syq010</citation>
192 </citations>
193 </tool>