70
|
1 <tool id="plant_tribes_phylogenomics_analysis" name="PhylogenomicsAnalysis" version="0.6.0">
|
|
2 <description>builds gene family multiple sequence alignments and their corresponding phylogenies</description>
|
73
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements" />
|
|
7 <expand macro="stdio" />
|
0
|
8 <command>
|
|
9 <![CDATA[
|
73
|
10 #set input_format = $input_format_cond.input_format
|
|
11 #set scaffold = $input_format_cond.scaffold
|
|
12 #set method = $input_format_cond.method
|
98
|
13
|
|
14 #if str($input_format) == 'ptortho':
|
|
15 #set options_type_cond = $input_format_cond.options_type_cond
|
|
16 #else:
|
|
17 #set orthogroup_fna_cond = $input_format_cond.orthogroup_fna_cond
|
|
18 #set orthogroup_fna= $orthogroup_fna_cond.orthogroup_fna
|
|
19 #set options_type_cond = $orthogroup_fna_cond.options_type_cond
|
103
|
20 #end if
|
73
|
21 #set options_type= $options_type_cond.options_type
|
|
22
|
|
23 #if str($options_type) == 'advanced':
|
98
|
24 #if str($input_format) == 'ptortho':
|
99
|
25 @REMOVE_GAPPY_SEQUENCES_COND_PREP@
|
|
26 @SET_PHYLOGENETIC_TREES_PREP@
|
98
|
27 #if str($phylogenetic_trees) == 'yes':
|
99
|
28 @TREE_INFERENCE_COND_PREP@
|
98
|
29 #end if
|
82
|
30 #else:
|
98
|
31 ## str($input_format) == 'ptorthocs'
|
|
32 #set orthogroup_fna_cond = $input_format_cond.orthogroup_fna_cond
|
|
33 #set orthogroup_fna = $orthogroup_fna_cond.orthogroup_fna
|
|
34 #set options_type_cond = orthogroup_fna_cond.options_type_cond
|
|
35 #set options_type = $options_type_cond.options_type
|
|
36 #if str($orthogroup_fna) == 'yes':
|
|
37 #if str(options_type) == 'advanced':
|
99
|
38 @REMOVE_GAPPY_SEQUENCES_COND_PREP@
|
98
|
39 #set multiple_codon_alignments = $options_type_cond.multiple_codon_alignments
|
99
|
40 @SET_PHYLOGENETIC_TREES_PREP@
|
98
|
41 #if str($phylogenetic_trees) == 'yes':
|
99
|
42 @TREE_INFERENCE_COND_PREP@
|
98
|
43 #end if
|
|
44 #end if
|
|
45 #else:
|
|
46 #if str(options_type) == 'advanced':
|
99
|
47 @REMOVE_GAPPY_SEQUENCES_COND_PREP@
|
|
48 @SET_PHYLOGENETIC_TREES_PREP@
|
98
|
49 #if str($phylogenetic_trees) == 'yes':
|
99
|
50 @TREE_INFERENCE_COND_PREP@
|
98
|
51 #set sequence_type = $phylogenetic_trees_cond.sequence_type
|
|
52 #end if
|
|
53 #end if
|
|
54 #end if
|
82
|
55 #end if
|
14
|
56 #end if
|
|
57
|
65
|
58 python $__tool_directory__/phylogenomics_analysis.py
|
60
|
59 --config_dir '$scaffold.fields.path'
|
58
|
60 --scaffold '$scaffold.fields.path'
|
0
|
61 --method $method
|
99
|
62 --num_threads \${GALAXY_SLOTS:-4}
|
14
|
63
|
99
|
64 #if str($input_format) == 'ptortho':
|
|
65 --orthogroup_faa '$input_format_cond.input_ptortho.extra_files_path'
|
|
66 #if str($options_type) == 'advanced':
|
|
67 @REMOVE_GAPPY_SEQUENCES_COND_CMD@
|
|
68 #if str($phylogenetic_trees) == 'yes':
|
|
69 @TREE_INFERENCE_COND_CMD@
|
|
70 --sequence_type 'protein'
|
0
|
71 #end if
|
|
72 #end if
|
99
|
73 #else:
|
|
74 ## str($input_format) == 'ptorthocs'
|
|
75 --orthogroup_faa '$input_format_cond.input_ptorthocs.extra_files_path'
|
|
76 #if str($orthogroup_fna) == 'yes':
|
|
77 --orthogroup_fna 'true'
|
|
78 #if str(options_type) == 'advanced':
|
|
79 @REMOVE_GAPPY_SEQUENCES_COND_CMD@
|
|
80 #if str($multiple_codon_alignments) == 'yes':
|
|
81 --codon_alignments 'true'
|
14
|
82 #end if
|
99
|
83 #if str($phylogenetic_trees) == 'yes':
|
|
84 @TREE_INFERENCE_COND_CMD@
|
|
85 --sequence_type = $phylogenetic_trees_cond.sequence_type
|
|
86 #end if
|
0
|
87 #end if
|
99
|
88 #else:
|
|
89 #if str(options_type) == 'advanced':
|
|
90 @REMOVE_GAPPY_SEQUENCES_COND_CMD@
|
|
91 #if str($phylogenetic_trees) == 'yes':
|
|
92 @TREE_INFERENCE_COND_CMD@
|
|
93 --sequence_type = $phylogenetic_trees_cond.sequence_type
|
|
94 #end if
|
0
|
95 #end if
|
|
96 #end if
|
|
97 #end if
|
14
|
98
|
51
|
99 #if str($input_format) == 'ptortho':
|
65
|
100 --output_ptortho '$output_ptortho'
|
|
101 --output_ptortho_dir '$output_ptortho.files_path'
|
42
|
102 #else:
|
65
|
103 --output_ptorthocs '$output_ptorthocs'
|
|
104 --output_ptorthocs_dir '$output_ptorthocs.files_path'
|
42
|
105 #end if
|
105
|
106 @OUTPUT_ALN@
|
|
107 @OUTPUT_TREE@
|
0
|
108 ]]>
|
|
109 </command>
|
|
110 <inputs>
|
42
|
111 <conditional name="input_format_cond">
|
|
112 <param name="input_format" type="select" label="Select type of data to sub sample">
|
53
|
113 <option value="ptortho">Precomputed orthologous gene family clusters</option>
|
|
114 <option value="ptorthocs">Precomputed orthologous gene family clusters with corresponding coding sequences</option>
|
42
|
115 </param>
|
51
|
116 <when value="ptortho">
|
|
117 <param name="input_ptortho" format="ptortho" type="data" label="Precomputed orthologous gene family clusters" />
|
73
|
118 <expand macro="param_scaffold" />
|
|
119 <expand macro="param_method" />
|
|
120 <conditional name="options_type_cond">
|
|
121 <expand macro="param_options_type" />
|
|
122 <when value="basic" />
|
|
123 <when value="advanced">
|
98
|
124 <expand macro="cond_remove_gappy_sequences" />
|
80
|
125 <expand macro="cond_phylogenetic_trees_ptortho" />
|
42
|
126 </when>
|
|
127 </conditional>
|
|
128 </when>
|
73
|
129 <when value="ptorthocs">
|
|
130 <param name="input_ptorthocs" format="ptorthocs" type="data" label="Precomputed orthologous gene family clusters with corresponding coding sequences" />
|
|
131 <expand macro="param_scaffold" />
|
|
132 <expand macro="param_method" />
|
84
|
133 <expand macro="cond_orthogroup_fna" />
|
0
|
134 </when>
|
|
135 </conditional>
|
|
136 </inputs>
|
|
137 <outputs>
|
100
|
138 <expand macro="output_ptortho" />
|
|
139 <expand macro="output_ptorthocs" />
|
|
140 <expand macro="output_aln" />
|
|
141 <expand macro="output_tree" />
|
0
|
142 </outputs>
|
|
143 <tests>
|
|
144 <test>
|
|
145 </test>
|
|
146 </tests>
|
|
147 <help>
|
71
|
148 This tool is one of the PlantTribes collection of automated modular analysis pipelines that utilize objective classifications of
|
59
|
149 complete protein sequences from sequenced plant genomes to perform comparative evolutionary studies. It performs phylogenomic
|
|
150 analyses by creating multiple sequence alignments and inferred maximum likelihood phylogenies for orthogroups produced by the
|
|
151 **Classify gene sequences into precomputed orthologous gene family clusters** tool.
|
0
|
152
|
59
|
153 -----
|
0
|
154
|
59
|
155 **Options**
|
0
|
156
|
69
|
157 * **Required**
|
18
|
158
|
59
|
159 - **Select gene family clusters** - Sequences classified into gene family clusters, optionally including corresponding coding sequences.
|
|
160 - **Orthogroups or gene families proteins scaffold** - PlantTribes scaffolds data.
|
|
161 - **Protein clustering method** - One of GFam (domain architecture based clustering), OrthoFinder (broadly defined clusters) or OrthoMCL (narrowly defined clusters).
|
|
162
|
69
|
163 * **Multiple sequence alignments**
|
14
|
164
|
59
|
165 - **Select method for multiple sequence alignments** - Method used for setting multiple sequence alignments.
|
|
166 - **Input sequences include corresponding coding sequences?** - Selecting 'Yes' for this option requires that the selected input data format is 'ptorthocs'.
|
|
167 - **Construct orthogroup multiple codon alignments?** - Construct orthogroup multiple codon alignments.
|
|
168 - **Sequence type used in the phylogenetic inference** - Sequence type (dna or amino acid) used in the phylogenetic inference.
|
|
169 - **Use corresponding coding sequences?** - Selecting 'Yes' for this option requires that the selected input data format is 'ptorthocs' or this tool will produce an error.
|
14
|
170
|
69
|
171 * **Phylogenetic trees**
|
15
|
172
|
59
|
173 - **Phylogenetic trees inference method** - Phylogenetic trees inference method.
|
|
174 - **Select rooting order configuration for rooting trees??** - If 'No' is selected, trees will be rooted using the most distant taxon present in the orthogroup.
|
|
175 - **Number of replicates for rapid bootstrap analysis and search for the best-scoring ML tree** - Number of replicates for rapid bootstrap analysis and search for the best-scoring ML tree.
|
|
176 - **Maximum number of sequences in orthogroup alignments** - Maximum number of sequences in orthogroup alignments.
|
|
177 - **Minimum number of sequences in orthogroup alignments** - Minimum number of sequences in orthogroup alignments.
|
14
|
178
|
69
|
179 * **MSA quality control**
|
14
|
180
|
59
|
181 - **Remove sequences with gaps of** - Removes gappy sequences in alignments (i.e., 0.5 removes sequences with 50% gaps).
|
|
182 - **Select process used for gap trimming** - Either nucleotide based trimming or alignments are trimed using using trimAl's ML heuristic trimming approach.
|
|
183 - **Remove sites in alignments with gaps of** - If the process used for gap trimming is nucleotide based, this is the gap value used when removing gappy sites in alignments (i.e., 0.1 removes sites with 90% gaps).
|
14
|
184
|
0
|
185 </help>
|
73
|
186 <expand macro="citations" />
|
0
|
187 </tool>
|