annotate kaks_analysis.xml @ 7:2c46551274d6 draft default tip

Uploaded
author greg
date Tue, 15 Nov 2022 20:45:29 +0000
parents a5639484fb63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
2c46551274d6 Uploaded
greg
parents: 5
diff changeset
1 <tool id="plant_tribes_kaks_analysis" name="KaKsAnalysis" version="@WRAPPER_VERSION@.4.0">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
2 <description>estimates paralogous and orthologous pairwise synonymous (Ks) and non-synonymous (Ka) substitution rates</description>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
3 <macros>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
5 </macros>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
6 <requirements>
7
2c46551274d6 Uploaded
greg
parents: 5
diff changeset
7 <requirement type="package" version="1.0.4">plant_tribes_kaks_analysis</requirement>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
8 </requirements>
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
2f0b8e19286b Uploaded
greg
parents:
diff changeset
10 #set output_dir = 'kaksAnalysis_dir'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
11 #set comparison = $comparison_cond.comparison
2f0b8e19286b Uploaded
greg
parents:
diff changeset
12 #if str($options_type.options_type_selector) == 'advanced':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
13 #set codeml_ctl_file_cond = $options_type.codeml_ctl_file_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
14 #set codeml_ctl_file_select = $codeml_ctl_file_cond.codeml_ctl_file_select
2f0b8e19286b Uploaded
greg
parents:
diff changeset
15 #set fit_components_cond = $options_type.fit_components_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
16 #set fit_components = $fit_components_cond.fit_components
2f0b8e19286b Uploaded
greg
parents:
diff changeset
17 #set recalibrate_cond = $options_type.recalibrate_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
18 #set recalibrate = $recalibrate_cond.recalibrate
2f0b8e19286b Uploaded
greg
parents:
diff changeset
19 #set set_min_coverage_cond = $options_type.set_min_coverage_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
20 #set set_min_coverage = $set_min_coverage_cond.set_min_coverage
2f0b8e19286b Uploaded
greg
parents:
diff changeset
21 #set set_lower_ks_limit_cond = $options_type.set_lower_ks_limit_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
22 #set set_lower_ks_limit = $set_lower_ks_limit_cond.set_lower_ks_limit
2f0b8e19286b Uploaded
greg
parents:
diff changeset
23 #set set_upper_ks_limit_cond = $options_type.set_upper_ks_limit_cond
2f0b8e19286b Uploaded
greg
parents:
diff changeset
24 #set set_upper_ks_limit = $set_upper_ks_limit_cond.set_upper_ks_limit
2f0b8e19286b Uploaded
greg
parents:
diff changeset
25 #else:
2f0b8e19286b Uploaded
greg
parents:
diff changeset
26 #set codeml_ctl_file_select = 'no'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
27 #set fit_components = 'no'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
28 #set set_lower_ks_limit = 'no'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
29 #set set_upper_ks_limit = 'no'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
30 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
31 KaKsAnalysis
2f0b8e19286b Uploaded
greg
parents:
diff changeset
32 --num_threads \${GALAXY_SLOTS:-4}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
33 --coding_sequences_species_1 '$coding_sequences_species_1'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
34 --proteins_species_1 '$proteins_species_1'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
35 --comparison $comparison
2f0b8e19286b Uploaded
greg
parents:
diff changeset
36 #if str($comparison) == 'orthologs':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
37 --coding_sequences_species_2 '$comparison_cond.coding_sequences_species_2'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
38 --proteins_species_2 '$comparison_cond.proteins_species_2'
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
39 #if str($comparison_cond.blast_option) == 'crbblast':
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
40 --crb_blast
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
41 #end if
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
42 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
43 #if str($options_type.options_type_selector) == 'advanced':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
44 #if str($set_min_coverage) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
45 --min_coverage $set_min_coverage_cond.min_coverage
2f0b8e19286b Uploaded
greg
parents:
diff changeset
46 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
47 #if str($recalibrate) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
48 --recalibration_rate $recalibrate_cond.recalibration_rate
2f0b8e19286b Uploaded
greg
parents:
diff changeset
49 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
50 #if str($codeml_ctl_file_select) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
51 --codeml_ctl_file '$codeml_ctl_file_cond.codeml_ctl_file'
2f0b8e19286b Uploaded
greg
parents:
diff changeset
52 # No else block needed here because the default codeml_ctl config
2f0b8e19286b Uploaded
greg
parents:
diff changeset
53 # will be used if the --codeml_ctl_file flag is missing.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
54 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
55 #if str($fit_components) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
56 --fit_components
2f0b8e19286b Uploaded
greg
parents:
diff changeset
57 --num_of_components $fit_components_cond.num_of_components
2f0b8e19286b Uploaded
greg
parents:
diff changeset
58 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
59 #if str($set_lower_ks_limit) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
60 --min_ks $set_lower_ks_limit_cond.min_ks
2f0b8e19286b Uploaded
greg
parents:
diff changeset
61 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
62 #if str($set_upper_ks_limit) == 'yes':
2f0b8e19286b Uploaded
greg
parents:
diff changeset
63 --max_ks $set_upper_ks_limit_cond.max_ks
2f0b8e19286b Uploaded
greg
parents:
diff changeset
64 #end if
2f0b8e19286b Uploaded
greg
parents:
diff changeset
65 #end if
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
66 &>kaks_analysis_log.txt;
48271ee78198 Uploaded
greg
parents: 3
diff changeset
67 if [[ $? -ne 0 ]]; then
48271ee78198 Uploaded
greg
parents: 3
diff changeset
68 cp kaks_analysis_log.txt '$output_species1_fna';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
69 cp kaks_analysis_log.txt '$output_species1_faa';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
70 #if str($comparison) == 'paralogs':
48271ee78198 Uploaded
greg
parents: 3
diff changeset
71 cp kaks_analysis_log.txt '$output_species1_paralog';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
72 cp kaks_analysis_log.txt '$output_rbhb_paralog';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
73 #else:
48271ee78198 Uploaded
greg
parents: 3
diff changeset
74 cp kaks_analysis_log.txt '$output_species2_faa';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
75 cp kaks_analysis_log.txt '$output_species2_fna';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
76 cp kaks_analysis_log.txt '$output_species1_ortholog';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
77 cp kaks_analysis_log.txt '$output_species2_ortholog';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
78 cp kaks_analysis_log.txt '$output_rbhb_ortholog';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
79 #end if
48271ee78198 Uploaded
greg
parents: 3
diff changeset
80 cp kaks_analysis_log.txt '$output_kaks';
48271ee78198 Uploaded
greg
parents: 3
diff changeset
81 #if str($fit_components) == 'yes':
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
82 cp kaks_analysis_log.txt '$output_components';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
83 #end if
48271ee78198 Uploaded
greg
parents: 3
diff changeset
84 else
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
85 mv $output_dir/species1.fna '$output_species1_fna';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
86 mv $output_dir/species1.faa '$output_species1_faa';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
87 #if str($comparison) == 'paralogs':
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
88 mv $output_dir/species1.fna.blastn.paralogs '$output_species1_paralog';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
89 mv $output_dir/*.rbhb '$output_rbhb_paralog';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
90 #else:
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
91 mv $output_dir/species2.faa '$output_species2_faa';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
92 mv $output_dir/species2.fna '$output_species2_fna';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
93 mv $output_dir/species1.fna.blastn.orthologs '$output_species1_ortholog';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
94 mv $output_dir/species2.fna.blastn.orthologs '$output_species2_ortholog';
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
95 mv $output_dir/*.rbhb '$output_rbhb_ortholog';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
96 #end if
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
97 mv $output_dir/*.kaks '$output_kaks';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
98 #if str($fit_components) == 'yes':
5
a5639484fb63 Uploaded
greg
parents: 4
diff changeset
99 mv $output_dir/*.components '$output_components';
4
48271ee78198 Uploaded
greg
parents: 3
diff changeset
100 #end if
48271ee78198 Uploaded
greg
parents: 3
diff changeset
101 fi
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
102 ]]></command>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
103 <inputs>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
104 <param name="coding_sequences_species_1" format="fasta" type="data" label="Coding sequences for the first species" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
105 <param name="proteins_species_1" format="fasta" type="data" label="Protein sequences for the first species" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
106 <conditional name="comparison_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
107 <param name="comparison" type="select" label="Type of sequence comparison">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
108 <option value="paralogs" selected="true">Paralogous</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
109 <option value="orthologs">Orthologous</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
110 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
111 <when value="paralogs" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
112 <when value="orthologs">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
113 <param name="coding_sequences_species_2" format="fasta" type="data" label="Coding sequences for the second species" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
114 <param name="proteins_species_2" format="fasta" type="data" label="Protein sequences for the second species" />
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
115 <param name="blast_option" type="select" display="radio" label="Determine for cross-species orthologs using">
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
116 <option value="blast" selected="true">reciprocal best BLAST</option>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
117 <option value="crbblast">conditional reciprocal best BLAST</option>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
118 </param>
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
119 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
120 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
121 <conditional name="options_type">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
122 <param name="options_type_selector" type="select" label="Options Configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
123 <option value="basic" selected="true">Basic</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
124 <option value="advanced">Advanced</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
125 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
126 <when value="basic" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
127 <when value="advanced">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
128 <conditional name="set_min_coverage_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
129 <param name="set_min_coverage" type="select" label="Alignment coverage configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
130 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
131 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
132 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
133 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
134 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
135 <param name="min_coverage" type="float" value="0.5" min="0.3" max="1.0" label="match score" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
136 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
137 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
138 <conditional name="recalibrate_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
139 <param name="recalibrate" type="select" label="Species rates recalibration configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
140 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
141 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
142 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
143 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
144 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
145 <param name="recalibration_rate" type="float" value="0.0" min="0.0" label="Recalibration rate" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
146 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
147 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
148 <conditional name="codeml_ctl_file_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
149 <param name="codeml_ctl_file_select" type="select" label="PAML codeml configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
150 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
151 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
152 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
153 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
154 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
155 <param name="codeml_ctl_file" format="txt" type="data" label="PAML codeml control file" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
156 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
157 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
158 <conditional name="fit_components_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
159 <param name="fit_components" type="select" label="Rates clustering configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
160 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
161 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
162 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
163 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
164 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
165 <param name="num_of_components" type="integer" value="1" min="1" label="Number of components" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
166 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
167 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
168 <conditional name="set_lower_ks_limit_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
169 <param name="set_lower_ks_limit" type="select" label="Lower limit synonymous subsitution rates configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
170 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
171 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
172 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
173 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
174 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
175 <param name="min_ks" type="float" value="0.0" min="0.0" label="Minimum rate" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
176 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
177 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
178 <conditional name="set_upper_ks_limit_cond">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
179 <param name="set_upper_ks_limit" type="select" label="Upper limit synonymous subsitution rates configuration">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
180 <option value="no" selected="true">No</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
181 <option value="yes">Yes</option>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
182 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
183 <when value="no" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
184 <when value="yes">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
185 <param name="max_ks" type="float" value="0.0" min="0.0" label="Maximum rate" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
186 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
187 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
188 </when>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
189 </conditional>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
190 <!-- Required due to the Emmix license -->
2f0b8e19286b Uploaded
greg
parents:
diff changeset
191 <param name="non_commercial_use" label="I certify that I am not using this tool for commercial purposes." type="boolean" truevalue="NON_COMMERCIAL_USE" falsevalue="COMMERCIAL_USE" checked="False">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
192 <validator type="expression" message="This tool is only available for non-commercial use.">value == True</validator>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
193 </param>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
194 </inputs>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
195 <outputs>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
196 <data name="output_species1_fna" format="fasta" label="${tool.name} (coding sequences species1) on ${on_string}" />
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
197 <data name="output_species1_faa" format="fasta" label="${tool.name} (amino acids species1) on ${on_string}" />
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
198 <data name="output_species2_fna" format="fasta" label="${tool.name} (coding sequences species2) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
199 <filter>comparison_cond['comparison'] == 'orthologs'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
200 </data>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
201 <data name="output_species2_faa" format="fasta" label="${tool.name} (amino acids species2) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
202 <filter>comparison_cond['comparison'] == 'orthologs'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
203 </data>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
204 <data name="output_species1_paralog" format="tabular" label="${tool.name} (blastn results species1 vs species1) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
205 <filter>comparison_cond['comparison'] == 'paralogs'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
206 </data>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
207 <data name="output_species1_ortholog" format="tabular" label="${tool.name} (blastn results species1 vs species2) on ${on_string}">
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
208 <filter>comparison_cond['comparison'] == 'orthologs'</filter>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
209 </data>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
210 <data name="output_species2_ortholog" format="tabular" label="${tool.name} (blastn results species2 vs species1) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
211 <filter>comparison_cond['comparison'] == 'orthologs'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
212 </data>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
213 <data name="output_rbhb_paralog" format="tabular" label="${tool.name} (paralogous pairs) on ${on_string}">
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
214 <filter>comparison_cond['comparison'] == 'paralogs'</filter>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
215 </data>
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
216 <data name="output_rbhb_ortholog" format="tabular" label="${tool.name} (orthologous pairs) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
217 <filter>comparison_cond['comparison'] == 'orthologs'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
218 </data>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
219 <data name="output_kaks" format="tabular" label="${tool.name} (KaKs distribution) on ${on_string}" />
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
220 <data name="output_components" format="ptkscmp" label="${tool.name} (significant components in the KaKs distribution) on ${on_string}">
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
221 <filter>options_type['options_type_selector'] == 'advanced' and options_type['fit_components_cond']['fit_components'] == 'yes'</filter>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
222 </data>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
223 </outputs>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
224 <tests>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
225 <test>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
226 <param name="coding_sequences_species_1" value="species1_cds.fasta" ftype="fasta"/>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
227 <param name="proteins_species_1" value="species1_pep.fasta" ftype="fasta"/>
1
3aca88613abf Uploaded
greg
parents: 0
diff changeset
228 <param name="non_commercial_use" value="True"/>
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
229 <output name="output_species1_fna" file="species1_cds.fasta" ftype="fasta" compare="contains"/>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
230 <output name="output_species1_faa" file="species1_pep.fasta" ftype="fasta" compare="contains"/>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
231 <output name="output_species1_paralog" file="output_blastn_results1.tabular" ftype="tabular" compare="contains"/>
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
232 <output name="output_rbhb_paralog" file="output_paralogous_pairs.tabular" ftype="tabular"/>
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
233 <output name="output_kaks" file="output1.tabular" ftype="tabular"/>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
234 </test>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
235 </tests>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
236 <help>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
237 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary analyses
2f0b8e19286b Uploaded
greg
parents:
diff changeset
238 of genome-scale gene families and transcriptomes. This tool estimates paralogous and orthologous pairwise synonymous (Ks) and
2f0b8e19286b Uploaded
greg
parents:
diff changeset
239 non-synonymous (Ka) substitution rates for a set of gene coding sequences either produced by the AssemblyPostProcessor tool or
2f0b8e19286b Uploaded
greg
parents:
diff changeset
240 from an external source. Optionally, the resulting set of estimated Ks values can be clustered into components using a mixture
2f0b8e19286b Uploaded
greg
parents:
diff changeset
241 of multivariate normal distributions to identify significant duplication event(s) in a species or a pair of species.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
242
2f0b8e19286b Uploaded
greg
parents:
diff changeset
243 -----
2f0b8e19286b Uploaded
greg
parents:
diff changeset
244
2f0b8e19286b Uploaded
greg
parents:
diff changeset
245 * **Required options**
2f0b8e19286b Uploaded
greg
parents:
diff changeset
246
2f0b8e19286b Uploaded
greg
parents:
diff changeset
247 - **Coding sequences for the first species** - coding sequence fasta file for the first species either produced by the AssemblyPostProcessor tool or from an external source selected from your history.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
248 - **Protein sequences for the first species** - corresponding protein sequence fasta files for the first species either produced by the AssemblyPostProcessor tool or from an external source selected from your history.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
249 - **Type of sequence comparison** - pairwise sequence comparison to determine homologous pairs. This can be either paralogous for self-species comparison or orthologous for cross-species comparison. Cross-species comparison requires input for the second species.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
250
2f0b8e19286b Uploaded
greg
parents:
diff changeset
251 * **Other options**
2f0b8e19286b Uploaded
greg
parents:
diff changeset
252
2f0b8e19286b Uploaded
greg
parents:
diff changeset
253 - **Coding sequences for the second species** - coding sequence fasta file for the second species either produced by the AssemblyPostProcessor tool or from an external source selected from your history. This option is required only for orthologous comparison.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
254 - **Protein sequences for the second species** - corresponding protein sequence fasta files for the second species either produced by the AssemblyPostProcessor tool or from an external source selected from your history. This option is required only for orthologous comparison.
3
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
255
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
256 - **Determine for cross-species orthologs using** - select option for blast orthology.
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
257
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
258 - **reciprocal best BLAST** - use the default stringent reciprocal BLAST package for orthology assignment.
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
259 - **conditional reciprocal best BLAST** - use the CRB-BLAST package for orthology assignment which increases sensitivity to orthology comparisons and determines additional cross-species orthologs that are being left out by the defaul stringent reciprocal BLAST.
1fb0f2092177 Uploaded
greg
parents: 2
diff changeset
260
0
2f0b8e19286b Uploaded
greg
parents:
diff changeset
261 - **Alignment coverage configuration** - select 'Yes' to set the minimum allowable alignment coverage length between homologous pairs. PlantTribes uses global codon alignment match score to determine the pairwise alignment coverage. By default, the match score is set to 0.5 if 'No' is selected.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
262
2f0b8e19286b Uploaded
greg
parents:
diff changeset
263 - **match score** - number of base matches in a pairwise sequence alignment divided by the length of shorter sequence. Positions in the alignment corresponding to gaps are not considered. The score is restricted to the range 0.3 - 1.0.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
264
2f0b8e19286b Uploaded
greg
parents:
diff changeset
265 - **Species rates recalibration configuration** - select 'Yes' to recalibrate synonymous substitution rates of a species using a predetermined evolutionary rate. Recalibration evolutionary rate can be determined from a species tree inferred from a collection of conserved single copy genes from taxa of interest as described in [7]. Rate recalibration applies only to paralogous comparisons.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
266
2f0b8e19286b Uploaded
greg
parents:
diff changeset
267 - **recalibration rate** - a predetermined evolutionary recalibration rate.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
268
2f0b8e19286b Uploaded
greg
parents:
diff changeset
269 - **PAML codeml configuration** - select 'Yes' to enable selection of a PAML codeml control file to carry out maximum likelihood analysis of protein-coding DNA sequences using codon substitution models. Template file "codeml.ctl.args" can be found in the scaffold data installed into Galaxy via the PlantTribes Scaffolds Download Data Manager tool, and are also available at the PlantTribes GitHub `repository`_. Default settings shown in the template are used if 'No' is selected.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
270 - **Rates clustering configuration** - select 'Yes' to estimate clusters of synonymous substitution rates using a mixture of multivariate normal distributions which represent putative duplication event(s).
2f0b8e19286b Uploaded
greg
parents:
diff changeset
271
2f0b8e19286b Uploaded
greg
parents:
diff changeset
272 - **Number of components** - number of components to include in the normal mixture model.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
273
2f0b8e19286b Uploaded
greg
parents:
diff changeset
274 - **Lower limit synonymous substitution rates configuration** - select 'Yes' to set the minimum allowable synonymous substitution rate to use in the normal mixtures cluster analysis to exclude young paralogs that arise from normal gene births and deaths in a genome.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
275
2f0b8e19286b Uploaded
greg
parents:
diff changeset
276 - **Minimum rate** - minimum allowable synonymous substitution rate.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
277
2f0b8e19286b Uploaded
greg
parents:
diff changeset
278 - **Upper limit synonymous substitution rates configuration** - select 'Yes' to set the maximum allowable synonymous substitution rate to use in the normal mixtures cluster analysis to exclude likely ancient paralogs in a genome.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
279
2f0b8e19286b Uploaded
greg
parents:
diff changeset
280 - **Maximum rate** - maximum allowable synonymous substitution rate.
2f0b8e19286b Uploaded
greg
parents:
diff changeset
281
2f0b8e19286b Uploaded
greg
parents:
diff changeset
282 .. _repository: https://github.com/dePamphilis/PlantTribes/blob/master/config/codeml.ctl.args
2f0b8e19286b Uploaded
greg
parents:
diff changeset
283
2f0b8e19286b Uploaded
greg
parents:
diff changeset
284 </help>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
285 <citations>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
286 <expand macro="citation1" />
2f0b8e19286b Uploaded
greg
parents:
diff changeset
287 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
288 @article{Wall2008,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
289 journal = {Nucleic Acids Research},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
290 author = {2. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
291 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
292 year = {2008},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
293 volume = {36},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
294 number = {suppl 1},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
295 pages = {D970-D976},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
296 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
297 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
298 @article{Altschul1990,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
299 journal = {Journal of molecular biology}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
300 author = {3. Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
301 title = {Basic local alignment search tool},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
302 year = {1990},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
303 volume = {215},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
304 number = {3},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
305 pages = {403-410},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
306 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
307 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
308 @article{Katoh2013,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
309 journal = {Molecular biology and evolution},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
310 author = {4. Katoh K, Standley DM},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
311 title = {MAFFT multiple sequence alignment software version 7: improvements in performance and usability},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
312 year = {2013},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
313 volume = {30},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
314 number = {4},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
315 pages = {772-780},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
316 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
317 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
318 @article{Yang2007,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
319 journal = {Molecular biology and evolution},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
320 author = {5. Yang Z},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
321 title = {PAML 4: phylogenetic analysis by maximum likelihood},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
322 year = {2007},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
323 volume = {24},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
324 number = {8},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
325 pages = {1586-1591},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
326 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
327 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
328 @article{McLachlan1999,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
329 journal = {Journal of Statistical Software},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
330 author = {6. McLachlan GJ, Peel D, Basford KE, Adams P},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
331 title = {The EMMIX software for the fitting of mixtures of normal and t-components},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
332 year = {1999},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
333 volume = {4},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
334 number = {2},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
335 pages = {1-14},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
336 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
337 <citation type="bibtex">
2f0b8e19286b Uploaded
greg
parents:
diff changeset
338 @article{Cui2006,
2f0b8e19286b Uploaded
greg
parents:
diff changeset
339 journal = {Genome Research},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
340 author = {7. Cui L, Wall PK, Leebens-Mack JH, Lindsay BG, Soltis DE, Doyle JJ, Soltis PS, Carlson JE, Arumuganathan K, Barakat A, Albert VA},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
341 title = {Widespread genome duplications throughout the history of flowering plants},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
342 year = {2006},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
343 volume = {16},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
344 number = {6},
2f0b8e19286b Uploaded
greg
parents:
diff changeset
345 pages = {738-749},}
2f0b8e19286b Uploaded
greg
parents:
diff changeset
346 </citation>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
347 </citations>
2f0b8e19286b Uploaded
greg
parents:
diff changeset
348 </tool>