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">
|
10
|
78 <validator type="empty_extra_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">
|
10
|
83 <validator type="empty_extra_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">
|
10
|
89 <validator type="empty_extra_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">
|
10
|
94 <validator type="empty_extra_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">
|
10
|
100 <validator type="empty_extra_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">
|
10
|
105 <validator type="empty_extra_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">
|
7
|
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">
|
11
|
125 <param name="rooting_order" format="txt" type="data" label="Rooting order configuration" />
|
0
|
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>
|
7
|
139 <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed.
|
0
|
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.
|
11
|
155 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
6
|
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
|
7
|
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`_. Phylogenetic tree rooting order settings shown in these templates are used as defaults if 'No' is selected.
|
6
|
161 * **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
|
162 * **Maximum orthogroup size** - maximum number of sequences allowed in orthogroup alignments (default = 100).
|
|
163 * **Minimum orthogroup size** - minimum number of sequences allowed in orthogroup alignments (default = 4).
|
6
|
164
|
9
|
165 .. _repository: https://github.com/dePamphilis/PlantTribes/tree/master/config
|
|
166
|
0
|
167 </help>
|
|
168 <citations>
|
|
169 <expand macro="citation1" />
|
6
|
170 <citation type="bibtex">
|
|
171 @article{Wall2008,
|
|
172 journal = {Nucleic Acids Research},
|
|
173 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
174 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
175 year = {2008},
|
|
176 volume = {36},
|
|
177 number = {suppl 1},
|
|
178 pages = {D970-D976},}
|
|
179 </citation>
|
|
180 <citation type="bibtex">
|
|
181 @article{Sasidharan2012,
|
|
182 journal = {Nucleic Acids Research},
|
|
183 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
184 title = {GFam: a platform for automatic annotation of gene families},
|
|
185 year = {2012},
|
|
186 pages = {gks631},}
|
|
187 </citation>
|
|
188 <citation type="bibtex">
|
|
189 @article{Li2003,
|
|
190 journal = {Genome Research}
|
|
191 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
192 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
193 year = {2003},
|
|
194 volume = {13},
|
|
195 number = {9},
|
|
196 pages = {2178-2189},}
|
|
197 </citation>
|
|
198 <citation type="bibtex">
|
|
199 @article{Emms2015,
|
|
200 journal = {Genome Biology}
|
|
201 author = {5. Emms DM, Kelly S},
|
|
202 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
203 year = {2015},
|
|
204 volume = {16},
|
|
205 number = {1},
|
|
206 pages = {157},}
|
|
207 </citation>
|
|
208 <citation type="bibtex">
|
|
209 @article{Stamatakis2014,
|
|
210 journal = {Bioinformatics},
|
|
211 author = {6. Stamatakis A},
|
|
212 title = {RAxML Version 8: A tool for Phylogenetic Analysis and Post-Analysis of Large Phylogenies},
|
|
213 year = {2014},
|
|
214 url = {http://sco.h-its.org/exelixis/web/software/raxml/index.html},}
|
|
215 </citation>
|
|
216 <citation type="bibtex">
|
|
217 @article{Price2010,
|
|
218 journal = {PLoS one},
|
|
219 author = {7. Price MN, Dehal PS, Arkin AP},
|
|
220 title = {FastTree 2-approximately maximim-likelihood trees for large alignments},
|
|
221 year = {2010},
|
|
222 volume = {5},
|
|
223 number = {3},
|
|
224 pages = {e9490},}
|
|
225 </citation>
|
0
|
226 </citations>
|
|
227 </tool>
|