annotate gene_family_classifier.xml @ 1:95cb5d32a3b4 draft

Uploaded
author greg
date Tue, 01 Aug 2017 14:25:47 -0400
parents f8603464bea7
children 8ec75782a05b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f8603464bea7 Uploaded
greg
parents:
diff changeset
1 <tool id="plant_tribes_gene_family_classifier" name="GeneFamilyClassifier" version="@WRAPPER_VERSION@.0">
f8603464bea7 Uploaded
greg
parents:
diff changeset
2 <description>classifies gene sequences into pre-computed orthologous gene family clusters</description>
f8603464bea7 Uploaded
greg
parents:
diff changeset
3 <macros>
f8603464bea7 Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
f8603464bea7 Uploaded
greg
parents:
diff changeset
5 </macros>
f8603464bea7 Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements_gene_family_classifier" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
f8603464bea7 Uploaded
greg
parents:
diff changeset
8 #if str($options_type.options_type_selector) == 'advanced':
f8603464bea7 Uploaded
greg
parents:
diff changeset
9 #set specify_super_orthogroups_cond = $options_type.specify_super_orthogroups_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
10 #set specify_super_orthogroups = $specify_super_orthogroups_cond.specify_super_orthogroups
f8603464bea7 Uploaded
greg
parents:
diff changeset
11 #set create_orthogroup_cond = $options_type.create_orthogroup_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
12 #set create_orthogroup = $create_orthogroup_cond.create_orthogroup
f8603464bea7 Uploaded
greg
parents:
diff changeset
13 #set specify_single_copy_cond = $options_type.specify_single_copy_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
14 #set specify_single_copy = $specify_single_copy_cond.specify_single_copy
f8603464bea7 Uploaded
greg
parents:
diff changeset
15 #if str($specify_super_orthogroups) == 'yes':
f8603464bea7 Uploaded
greg
parents:
diff changeset
16 #set specify_super_orthos = True
f8603464bea7 Uploaded
greg
parents:
diff changeset
17 #set super_orthogroups = $specify_super_orthogroups_cond.super_orthogroups
f8603464bea7 Uploaded
greg
parents:
diff changeset
18 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
19 #set specify_super_orthos = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
20 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
21 #if str($create_orthogroup) == 'yes':
f8603464bea7 Uploaded
greg
parents:
diff changeset
22 #set create_ortho_sequences = True
f8603464bea7 Uploaded
greg
parents:
diff changeset
23 #set create_corresponding_coding_sequences_cond = $create_orthogroup_cond.create_corresponding_coding_sequences_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
24 #if str($create_corresponding_coding_sequences_cond.create_corresponding_coding_sequences) == 'yes':
f8603464bea7 Uploaded
greg
parents:
diff changeset
25 #set create_corresponding_coding_sequences = True
f8603464bea7 Uploaded
greg
parents:
diff changeset
26 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
27 #set create_corresponding_coding_sequences = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
28 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
29 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
30 #set create_ortho_sequences = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
31 #set create_corresponding_coding_sequences = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
32 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
33 #if str($specify_single_copy) == 'yes':
f8603464bea7 Uploaded
greg
parents:
diff changeset
34 #set single_copy_orthogroup = True
f8603464bea7 Uploaded
greg
parents:
diff changeset
35 #set single_copy_cond = $specify_single_copy_cond.single_copy_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
36 #set single_copy = $single_copy_cond.single_copy
f8603464bea7 Uploaded
greg
parents:
diff changeset
37 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
38 #set single_copy_orthogroup = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
39 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
40 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
41 #set single_copy_orthogroup = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
42 #set create_ortho_sequences = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
43 #set create_corresponding_coding_sequences = False
f8603464bea7 Uploaded
greg
parents:
diff changeset
44 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
45
1
95cb5d32a3b4 Uploaded
greg
parents: 0
diff changeset
46 python '$__tool_directory__/gene_family_classifier.py'
0
f8603464bea7 Uploaded
greg
parents:
diff changeset
47 --input '$input'
f8603464bea7 Uploaded
greg
parents:
diff changeset
48 --scaffold '$scaffold.fields.path'
f8603464bea7 Uploaded
greg
parents:
diff changeset
49 --method $method
f8603464bea7 Uploaded
greg
parents:
diff changeset
50 --classifier $save_hmmscan_log_cond.classifier
f8603464bea7 Uploaded
greg
parents:
diff changeset
51 --config_dir '$scaffold.fields.path'
f8603464bea7 Uploaded
greg
parents:
diff changeset
52 --num_threads \${GALAXY_SLOTS:-4}
f8603464bea7 Uploaded
greg
parents:
diff changeset
53
f8603464bea7 Uploaded
greg
parents:
diff changeset
54 #if str($options_type.options_type_selector) == 'advanced':
f8603464bea7 Uploaded
greg
parents:
diff changeset
55 #if specify_super_orthos:
f8603464bea7 Uploaded
greg
parents:
diff changeset
56 --super_orthogroups $super_orthogroups
f8603464bea7 Uploaded
greg
parents:
diff changeset
57 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
58 #if $single_copy_orthogroup:
f8603464bea7 Uploaded
greg
parents:
diff changeset
59 #if str($single_copy) == 'custom':
f8603464bea7 Uploaded
greg
parents:
diff changeset
60 #set single_copy_custom_cond = $single_copy_cond.single_copy_custom_cond
f8603464bea7 Uploaded
greg
parents:
diff changeset
61 #set single_copy_custom = $single_copy_custom_cond.single_copy_custom
f8603464bea7 Uploaded
greg
parents:
diff changeset
62 #if str($single_copy_custom) == 'no':
1
95cb5d32a3b4 Uploaded
greg
parents: 0
diff changeset
63 --single_copy_custom default
0
f8603464bea7 Uploaded
greg
parents:
diff changeset
64 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
65 --single_copy_custom '$single_copy_custom_cond.single_copy_custom_config'
f8603464bea7 Uploaded
greg
parents:
diff changeset
66 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
67 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
68 #if str($single_copy_cond.single_copy_taxa):
f8603464bea7 Uploaded
greg
parents:
diff changeset
69 --single_copy_taxa $single_copy_cond.single_copy_taxa
f8603464bea7 Uploaded
greg
parents:
diff changeset
70 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
71 #if str($single_copy_cond.taxa_present):
f8603464bea7 Uploaded
greg
parents:
diff changeset
72 --taxa_present $single_copy_cond.taxa_present
f8603464bea7 Uploaded
greg
parents:
diff changeset
73 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
74 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
75 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
76 #if $create_ortho_sequences:
1
95cb5d32a3b4 Uploaded
greg
parents: 0
diff changeset
77 --orthogroup_fasta true
0
f8603464bea7 Uploaded
greg
parents:
diff changeset
78 #if $create_corresponding_coding_sequences:
f8603464bea7 Uploaded
greg
parents:
diff changeset
79 --coding_sequences '$create_corresponding_coding_sequences_cond.coding_sequences'
f8603464bea7 Uploaded
greg
parents:
diff changeset
80 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
81 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
82 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
83
f8603464bea7 Uploaded
greg
parents:
diff changeset
84 #if (str($save_hmmscan_log_cond.classifier) == 'hmmscan' or str($save_hmmscan_log_cond.classifier) == 'both') and str($save_hmmscan_log_cond.save_hmmscan_log) == 'yes':
1
95cb5d32a3b4 Uploaded
greg
parents: 0
diff changeset
85 --save_hmmscan_log true
0
f8603464bea7 Uploaded
greg
parents:
diff changeset
86 --hmmscan_log '$hmmscan_log'
f8603464bea7 Uploaded
greg
parents:
diff changeset
87 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
88 #if $create_ortho_sequences:
f8603464bea7 Uploaded
greg
parents:
diff changeset
89 #if $create_corresponding_coding_sequences:
f8603464bea7 Uploaded
greg
parents:
diff changeset
90 --output_ptorthocs '$output_ptorthocs'
f8603464bea7 Uploaded
greg
parents:
diff changeset
91 --output_ptorthocs_dir '$output_ptorthocs.files_path'
f8603464bea7 Uploaded
greg
parents:
diff changeset
92 #else:
f8603464bea7 Uploaded
greg
parents:
diff changeset
93 --output_ptortho '$output_ptortho'
f8603464bea7 Uploaded
greg
parents:
diff changeset
94 --output_ptortho_dir '$output_ptortho.files_path'
f8603464bea7 Uploaded
greg
parents:
diff changeset
95 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
96 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
97 #if $single_copy_orthogroup:
f8603464bea7 Uploaded
greg
parents:
diff changeset
98 #if $create_ortho_sequences:
f8603464bea7 Uploaded
greg
parents:
diff changeset
99 --output_ptsco '$output_ptsco'
f8603464bea7 Uploaded
greg
parents:
diff changeset
100 --output_ptsco_dir '$output_ptsco.files_path'
f8603464bea7 Uploaded
greg
parents:
diff changeset
101 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
102 #end if
f8603464bea7 Uploaded
greg
parents:
diff changeset
103 ]]></command>
f8603464bea7 Uploaded
greg
parents:
diff changeset
104 <inputs>
f8603464bea7 Uploaded
greg
parents:
diff changeset
105 <param name="input" format="fasta" type="data" label="Proteins fasta file"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
106 <param name="scaffold" type="select" label="Gene family scaffold">
f8603464bea7 Uploaded
greg
parents:
diff changeset
107 <options from_data_table="plant_tribes_scaffolds" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
108 <validator type="no_options" message="No PlantTribes scaffolds are available. Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table."/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
109 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
110 <param name="method" type="select" label="Protein clustering method">
f8603464bea7 Uploaded
greg
parents:
diff changeset
111 <option value="gfam" selected="true">GFam</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
112 <option value="orthofinder">OrthoFinder</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
113 <option value="orthomcl">OrthoMCL</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
114 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
115 <conditional name="save_hmmscan_log_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
116 <param name="classifier" type="select" label="Protein classifier">
f8603464bea7 Uploaded
greg
parents:
diff changeset
117 <option value="blastp" selected="true">blastp</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
118 <option value="hmmscan">hmmscan</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
119 <option value="both">Both blastp and hmmscan</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
120 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
121 <when value="blastp" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
122 <when value="hmmscan">
f8603464bea7 Uploaded
greg
parents:
diff changeset
123 <param name="save_hmmscan_log" type="select" label="Save hmmscan log?">
f8603464bea7 Uploaded
greg
parents:
diff changeset
124 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
125 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
126 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
127 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
128 <when value="both">
f8603464bea7 Uploaded
greg
parents:
diff changeset
129 <param name="save_hmmscan_log" type="select" label="Save hmmscan log?">
f8603464bea7 Uploaded
greg
parents:
diff changeset
130 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
131 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
132 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
133 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
134 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
135 <conditional name="options_type">
f8603464bea7 Uploaded
greg
parents:
diff changeset
136 <param name="options_type_selector" type="select" label="Options configuration">
f8603464bea7 Uploaded
greg
parents:
diff changeset
137 <option value="basic" selected="true">Basic</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
138 <option value="advanced">Advanced</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
139 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
140 <when value="basic" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
141 <when value="advanced">
f8603464bea7 Uploaded
greg
parents:
diff changeset
142 <conditional name="specify_super_orthogroups_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
143 <param name="specify_super_orthogroups" type="select" label="Super orthogroups configuration">
f8603464bea7 Uploaded
greg
parents:
diff changeset
144 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
145 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
146 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
147 <when value="no"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
148 <when value="yes">
f8603464bea7 Uploaded
greg
parents:
diff changeset
149 <param name="super_orthogroups" type="select" label="Clustering distance measure">
f8603464bea7 Uploaded
greg
parents:
diff changeset
150 <option value="min_evalue" selected="true">minimum e-value</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
151 <option value="avg_evalue">average e-value</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
152 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
153 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
154 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
155 <conditional name="specify_single_copy_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
156 <param name="specify_single_copy" type="select" label="Single copy orthogroups configuration">
f8603464bea7 Uploaded
greg
parents:
diff changeset
157 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
158 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
159 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
160 <when value="no"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
161 <when value="yes">
f8603464bea7 Uploaded
greg
parents:
diff changeset
162 <conditional name="single_copy_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
163 <param name="single_copy" type="select" label="Selection criterion">
f8603464bea7 Uploaded
greg
parents:
diff changeset
164 <option value="taxa" selected="true">Global selection</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
165 <option value="custom">Custom selection</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
166 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
167 <when value="custom">
f8603464bea7 Uploaded
greg
parents:
diff changeset
168 <conditional name="single_copy_custom_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
169 <param name="single_copy_custom" type="select" label="Custom selection configuration">
f8603464bea7 Uploaded
greg
parents:
diff changeset
170 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
171 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
172 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
173 <when value="no"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
174 <when value="yes">
f8603464bea7 Uploaded
greg
parents:
diff changeset
175 <param name="single_copy_custom_config" format="txt" type="data" label="Custom selection file"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
176 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
177 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
178 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
179 <when value="taxa">
f8603464bea7 Uploaded
greg
parents:
diff changeset
180 <param name="single_copy_taxa" type="integer" optional="true" min="0" label="Minimum single copy taxa"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
181 <param name="taxa_present" type="integer" optional="true" min="0" label="Minimum taxa present"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
182 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
183 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
184 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
185 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
186 <conditional name="create_orthogroup_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
187 <param name="create_orthogroup" type="select" label="Orthogroups fasta configuration">
f8603464bea7 Uploaded
greg
parents:
diff changeset
188 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
189 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
190 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
191 <when value="no" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
192 <when value="yes">
f8603464bea7 Uploaded
greg
parents:
diff changeset
193 <conditional name="create_corresponding_coding_sequences_cond">
f8603464bea7 Uploaded
greg
parents:
diff changeset
194 <param name="create_corresponding_coding_sequences" type="select" label="Orthogroups coding sequences">
f8603464bea7 Uploaded
greg
parents:
diff changeset
195 <option value="no" selected="true">No</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
196 <option value="yes">Yes</option>
f8603464bea7 Uploaded
greg
parents:
diff changeset
197 </param>
f8603464bea7 Uploaded
greg
parents:
diff changeset
198 <when value="no" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
199 <when value="yes">
f8603464bea7 Uploaded
greg
parents:
diff changeset
200 <param name="coding_sequences" format="fasta" type="data" label="Coding sequences fasta file"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
201 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
202 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
203 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
204 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
205 </when>
f8603464bea7 Uploaded
greg
parents:
diff changeset
206 </conditional>
f8603464bea7 Uploaded
greg
parents:
diff changeset
207 </inputs>
f8603464bea7 Uploaded
greg
parents:
diff changeset
208 <outputs>
f8603464bea7 Uploaded
greg
parents:
diff changeset
209 <data name="hmmscan_log" format="txt" label="${tool.name} (hmmscan.log) on ${on_string}">
f8603464bea7 Uploaded
greg
parents:
diff changeset
210 <filter>save_hmmscan_log_cond['classifier'] in ['hmmscan', 'both'] and save_hmmscan_log_cond['save_hmmscan_log'] == 'yes'</filter>
f8603464bea7 Uploaded
greg
parents:
diff changeset
211 </data>
f8603464bea7 Uploaded
greg
parents:
diff changeset
212 <data name="output_ptortho" format="ptortho" label="${tool.name} (gene family clusters) on ${on_string}">
f8603464bea7 Uploaded
greg
parents:
diff changeset
213 <filter>options_type['options_type_selector'] == 'advanced' and options_type['create_orthogroup_cond']['create_orthogroup'] == 'yes' and options_type['create_orthogroup_cond']['create_corresponding_coding_sequences_cond']['create_corresponding_coding_sequences'] == 'no'</filter>
f8603464bea7 Uploaded
greg
parents:
diff changeset
214 </data>
f8603464bea7 Uploaded
greg
parents:
diff changeset
215 <data name="output_ptorthocs" format="ptorthocs" label="${tool.name} (gene family clusters) on ${on_string}">
f8603464bea7 Uploaded
greg
parents:
diff changeset
216 <filter>options_type['options_type_selector'] == 'advanced' and options_type['create_orthogroup_cond']['create_orthogroup'] == 'yes' and options_type['create_orthogroup_cond']['create_corresponding_coding_sequences_cond']['create_corresponding_coding_sequences'] == 'yes'</filter>
f8603464bea7 Uploaded
greg
parents:
diff changeset
217 </data>
f8603464bea7 Uploaded
greg
parents:
diff changeset
218 <data name="output_ptsco" format="tabular" label="${tool.name} (single copy orthogroups) on ${on_string}">
f8603464bea7 Uploaded
greg
parents:
diff changeset
219 <filter>options_type['options_type_selector'] == 'advanced' and options_type['create_orthogroup_cond']['create_orthogroup'] == 'yes' and options_type['specify_single_copy_cond']['specify_single_copy'] == 'yes'</filter>
f8603464bea7 Uploaded
greg
parents:
diff changeset
220 <change_format>
f8603464bea7 Uploaded
greg
parents:
diff changeset
221 <when input="options_type.create_orthogroup_cond.create_corresponding_coding_sequences_cond.create_corresponding_coding_sequences" value="no" format="ptortho" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
222 <when input="options_type.create_orthogroup_cond.create_corresponding_coding_sequences_cond.create_corresponding_coding_sequences" value="yes" format="ptorthocs" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
223 </change_format>
f8603464bea7 Uploaded
greg
parents:
diff changeset
224 </data>
f8603464bea7 Uploaded
greg
parents:
diff changeset
225 <collection name="orthos" type="list">
f8603464bea7 Uploaded
greg
parents:
diff changeset
226 <discover_datasets pattern="__name__" directory="geneFamilyClassification_dir" visible="false" ext="tabular" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
227 </collection>
f8603464bea7 Uploaded
greg
parents:
diff changeset
228 </outputs>
f8603464bea7 Uploaded
greg
parents:
diff changeset
229 <tests>
f8603464bea7 Uploaded
greg
parents:
diff changeset
230 <test>
f8603464bea7 Uploaded
greg
parents:
diff changeset
231 <param name="input" value="transcripts.cleaned.nr.pep" ftype="fasta"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
232 <param name="scaffold" value="22Gv1.1"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
233 <param name="method" value="orthomcl"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
234 <param name="classifier" value="both"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
235 <param name="options_type_selector" value="advanced"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
236 <param name="create_orthogroup" value="yes"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
237 <param name="create_corresponding_coding_sequences" value="yes"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
238 <output name="output_ptorthocs" file="output.ptorthocs" ftype="ptorthocs"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
239 <output_collection name="orthos" type="list">
f8603464bea7 Uploaded
greg
parents:
diff changeset
240 <element name="proteins.blastp.22Gv1.1" file="proteins.blastp.22Gv1.1" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
241 <element name="proteins.blastp.22Gv1.1.bestOrthos" file="proteins.blastp.22Gv1.1.bestOrthos" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
242 <element name="proteins.both.22Gv1.1.bestOrthos" file="proteins.both.22Gv1.1.bestOrthos" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
243 <element name="proteins.both.22Gv1.1.bestOrthos.summary" file="proteins.both.22Gv1.1.bestOrthos.summary" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
244 <element name="proteins.hmmscan.22Gv1.1" file="proteins.hmmscan.22Gv1.1" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
245 <element name="proteins.hmmscan.22Gv1.1.bestOrthos" file="proteins.hmmscan.22Gv1.1.bestOrthos" ftype="tabular" compare="contains"/>
f8603464bea7 Uploaded
greg
parents:
diff changeset
246 </output_collection>
f8603464bea7 Uploaded
greg
parents:
diff changeset
247 </test>
f8603464bea7 Uploaded
greg
parents:
diff changeset
248 </tests>
f8603464bea7 Uploaded
greg
parents:
diff changeset
249 <help>
f8603464bea7 Uploaded
greg
parents:
diff changeset
250 This tool is one of the PlantTribes collection of automated modular analysis pipelines for comparative and evolutionary
f8603464bea7 Uploaded
greg
parents:
diff changeset
251 analyses of genome-scale gene families and transcriptomes. This tool classifies gene coding sequences either produced by
f8603464bea7 Uploaded
greg
parents:
diff changeset
252 the AssemblyPostProcessor tool or from an external source into pre-computed orthologous gene family clusters (orthogroups)
f8603464bea7 Uploaded
greg
parents:
diff changeset
253 of a PlantTribes scaffold. Classified sequences are then assigned with the corresponding orthogroups’ metadata that includes
f8603464bea7 Uploaded
greg
parents:
diff changeset
254 gene counts of backbone taxa, super clusters (super orthogoups) at multiple stringencies, and functional annotations from
f8603464bea7 Uploaded
greg
parents:
diff changeset
255 sources such as Gene Ontology (GO), InterPro protein domains, TAIR, UniProtKB/TrEMBL, and UniProtKB/Swiss-Prot. Additionally,
f8603464bea7 Uploaded
greg
parents:
diff changeset
256 sequences belonging to single/low-copy gene families that are mainly utilized in species tree inference can be determined.
f8603464bea7 Uploaded
greg
parents:
diff changeset
257
f8603464bea7 Uploaded
greg
parents:
diff changeset
258 -----
f8603464bea7 Uploaded
greg
parents:
diff changeset
259
f8603464bea7 Uploaded
greg
parents:
diff changeset
260 **Required options**
f8603464bea7 Uploaded
greg
parents:
diff changeset
261
f8603464bea7 Uploaded
greg
parents:
diff changeset
262 * **Proteins fasta file** - proteins fasta file either produced by the AssemblyPostProcessor tool or an external source selected from your history.
f8603464bea7 Uploaded
greg
parents:
diff changeset
263 * **Gene family scaffold** - one of the PlantTribes gene family scaffolds [2-4] installed into Galaxy by the PlantTribes Scaffold Data Manager tool.
f8603464bea7 Uploaded
greg
parents:
diff changeset
264 * **Protein clustering method** - gene family scaffold protein clustering method as described in the AssemblyPostProcessor tool.
f8603464bea7 Uploaded
greg
parents:
diff changeset
265 * **Protein classifier** - classifier to assign protein sequences into a specified scaffold orthogroups. PlantTribes implements three classification approaches; blastp (faster)[5], hmmscan (slower but more sensitive assignment of divergent homologs)[6], and both blastp and hmmscan (disagreements resolved in favor of hmmscan; more exhaustive).
f8603464bea7 Uploaded
greg
parents:
diff changeset
266
f8603464bea7 Uploaded
greg
parents:
diff changeset
267 **Other options**
f8603464bea7 Uploaded
greg
parents:
diff changeset
268
f8603464bea7 Uploaded
greg
parents:
diff changeset
269 * **Super orthogroups configuration** - select ‘Yes’ to enable super orthogroups configuration options. Super orthogroups[7] are constructed through a second iteration of MCL clustering to connect distant, but potentially related orthogroup clusters.
f8603464bea7 Uploaded
greg
parents:
diff changeset
270
f8603464bea7 Uploaded
greg
parents:
diff changeset
271 * **Clustering distance measure** - distance measure used in merging orthogroup clusters into super orthogroup clusters. PlantTribes pre-computed super orthogroups are based on the minimum and average blastp e-value between all pairs of scaffold orthogroups used as the input matrix for MCL clustering algorithm[8].
f8603464bea7 Uploaded
greg
parents:
diff changeset
272
f8603464bea7 Uploaded
greg
parents:
diff changeset
273 * **Single copy orthogroups configuration** - select ‘Yes’ to enable single/low-copy orthogroups selection configuration options.
f8603464bea7 Uploaded
greg
parents:
diff changeset
274
f8603464bea7 Uploaded
greg
parents:
diff changeset
275 * **Selection criterion** - single/low-copy orthogroups selection criterion. PlantTribes provides custom and global selection criteria for selecting user-defined single/low-copy scaffold orthogoups.
f8603464bea7 Uploaded
greg
parents:
diff changeset
276
f8603464bea7 Uploaded
greg
parents:
diff changeset
277 * **Global selection configuration** - the upper limit values of the following two parameters vary depending on the selected gene family scaffold, and the tool will produce an error if the value exceeds the number of species in the circumscribed scaffold.
f8603464bea7 Uploaded
greg
parents:
diff changeset
278
f8603464bea7 Uploaded
greg
parents:
diff changeset
279 * **Minimum single copy taxa** - minimum number of taxa with single copy genes in the orthogroup.
f8603464bea7 Uploaded
greg
parents:
diff changeset
280 * **Minimum taxa present** - minimum number of taxa present in the orthogroup.
f8603464bea7 Uploaded
greg
parents:
diff changeset
281
f8603464bea7 Uploaded
greg
parents:
diff changeset
282 * **Custom selection configuration** - select ‘Yes’ to enable selection of a single copy configuration file. Scaffold configuration templates (.singleCopy.config) of how to customize single/low-copy orthogroups selection can be found in the scaffold data installed into Galaxy via the PlantTribes Scaffolds Download Data Manager tool, and also available at the PlantTribes GitHub `repository`_. Single/low-copy settings shown in these templates are used as defaults if ‘No’ is selected.
f8603464bea7 Uploaded
greg
parents:
diff changeset
283
f8603464bea7 Uploaded
greg
parents:
diff changeset
284 * **Custom selection file** - select a single/low-copy customized configuration file from your history.
f8603464bea7 Uploaded
greg
parents:
diff changeset
285
f8603464bea7 Uploaded
greg
parents:
diff changeset
286 * **Orthogroups fasta configuration** - select ‘Yes’ to create proteins orthogroups fasta files for the classified sequences.
f8603464bea7 Uploaded
greg
parents:
diff changeset
287
f8603464bea7 Uploaded
greg
parents:
diff changeset
288 * **Orthogroups coding sequences** - select ‘Yes’ to create corresponding coding sequences orthogroup fasta files for the classified protein sequences. Requires coding sequences fasta file corresponding to the proteins fasta file to be selected from your history.
f8603464bea7 Uploaded
greg
parents:
diff changeset
289
f8603464bea7 Uploaded
greg
parents:
diff changeset
290 * **Coding sequences fasta file** - select coding sequences fasta file corresponding to the proteins fasta file from your history.
f8603464bea7 Uploaded
greg
parents:
diff changeset
291
f8603464bea7 Uploaded
greg
parents:
diff changeset
292 .. _repository: https://github.com/dePamphilis/PlantTribes/tree/master/config
f8603464bea7 Uploaded
greg
parents:
diff changeset
293
f8603464bea7 Uploaded
greg
parents:
diff changeset
294 </help>
f8603464bea7 Uploaded
greg
parents:
diff changeset
295 <citations>
f8603464bea7 Uploaded
greg
parents:
diff changeset
296 <expand macro="citation1" />
f8603464bea7 Uploaded
greg
parents:
diff changeset
297 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
298 @article{Sasidharan2012,
f8603464bea7 Uploaded
greg
parents:
diff changeset
299 journal = {Nucleic Acids Research},
f8603464bea7 Uploaded
greg
parents:
diff changeset
300 author = {2. Sasidharan R, Nepusz T, Swarbreck D, Huala E, Paccanaro A},
f8603464bea7 Uploaded
greg
parents:
diff changeset
301 title = {GFam: a platform for automatic annotation of gene families},
f8603464bea7 Uploaded
greg
parents:
diff changeset
302 year = {2012},
f8603464bea7 Uploaded
greg
parents:
diff changeset
303 pages = {gks631},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
304 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
305 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
306 @article{Li2003,
f8603464bea7 Uploaded
greg
parents:
diff changeset
307 journal = {Genome Research}
f8603464bea7 Uploaded
greg
parents:
diff changeset
308 author = {3. Li L, Stoeckert CJ, Roos DS},
f8603464bea7 Uploaded
greg
parents:
diff changeset
309 title = {OrthoMCL: identification of ortholog groups for eukaryotic genomes},
f8603464bea7 Uploaded
greg
parents:
diff changeset
310 year = {2003},
f8603464bea7 Uploaded
greg
parents:
diff changeset
311 volume = {13},
f8603464bea7 Uploaded
greg
parents:
diff changeset
312 number = {9},
f8603464bea7 Uploaded
greg
parents:
diff changeset
313 pages = {2178-2189},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
314 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
315 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
316 @article{Emms2015,
f8603464bea7 Uploaded
greg
parents:
diff changeset
317 journal = {Genome Biology}
f8603464bea7 Uploaded
greg
parents:
diff changeset
318 author = {4. Emms DM, Kelly S},
f8603464bea7 Uploaded
greg
parents:
diff changeset
319 title = {OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy},
f8603464bea7 Uploaded
greg
parents:
diff changeset
320 year = {2015},
f8603464bea7 Uploaded
greg
parents:
diff changeset
321 volume = {16},
f8603464bea7 Uploaded
greg
parents:
diff changeset
322 number = {1},
f8603464bea7 Uploaded
greg
parents:
diff changeset
323 pages = {157},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
324 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
325 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
326 @article{Altschul1990,
f8603464bea7 Uploaded
greg
parents:
diff changeset
327 journal = {Journal of molecular biology}
f8603464bea7 Uploaded
greg
parents:
diff changeset
328 author = {5. Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ},
f8603464bea7 Uploaded
greg
parents:
diff changeset
329 title = {Basic local alignment search tool},
f8603464bea7 Uploaded
greg
parents:
diff changeset
330 year = {1990},
f8603464bea7 Uploaded
greg
parents:
diff changeset
331 volume = {215},
f8603464bea7 Uploaded
greg
parents:
diff changeset
332 number = {3},
f8603464bea7 Uploaded
greg
parents:
diff changeset
333 pages = {403-410},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
334 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
335 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
336 @article{Eddy2009,
f8603464bea7 Uploaded
greg
parents:
diff changeset
337 journal = {Genome Inform},
f8603464bea7 Uploaded
greg
parents:
diff changeset
338 author = {6. Eddy SR},
f8603464bea7 Uploaded
greg
parents:
diff changeset
339 title = {A new generation of homology search tools based on probabilistic inference},
f8603464bea7 Uploaded
greg
parents:
diff changeset
340 year = {2009},
f8603464bea7 Uploaded
greg
parents:
diff changeset
341 volume = {23},
f8603464bea7 Uploaded
greg
parents:
diff changeset
342 number = {1},
f8603464bea7 Uploaded
greg
parents:
diff changeset
343 pages = {205-211},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
344 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
345 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
346 @article{Wall2008,
f8603464bea7 Uploaded
greg
parents:
diff changeset
347 journal = {Nucleic Acids Research},
f8603464bea7 Uploaded
greg
parents:
diff changeset
348 author = {7. Wall PK, Leebens-Mack J, Muller KF, Field D, Altman NS},
f8603464bea7 Uploaded
greg
parents:
diff changeset
349 title = {PlantTribes: a gene and gene family resource for comparative genomics in plants},
f8603464bea7 Uploaded
greg
parents:
diff changeset
350 year = {2008},
f8603464bea7 Uploaded
greg
parents:
diff changeset
351 volume = {36},
f8603464bea7 Uploaded
greg
parents:
diff changeset
352 number = {suppl 1},
f8603464bea7 Uploaded
greg
parents:
diff changeset
353 pages = {D970-D976},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
354 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
355 <citation type="bibtex">
f8603464bea7 Uploaded
greg
parents:
diff changeset
356 @article{Enright2002,
f8603464bea7 Uploaded
greg
parents:
diff changeset
357 journal = {Nucleic acids research},
f8603464bea7 Uploaded
greg
parents:
diff changeset
358 author = {8. Enright AJ, Van Dongen S, Ouzounis CA},
f8603464bea7 Uploaded
greg
parents:
diff changeset
359 title = {n efficient algorithm for large-scale detection of protein families},
f8603464bea7 Uploaded
greg
parents:
diff changeset
360 year = {2002},
f8603464bea7 Uploaded
greg
parents:
diff changeset
361 volume = {30},
f8603464bea7 Uploaded
greg
parents:
diff changeset
362 number = {7},
f8603464bea7 Uploaded
greg
parents:
diff changeset
363 pages = {1575-1584},}
f8603464bea7 Uploaded
greg
parents:
diff changeset
364 </citation>
f8603464bea7 Uploaded
greg
parents:
diff changeset
365 </citations>
f8603464bea7 Uploaded
greg
parents:
diff changeset
366 </tool>