46
|
1 <tool id="plant_tribes_gene_family_phylogeny_builder" name="GeneFamilyPhylogenyBuilder" version="@WRAPPER_VERSION@.3.0">
|
6
|
2 <description>builds phylogenetic trees of aligned orthologous gene family clusters</description>
|
0
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
51
|
6 <requirements>
|
|
7 <requirement type="package" version="1.0.3">plant_tribes_gene_family_phylogeny_builder</requirement>
|
|
8 </requirements>
|
38
|
9 <command detect_errors="exit_code"><![CDATA[
|
46
|
10 #set input_dir = 'input_dir'
|
38
|
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
|
46
|
20 mkdir $input_dir &&
|
47
|
21 #for $i in $input:
|
48
|
22 #set filename = $i.file_name
|
51
|
23 #set name = $i.name
|
50
|
24 ln -s $filename $input_dir/$name &&
|
46
|
25 #end for
|
43
|
26 GeneFamilyPhylogenyBuilder
|
46
|
27 --orthogroup_aln '$input_dir'
|
38
|
28 --scaffold '$scaffold.fields.path'
|
|
29 --config_dir '$scaffold.fields.path'
|
|
30 --method $method
|
|
31 --tree_inference $tree_inference
|
|
32 #if str($tree_inference) == 'raxml':
|
|
33 #if str($rooting_order_file) == 'yes':
|
|
34 --rooting_order '$rooting_order'
|
|
35 ## No else block needed here because the default rooting_order
|
|
36 ## configuration will be used if the --rooting_order flag is missing.
|
|
37 #end if
|
|
38 --bootstrap_replicates $bootstrap_replicates
|
|
39 #end if
|
|
40 --min_orthogroup_size $min_orthogroup_size
|
|
41 --max_orthogroup_size $max_orthogroup_size
|
|
42 --num_threads \${GALAXY_SLOTS:-4}
|
|
43 ]]></command>
|
0
|
44 <inputs>
|
46
|
45 <param name="input" format="fasta" type="data_collection" collection_type="list" label="Proteins orthogroup alignments" />
|
0
|
46 <expand macro="param_scaffold" />
|
|
47 <expand macro="param_method" />
|
|
48 <conditional name="tree_inference_cond">
|
6
|
49 <param name="tree_inference" type="select" label="Phylogenetic inference method">
|
0
|
50 <option value="raxml" selected="true">RAxML</option>
|
|
51 <option value="fasttree">FastTree</option>
|
|
52 </param>
|
|
53 <when value="raxml">
|
|
54 <conditional name="rooting_order_file_cond">
|
7
|
55 <param name="rooting_order_file" type="select" label="Rooting order configuration">
|
0
|
56 <option value="no" selected="true">No</option>
|
|
57 <option value="yes">Yes</option>
|
|
58 </param>
|
|
59 <when value="no" />
|
|
60 <when value="yes">
|
11
|
61 <param name="rooting_order" format="txt" type="data" label="Rooting order configuration" />
|
0
|
62 </when>
|
|
63 </conditional>
|
6
|
64 <param name="bootstrap_replicates" type="integer" value="100" min="0" label="Bootstrap replicates" />
|
0
|
65 </when>
|
|
66 <when value="fasttree" />
|
|
67 </conditional>
|
27
|
68 <param name="max_orthogroup_size" type="integer" value="100" min="4" label="Maximum orthogroup size" />
|
|
69 <param name="min_orthogroup_size" type="integer" value="4" min="4" label="Minimum orthogroup size" />
|
0
|
70 </inputs>
|
|
71 <outputs>
|
43
|
72 <collection name="tree" type="list" label="${tool.name} (phylogenetic trees) on ${on_string}">
|
29
|
73 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/orthogroups_tree" format="nhx" />
|
|
74 </collection>
|
43
|
75 <collection name="phylip" type="list" label="${tool.name} (orthogroup phylip multiple sequence alignments) on ${on_string}">
|
25
|
76 <filter>tree_inference_cond['tree_inference'] == 'raxml'</filter>
|
43
|
77 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/phylip_aln" format="phylip" />
|
|
78 </collection>
|
0
|
79 </outputs>
|
|
80 <tests>
|
|
81 <test>
|
|
82 </test>
|
|
83 </tests>
|
|
84 <help>
|
6
|
85 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary
|
|
86 analyses of genome-scale gene families and transcriptomes. This tool performs gene family phylogenetic inference of
|
|
87 multiple sequence alignments produced by the GeneFamilyAligner tool.
|
0
|
88
|
|
89 -----
|
|
90
|
|
91 **Required options**
|
|
92
|
6
|
93 * **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.
|
|
94 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds installed into Galaxy by the PlantTribes Scaffold Download Data Manager tool.
|
11
|
95 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
|
6
|
96 * **Phylogenetic inference method** - method for estimating orthogroup maximum likelihood (ML) phylogenetic trees. PlantTribes estimates ML phylogenetic trees using either RAxML or FastTree algorithms.
|
|
97
|
0
|
98 **Other options**
|
|
99
|
7
|
100 * **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
|
101 * **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
|
102 * **Maximum orthogroup size** - maximum number of sequences allowed in orthogroup alignments (default = 100).
|
|
103 * **Minimum orthogroup size** - minimum number of sequences allowed in orthogroup alignments (default = 4).
|
6
|
104
|
9
|
105 .. _repository: https://github.com/dePamphilis/PlantTribes/tree/master/config
|
|
106
|
0
|
107 </help>
|
|
108 <citations>
|
|
109 <expand macro="citation1" />
|
6
|
110 <citation type="bibtex">
|
|
111 @article{Wall2008,
|
|
112 journal = {Nucleic Acids Research},
|
|
113 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
|
|
114 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
|
|
115 year = {2008},
|
|
116 volume = {36},
|
|
117 number = {suppl 1},
|
|
118 pages = {D970-D976},}
|
|
119 </citation>
|
|
120 <citation type="bibtex">
|
|
121 @article{Sasidharan2012,
|
|
122 journal = {Nucleic Acids Research},
|
|
123 author = {3. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
|
|
124 title = {GFam: a platform for automatic annotation of gene families},
|
|
125 year = {2012},
|
|
126 pages = {gks631},}
|
|
127 </citation>
|
|
128 <citation type="bibtex">
|
|
129 @article{Li2003,
|
|
130 journal = {Genome Research}
|
|
131 author = {4. Li L, Stoeckert CJ, Roos DS},
|
|
132 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
|
|
133 year = {2003},
|
|
134 volume = {13},
|
|
135 number = {9},
|
|
136 pages = {2178-2189},}
|
|
137 </citation>
|
|
138 <citation type="bibtex">
|
|
139 @article{Emms2015,
|
|
140 journal = {Genome Biology}
|
|
141 author = {5. Emms DM, Kelly S},
|
|
142 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
|
|
143 year = {2015},
|
|
144 volume = {16},
|
|
145 number = {1},
|
|
146 pages = {157},}
|
|
147 </citation>
|
|
148 <citation type="bibtex">
|
|
149 @article{Stamatakis2014,
|
|
150 journal = {Bioinformatics},
|
|
151 author = {6. Stamatakis A},
|
|
152 title = {RAxML Version 8: A tool for Phylogenetic Analysis and Post-Analysis of Large Phylogenies},
|
|
153 year = {2014},
|
|
154 url = {http://sco.h-its.org/exelixis/web/software/raxml/index.html},}
|
|
155 </citation>
|
|
156 <citation type="bibtex">
|
|
157 @article{Price2010,
|
|
158 journal = {PLoS one},
|
|
159 author = {7. Price MN, Dehal PS, Arkin AP},
|
|
160 title = {FastTree 2-approximately maximim-likelihood trees for large alignments},
|
|
161 year = {2010},
|
|
162 volume = {5},
|
|
163 number = {3},
|
|
164 pages = {e9490},}
|
|
165 </citation>
|
40
|
166 <citation type="bibtex">
|
|
167 @article{Nascimento2016,
|
|
168 journal = {Bioinformatics},
|
|
169 author = {8. Nascimento M, Sousa A, Ramirez M, Francisco AP, CarriƧo JA, Vaz C},
|
|
170 title = {PHYLOViZ 2.0: providing scalable data integration and visualization for multiple phylogenetic inference methods},
|
|
171 year = {2016},
|
|
172 volume = {33},
|
|
173 number = {1},
|
|
174 pages = {128-129},}
|
|
175 </citation>
|
0
|
176 </citations>
|
|
177 </tool>
|