0
|
1 <tool id="phyml" name="PhyML" version="0.1.0">
|
|
2 <description> Phylogeny software based on the maximum-likelihood principle </description>
|
|
3 <requirements>
|
|
4 <package name="phyml" version="3.1"/>
|
|
5 </requirements>
|
|
6 <command><![CDATA[
|
|
7 ln -sf $input input_phy;
|
|
8
|
|
9 phyml -i input_phy
|
|
10 $format
|
|
11
|
|
12 -n $nb_data_set
|
|
13 -d $type.type_of_seq
|
|
14
|
|
15 #if ($type.type_of_seq == "nt"):
|
|
16 -t $type.tstv
|
|
17 #end if
|
|
18
|
|
19 -m $type.model
|
|
20
|
|
21 #if (str($bs.bootstrap) in ['0','-1','-2','-4']):
|
|
22 -b $bs.bootstrap
|
|
23 #elif (str($bs.bootstrap) == '1'):
|
|
24 -b $bs.bootstrap.replicate_num
|
|
25 #end if
|
|
26
|
|
27 -f $character_freq
|
|
28 -v $prop_invar
|
|
29 -c $nb_subst_cat
|
|
30 -a $gamma
|
|
31 -s $search_move
|
|
32 -o $optimisation_parameter
|
|
33
|
|
34 > ${stdout_output};
|
|
35 ]]>
|
|
36 </command>
|
|
37 <inputs>
|
|
38 <param name="input" format="txt" type="data" label="Source file" help="Select the input file"/>
|
|
39 <param name="format" type="select" label="Choose between interleaved format or sequential format" display="radio">
|
|
40 <option value="">Interleaved</option>
|
|
41 <option value="--sequential">Sequential</option>
|
|
42 </param>
|
|
43 <param name="nb_data_set" type="integer" value="1" label="Number of data sets"/>
|
|
44
|
|
45 <conditional name="type">
|
|
46 <param name="type_of_seq" type="select" label="Data type" help="Select between nucleic acids or amino acids" display="radio">
|
|
47 <option value="nt">Nucleic acids</option>
|
|
48 <option value="aa">Amino acids</option>
|
|
49 </param>
|
|
50 <when value="nt">
|
|
51 <param name="tstv" type="text" value="e" label="Transition/transversion ratio" help="Can be a fixed positive value or type 'e' to get the maximum likelihood estimate"/>
|
|
52 <param name="model" type="select" label="Nucleotide-based models" display="radio">
|
|
53 <option value="HKY85">HKY85</option>
|
|
54 <option value="JC69">JC69</option>
|
|
55 <option value="K80">K80</option>
|
|
56 <option value="F81">F81</option>
|
|
57 <option value="F84">F84</option>
|
|
58 <option value="TN93">TN93</option>
|
|
59 <option value="GTR">GTR</option>
|
|
60 </param>
|
|
61 </when>
|
|
62
|
|
63 <when value="aa">
|
|
64 <param name="model" type="select" label="Amino-acid based models" display="radio">
|
|
65 <option value="LG">LG</option>
|
|
66 <option value="WAG">WAG</option>
|
|
67 <option value="JTT">JTT</option>
|
|
68 <option value="MtREV">MtREV</option>
|
|
69 <option value="Dayhoff">Dayhoff</option>
|
|
70 <option value="DCMut">DCMut</option>
|
|
71 <option value="RtREV">RtREV</option>
|
|
72 <option value="CpREV">CpREV</option>
|
|
73 <option value="VT">VT</option>
|
|
74 <option value="Blosum62">Blosum62</option>
|
|
75 <option value="MtMam">MtMam</option>
|
|
76 <option value="MtArt">MtArt</option>
|
|
77 <option value="HIVw">HIVw</option>
|
|
78 <option value="HIVb">HIVb</option>
|
|
79 </param>
|
|
80 </when>
|
|
81 </conditional>
|
|
82
|
|
83 <conditional name="bs">
|
|
84 <param name="bootstrap" type="select" min="1" value="100" label="Branch supports" display="radio">
|
|
85 <option value="0">No bootstrap</option>
|
|
86 <option value="1">Number of bootstrap</option>
|
|
87 <option value="-1">Likelihood ratio test using aLRT statistics</option>
|
|
88 <option value="-2">Likelihood ratio test using Chi2</option>
|
|
89 <option value="-4" selected='true'>SH-like</option>
|
|
90 </param>
|
|
91 <when value="1">
|
|
92 <param name="replicate_num" type="integer" min="1" value="100" label="Number of bootstrap replicates"/>
|
|
93 </when>
|
|
94 </conditional>
|
|
95
|
|
96 <param name="character_freq" type="select" label="Character frequencies" display="radio">
|
|
97 <option value="e">Empirical</option>
|
|
98 <option value="m">ML/Model</option>
|
|
99 </param>
|
|
100 <param name="prop_invar" type="text" value="e" label="Proportion of invariable sites" help="Can be a fixed value in the [0,1] range or type 'e' to get the maximum likelihood estimate"/>
|
|
101 <param name="nb_subst_cat" type="integer" min="1" value="4" label="Number of relative substitution rate categories" help="Must be a positive integer"/>
|
|
102 <param name="gamma" type="text" value="e" label="Value of the gamma shape parameter" help="Can be a fixed positive value or 'e' to get the maximum likelihood estimate"/>
|
|
103 <param name="search_move" type="select" label="Tree topology search operation option" display="radio">
|
|
104 <option value="NNI">NNI</option>
|
|
105 <option value="SPR">SPR</option>
|
|
106 <option value="BEST">Best of NNI and SPR search</option>
|
|
107 </param>
|
|
108 <param name="optimisation_parameter" type="select" label="Optimise topology" display="radio">
|
|
109 <option value="tlr">Tree topology, branch length and substitution rate parameters</option>
|
|
110 <option value="tl">Tree topology and branch lengths</option>
|
|
111 <option value="lr">Branch lengths and substitution rate parameters</option>
|
|
112 <option value="l">Branch lengths</option>
|
|
113 <option value="r">Substitution rate parameters</option>
|
|
114 <option value="n">No parameter is optimized</option>
|
|
115 </param>
|
|
116 </inputs>
|
|
117
|
|
118 <outputs>
|
|
119 <data name="output_tree" format="txt" label="Output_tree" from_work_dir="*_phyml_tree.txt"/>
|
|
120 <data name="output_stats" format="txt" label="Output_stats" from_work_dir="*_phyml_stats.txt"/>
|
|
121 <data name="stdout_output" label="Output_stdout" format="txt"/>
|
|
122 </outputs>
|
|
123
|
|
124 </tool>
|
|
125
|
|
126
|
|
127
|