annotate gene_family_phylogeny_builder.xml @ 11:800402ed6eb7 draft

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