annotate phyml.xml @ 1:ac4a2f2b998b draft default tip

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