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