3
|
1 <tool id="plant_tribes_gene_family_phylogeny_builder" name="GeneFamilyPhylogenyBuilder" version="@WRAPPER_VERSION@.2">
|
0
|
2 <description>builds phylogenetic trees of aligned orthologous gene family clusters</description>
|
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements_gene_family_phylogeny_builder" />
|
|
7 <command detect_errors="exit_code"><![CDATA[
|
|
8 #set input_format = $input_format_cond.input_format
|
|
9 #set tree_inference = $tree_inference_cond.tree_inference
|
|
10 #if str($tree_inference) == 'raxml':
|
|
11 #set rooting_order_file_cond = $tree_inference_cond.rooting_order_file_cond
|
|
12 #set rooting_order_file = $rooting_order_file_cond.rooting_order_file
|
|
13 #if str($rooting_order_file) == 'yes':
|
|
14 #set rooting_order = $rooting_order_file_cond.rooting_order
|
|
15 #end if
|
|
16 #set bootstrap_replicates = $tree_inference_cond.bootstrap_replicates
|
|
17 #end if
|
|
18
|
1
|
19 python '$__tool_directory__/gene_family_phylogeny_builder.py'
|
0
|
20 #if str($input_format) == 'ptalign':
|
|
21 --orthogroup_aln '$input_format_cond.input_ptalign.extra_files_path'
|
1
|
22 --alignment_type aln
|
|
23 --sequence_type protein
|
0
|
24 #else if str($input_format) == 'ptalignca':
|
|
25 --orthogroup_aln '$input_format_cond.input_ptalignca.extra_files_path'
|
1
|
26 --alignment_type aln
|
0
|
27 --sequence_type $input_format_cond.sequence_type
|
|
28 #else if str($input_format) == 'ptalignfiltered':
|
|
29 --orthogroup_aln '$input_format_cond.input_ptalignfiltered.extra_files_path'
|
1
|
30 --alignment_type filter
|
|
31 --sequence_type protein
|
0
|
32 #else if str($input_format) == 'ptalignfilteredca':
|
|
33 --orthogroup_aln '$input_format_cond.input_ptalignfilteredca.extra_files_path'
|
1
|
34 --alignment_type filter
|
0
|
35 --sequence_type $input_format_cond.sequence_type
|
|
36 #else if str($input_format) == 'ptaligntrimmed':
|
|
37 --orthogroup_aln '$input_format_cond.input_ptaligntrimmed.extra_files_path'
|
1
|
38 --alignment_type trim
|
|
39 --sequence_type protein
|
0
|
40 #else if str($input_format) == 'ptaligntrimmedca':
|
|
41 --orthogroup_aln '$input_format_cond.input_ptaligntrimmedca.extra_files_path'
|
1
|
42 --alignment_type trim
|
0
|
43 --sequence_type $input_format_cond.sequence_type
|
|
44 #end if
|
|
45 --scaffold '$scaffold.fields.path'
|
|
46 --config_dir '$scaffold.fields.path'
|
|
47 --method $method
|
|
48 --tree_inference $tree_inference
|
|
49 #if str($tree_inference) == 'raxml':
|
|
50 #if str($rooting_order_file) == 'yes':
|
|
51 --rooting_order '$rooting_order'
|
|
52 ## No else block needed here because the default rooting_order
|
|
53 ## configuration will be used if the --rooting_order flag is missing.
|
|
54 #end if
|
|
55 --bootstrap_replicates $bootstrap_replicates
|
|
56 --output_phylip '$output_phylip'
|
|
57 --output_phylip_dir '$output_phylip.files_path'
|
|
58 #end if
|
|
59 --min_orthogroup_size $min_orthogroup_size
|
|
60 --max_orthogroup_size $max_orthogroup_size
|
|
61 --num_threads \${GALAXY_SLOTS:-4}
|
|
62 #if str($output_pttree_dir) == 'yes':
|
|
63 --output_tree '$output_tree'
|
|
64 --output_tree_dir '$output_tree.files_path'
|
|
65 #end if
|
|
66 ]]></command>
|
|
67 <inputs>
|
|
68 <conditional name="input_format_cond">
|
|
69 <param name="input_format" type="select" label="Orthogroup alignments">
|
|
70 <option value="ptalign">Proteins orthogroup alignments</option>
|
|
71 <option value="ptalignca">Protein and coding sequences orthogroup alignments</option>
|
|
72 <option value="ptalignfiltered">Filtered proteins orthogroup alignments</option>
|
|
73 <option value="ptalignfilteredca">Filtered protein and coding sequences orthogroup alignments</option>
|
|
74 <option value="ptaligntrimmed">Trimmed proteins orthogroup alignments</option>
|
|
75 <option value="ptaligntrimmedca">Trimmed protein and coding sequences orthogroup alignments</option>
|
|
76 </param>
|
|
77 <when value="ptalign">
|
|
78 <param name="input_ptalign" format="ptalign" type="data" label="Proteins orthogroup alignments">
|
|
79 <validator type="empty_extra_files_path" />
|
|
80 </param>
|
|
81 </when>
|
|
82 <when value="ptalignca">
|
|
83 <param name="input_ptalignca" format="ptalignca" type="data" label="Protein and coding sequences orthogroup alignments">
|
|
84 <validator type="empty_extra_files_path" />
|
|
85 </param>
|
|
86 <expand macro="param_sequence_type" />
|
|
87 </when>
|
|
88 <when value="ptalignfiltered">
|
|
89 <param name="input_ptalignfiltered" format="ptalignfiltered" type="data" label="Filtered proteins orthogroup alignments">
|
|
90 <validator type="empty_extra_files_path" />
|
|
91 </param>
|
|
92 </when>
|
|
93 <when value="ptalignfilteredca">
|
|
94 <param name="input_ptalignfilteredca" format="ptalignfilteredca" type="data" label="Filtered protein and coding sequences orthogroup alignments">
|
|
95 <validator type="empty_extra_files_path" />
|
|
96 </param>
|
|
97 <expand macro="param_sequence_type" />
|
|
98 </when>
|
|
99 <when value="ptaligntrimmed">
|
|
100 <param name="input_ptaligntrimmed" format="ptaligntrimmed" type="data" label="Trimmed proteins orthogroup alignments">
|
|
101 <validator type="empty_extra_files_path" />
|
|
102 </param>
|
|
103 </when>
|
|
104 <when value="ptaligntrimmedca">
|
|
105 <param name="input_ptaligntrimmedca" format="ptaligntrimmedca" type="data" label="Trimmed protein and coding sequences orthogroup alignments">
|
|
106 <validator type="empty_extra_files_path" />
|
|
107 </param>
|
|
108 <expand macro="param_sequence_type" />
|
|
109 </when>
|
|
110 </conditional>
|
|
111 <expand macro="param_scaffold" />
|
|
112 <expand macro="param_method" />
|
|
113 <conditional name="tree_inference_cond">
|
|
114 <param name="tree_inference" type="select" label="Phylogenetic inference method">
|
|
115 <option value="raxml" selected="true">RAxML</option>
|
|
116 <option value="fasttree">FastTree</option>
|
|
117 </param>
|
|
118 <when value="raxml">
|
|
119 <conditional name="rooting_order_file_cond">
|
|
120 <param name="rooting_order_file" type="select" label="Rooting order configuration">
|
|
121 <option value="no" selected="true">No</option>
|
|
122 <option value="yes">Yes</option>
|
|
123 </param>
|
|
124 <when value="no" />
|
|
125 <when value="yes">
|
|
126 <param name="rooting_order" format="txt" type="data" label="Rooting order configuration" />
|
|
127 </when>
|
|
128 </conditional>
|
|
129 <param name="bootstrap_replicates" type="integer" value="100" min="0" label="Bootstrap replicates" />
|
|
130 </when>
|
|
131 <when value="fasttree" />
|
|
132 </conditional>
|
|
133 <param name="max_orthogroup_size" type="integer" value="100" min="4" label="Maximum orthogroup size" />
|
|
134 <param name="min_orthogroup_size" type="integer" value="4" min="4" label="Minimum orthogroup size" />
|
4
|
135 <param name="output_pttree_dir" type="select" label="Output additional directory of phylogenetic tree files?">
|
|
136 <option value="no" selected="true">No</option>
|
|
137 <option value="yes">Yes</option>
|
|
138 </param>
|
0
|
139 </inputs>
|
|
140 <outputs>
|
|
141 <collection name="tree" type="list" label="${tool.name} (phylogenetic trees, dataset collection) on ${on_string}">
|
|
142 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/orthogroups_tree" format="nhx" />
|
|
143 </collection>
|
|
144 <data name="output_tree" format="pttree" label="${tool.name} (phylogenetic trees, directory) on ${on_string}">
|
4
|
145 <filter>output_pttree_dir == 'yes'</filter>
|
0
|
146 </data>
|
|
147 <data name="output_phylip" format="ptphylip" label="${tool.name} (orthogroup phylip multiple sequence alignments) on ${on_string}">
|
|
148 <filter>tree_inference_cond['tree_inference'] == 'raxml'</filter>
|
|
149 </data>
|
|
150 </outputs>
|
|
151 <tests>
|
|
152 <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed.
|
|
153 <test>
|
|
154 </test>
|
|
155 -->
|
|
156 </tests>
|
|
157 <help>
|
|
158 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary
|
|
159 analyses of genome-scale gene families and transcriptomes. This tool performs gene family phylogenetic inference of
|
|
160 multiple sequence alignments produced by the GeneFamilyAligner tool.
|
|
161
|
|
162 -----
|
|
163
|
|
164 **Required options**
|
|
165
|
|
166 * **Orthogroup alignments** - orthogroup alignment fasta files produced by the GeneFamilyAligner tool selected from your history. Depending on how the GeneFamilyAligner tool was executed, these could either be pre-processed alignments, trimmed alignments or both trimmed and filtered alignments.
|
|
167 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds installed into Galaxy by the PlantTribes Scaffold Download Data Manager tool.
|
|
168 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
|
169 * **Phylogenetic inference method** - method for estimating orthogroup maximum likelihood (ML) phylogenetic trees. PlantTribes estimates ML phylogenetic trees using either RAxML or FastTree algorithms.
|
|
170
|
|
171 **Other options**
|
|
172
|
|
173 * **Rooting order configuration** - select 'Yes' to enable selection of a rooting order configuration file for RAxML. Scaffold configuration templates (.rootingOrder.config) of how to customize the RAxML ML tree rooting order can be found in the scaffold data installed into Galaxy via the PlantTribes Scaffolds Download Data Manager tool, and is also available at the PlantTribes GitHub `repository`_. Phylogenetic tree rooting order settings shown in these templates are used as defaults if 'No' is selected.
|
|
174 * **Bootstrap replicates** - number of bootstrap replicates for RAxML to conduct a rapid bootstrap analysis and search for the best-scoring ML tree (default = 100).
|
|
175 * **Maximum orthogroup size** - maximum number of sequences allowed in orthogroup alignments (default = 100).
|
|
176 * **Minimum orthogroup size** - minimum number of sequences allowed in orthogroup alignments (default = 4).
|
|
177 * **Output additional directory of phylogenetic tree files** - selecting 'Yes' will produce an additional output that has an associated directory of files that are copies of the elements of the phylogenetic trees output dataset collection (this output will be used for future downstream tools).
|
|
178
|
|
179 .. _repository: https://github.com/dePamphilis/PlantTribes/tree/master/config
|
|
180
|
|
181 </help>
|
|
182 <citations>
|
|
183 <expand macro="citation1" />
|
|
184 <citation type="bibtex">
|
|
185 @article{Wall2008,
|
|
186 journal = {Nucleic Acids Research},
|
|
187 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
188 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
189 year = {2008},
|
|
190 volume = {36},
|
|
191 number = {suppl 1},
|
|
192 pages = {D970-D976},}
|
|
193 </citation>
|
|
194 <citation type="bibtex">
|
|
195 @article{Sasidharan2012,
|
|
196 journal = {Nucleic Acids Research},
|
|
197 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
198 title = {GFam: a platform for automatic annotation of gene families},
|
|
199 year = {2012},
|
|
200 pages = {gks631},}
|
|
201 </citation>
|
|
202 <citation type="bibtex">
|
|
203 @article{Li2003,
|
|
204 journal = {Genome Research}
|
|
205 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
206 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
207 year = {2003},
|
|
208 volume = {13},
|
|
209 number = {9},
|
|
210 pages = {2178-2189},}
|
|
211 </citation>
|
|
212 <citation type="bibtex">
|
|
213 @article{Emms2015,
|
|
214 journal = {Genome Biology}
|
|
215 author = {5. Emms DM, Kelly S},
|
|
216 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
217 year = {2015},
|
|
218 volume = {16},
|
|
219 number = {1},
|
|
220 pages = {157},}
|
|
221 </citation>
|
|
222 <citation type="bibtex">
|
|
223 @article{Stamatakis2014,
|
|
224 journal = {Bioinformatics},
|
|
225 author = {6. Stamatakis A},
|
|
226 title = {RAxML Version 8: A tool for Phylogenetic Analysis and Post-Analysis of Large Phylogenies},
|
|
227 year = {2014},
|
|
228 url = {http://sco.h-its.org/exelixis/web/software/raxml/index.html},}
|
|
229 </citation>
|
|
230 <citation type="bibtex">
|
|
231 @article{Price2010,
|
|
232 journal = {PLoS one},
|
|
233 author = {7. Price MN, Dehal PS, Arkin AP},
|
|
234 title = {FastTree 2-approximately maximim-likelihood trees for large alignments},
|
|
235 year = {2010},
|
|
236 volume = {5},
|
|
237 number = {3},
|
|
238 pages = {e9490},}
|
|
239 </citation>
|
2
|
240 <citation type="bibtex">
|
|
241 @article{Nascimento2016,
|
|
242 journal = {Bioinformatics},
|
|
243 author = {8. Nascimento M, Sousa A, Ramirez M, Francisco AP, CarriƧo JA, Vaz C},
|
|
244 title = {PHYLOViZ 2.0: providing scalable data integration and visualization for multiple phylogenetic inference methods},
|
|
245 year = {2016},
|
|
246 volume = {33},
|
|
247 number = {1},
|
|
248 pages = {128-129},}
|
|
249 </citation>
|
0
|
250 </citations>
|
|
251 </tool>
|