annotate gene_family_classifier.xml @ 125:1d3d50fbf3ca draft

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