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