comparison unipept.xml @ 9:21a560af5913 draft default tip

planemo upload for repository https://unipept.ugent.be/apidocs commit 19735e85caae264d98562f6fdb3b213841087fc7
author galaxyp
date Tue, 12 Mar 2024 11:44:08 +0000
parents 7863f1abcdda
children
comparison
equal deleted inserted replaced
8:7863f1abcdda 9:21a560af5913
1 <tool id="unipept" name="Unipept" version="4.5.1"> 1 <tool id="unipept" name="Unipept" version="4.5.1" profile="22.05">
2 <description>retrieve taxonomy for peptides</description> 2 <description>retrieve taxonomy for peptides</description>
3 <macros> 3 <macros>
4 <xml name="equate_il"> 4 <xml name="equate_il">
5 <param name="equate_il" type="boolean" truevalue="-e" falsevalue="" checked="true" label="Equate isoleucine and leucine"> 5 <param name="equate_il" type="boolean" truevalue="-e" falsevalue="" checked="true" label="Equate isoleucine and leucine">
6 <help>isoleucine (I) and leucine (L) are equated when matching tryptic peptides to UniProt records</help> 6 <help>isoleucine (I) and leucine (L) are equated when matching tryptic peptides to UniProt records</help>
15 <param name="extra" type="boolean" truevalue="-x" falsevalue="" checked="true" label="retrieve extra information"> 15 <param name="extra" type="boolean" truevalue="-x" falsevalue="" checked="true" label="retrieve extra information">
16 <yield/> 16 <yield/>
17 </param> 17 </param>
18 </xml> 18 </xml>
19 <xml name="names"> 19 <xml name="names">
20 <param name="names" type="boolean" truevalue="-n" falsevalue="" checked="true" label="names" > 20 <param name="names" type="boolean" truevalue="-n" falsevalue="" checked="true" label="names">
21 <help>return the names in complete taxonomic lineage</help> 21 <help>return the names in complete taxonomic lineage</help>
22 </param> 22 </param>
23 <param name="allfields" type="boolean" truevalue="-A" falsevalue="" checked="false" label="allfields" > 23 <param name="allfields" type="boolean" truevalue="-A" falsevalue="" checked="false" label="allfields">
24 <help>include fields for most specific taxonomic classification: taxon_rank,taxon_id,taxon_name before lineage</help> 24 <help>include fields for most specific taxonomic classification: taxon_rank,taxon_id,taxon_name before lineage</help>
25 </param> 25 </param>
26 </xml> 26 </xml>
27 <xml name="domains"> 27 <xml name="domains">
28 <param name="domains" type="boolean" truevalue="-D" falsevalue="" checked="false" label="group responses by GO namespace (biological process, molecular function, cellular component)"> 28 <param name="domains" type="boolean" truevalue="-D" falsevalue="" checked="false" label="group responses by GO namespace (biological process, molecular function, cellular component)">
37 <yield/> 37 <yield/>
38 <option value="unmatched">Unmatched peptides</option> 38 <option value="unmatched">Unmatched peptides</option>
39 </param> 39 </param>
40 </xml> 40 </xml>
41 </macros> 41 </macros>
42 <xrefs>
43 <xref type="bio.tools">unipept</xref>
44 </xrefs>
42 <requirements> 45 <requirements>
43 <requirement type="package" version="3">python</requirement> 46 <requirement type="package" version="3">python</requirement>
44 </requirements> 47 </requirements>
45 <stdio> 48 <command detect_errors="exit_code"><![CDATA[
46 <exit_code range="1:" />
47 </stdio>
48 <command><![CDATA[
49 python '$__tool_directory__/unipept.py' 49 python '$__tool_directory__/unipept.py'
50 ## --url 'http://morty.ugent.be/api/v1' -g -M 1 50 ## --url 'http://morty.ugent.be/api/v1' -g -M 1
51 --api=$unipept.api 51 --api=$unipept.api
52 $unipept.equate_il $unipept.extra 52 $unipept.equate_il $unipept.extra
53 #if $unipept.api in ['pept2lca', 'pept2taxa', 'peptinfo']: 53 #if $unipept.api in ['pept2lca', 'pept2taxa', 'peptinfo']:
104 #if 'unmatched' in str($selected_outputs).split(','): 104 #if 'unmatched' in str($selected_outputs).split(','):
105 --unmatched $output_unmatched 105 --unmatched $output_unmatched
106 #end if 106 #end if
107 ]]></command> 107 ]]></command>
108 <inputs> 108 <inputs>
109 <conditional name="unipept"> 109 <conditional name="unipept">
110 <param name="api" type="select" label="Unipept application" > 110 <param name="api" type="select" label="Unipept application">
111 <option value="pept2lca" selected="true">pept2lca: lowest common ancestor</option> 111 <option value="pept2lca" selected="true">pept2lca: lowest common ancestor</option>
112 <option value="pept2taxa">pept2taxa: organisms associated with the UniProt entries containing a given tryptic peptide</option> 112 <option value="pept2taxa">pept2taxa: organisms associated with the UniProt entries containing a given tryptic peptide</option>
113 <option value="pept2prot">pept2prot: UniProt entries containing a given tryptic peptide</option> 113 <option value="pept2prot">pept2prot: UniProt entries containing a given tryptic peptide</option>
114 <option value="pept2ec">pept2ec: Tryptic peptides and associated EC terms</option> 114 <option value="pept2ec">pept2ec: Tryptic peptides and associated EC terms</option>
115 <option value="pept2go">pept2go: Tryptic peptides and associated GO terms</option> 115 <option value="pept2go">pept2go: Tryptic peptides and associated GO terms</option>
116 <option value="pept2interpro">pept2interpro: Tryptic peptides and associated InterPro entries</option> 116 <option value="pept2interpro">pept2interpro: Tryptic peptides and associated InterPro entries</option>
117 <option value="pept2funct">pept2funct: Tryptic peptides and associated EC and GO terms</option> 117 <option value="pept2funct">pept2funct: Tryptic peptides and associated EC and GO terms</option>
118 <option value="peptinfo">peptinfo: Tryptic peptides and associated EC and GO terms and lowest common ancestor taxonomy</option> 118 <option value="peptinfo">peptinfo: Tryptic peptides and associated EC and GO terms and lowest common ancestor taxonomy</option>
119 </param> 119 </param>
120 <when value="pept2lca"> 120 <when value="pept2lca">
121 <expand macro="equate_il" /> 121 <expand macro="equate_il"/>
122 <expand macro="extra"> 122 <expand macro="extra">
123 <help>Return the complete lineage of the taxonomic lowest common ancestor, and include ID fields.</help> 123 <help>Return the complete lineage of the taxonomic lowest common ancestor, and include ID fields.</help>
124 </expand> 124 </expand>
125 <expand macro="names" /> 125 <expand macro="names"/>
126 </when> 126 </when>
127 <when value="pept2taxa"> 127 <when value="pept2taxa">
128 <expand macro="equate_il" /> 128 <expand macro="equate_il"/>
129 <expand macro="extra_true"> 129 <expand macro="extra_true">
130 <help>Return the complete lineage of each organism, and include ID fields.</help> 130 <help>Return the complete lineage of each organism, and include ID fields.</help>
131 </expand> 131 </expand>
132 <expand macro="names" /> 132 <expand macro="names"/>
133 </when> 133 </when>
134 <when value="pept2prot"> 134 <when value="pept2prot">
135 <expand macro="equate_il" /> 135 <expand macro="equate_il"/>
136 <expand macro="extra"> 136 <expand macro="extra">
137 <help>Return additional information fields: taxon_name, ec_references, go_references, refseq_ids, refseq_protein_ids, insdc_ids, insdc_protein_ids 137 <help>Return additional information fields: taxon_name, ec_references, go_references, refseq_ids, refseq_protein_ids, insdc_ids, insdc_protein_ids
138 WARNING: Huge perfomance penalty! Only use for small number of peptides when the extra infomation is required. 138 WARNING: Huge perfomance penalty! Only use for small number of peptides when the extra infomation is required.
139 </help> 139 </help>
140 </expand> 140 </expand>
141 </when> 141 </when>
142 <when value="pept2ec"> 142 <when value="pept2ec">
143 <expand macro="equate_il" /> 143 <expand macro="equate_il"/>
144 <expand macro="extra_true"> 144 <expand macro="extra_true">
145 <help>Return the name of the EC-number. 145 <help>Return the name of the EC-number.
146 </help> 146 </help>
147 </expand> 147 </expand>
148 </when> 148 </when>
149 <when value="pept2go"> 149 <when value="pept2go">
150 <expand macro="equate_il" /> 150 <expand macro="equate_il"/>
151 <expand macro="extra_true"> 151 <expand macro="extra_true">
152 <help>Return the name of the GO-term. 152 <help>Return the name of the GO-term.
153 </help> 153 </help>
154 </expand> 154 </expand>
155 <expand macro="domains" /> 155 <expand macro="domains"/>
156 </when> 156 </when>
157 <when value="pept2interpro"> 157 <when value="pept2interpro">
158 <expand macro="equate_il" /> 158 <expand macro="equate_il"/>
159 <expand macro="extra_true"> 159 <expand macro="extra_true">
160 <help>Return the name of the GO-term. 160 <help>Return the name of the GO-term.
161 </help> 161 </help>
162 </expand> 162 </expand>
163 <expand macro="domains" /> 163 <expand macro="domains"/>
164 </when> 164 </when>
165 <when value="pept2funct"> 165 <when value="pept2funct">
166 <expand macro="equate_il" /> 166 <expand macro="equate_il"/>
167 <expand macro="extra_true"> 167 <expand macro="extra_true">
168 <help>Return the name of the EC-number and GO-term. 168 <help>Return the name of the EC-number and GO-term.
169 </help> 169 </help>
170 </expand> 170 </expand>
171 <expand macro="domains" /> 171 <expand macro="domains"/>
172 </when> 172 </when>
173 <when value="peptinfo"> 173 <when value="peptinfo">
174 <expand macro="equate_il" /> 174 <expand macro="equate_il"/>
175 <expand macro="extra_true"> 175 <expand macro="extra_true">
176 <help>Return the name of the EC-number and GO-term. 176 <help>Return the name of the EC-number and GO-term.
177 </help> 177 </help>
178 </expand> 178 </expand>
179 <expand macro="domains" /> 179 <expand macro="domains"/>
180 <expand macro="names" /> 180 <expand macro="names"/>
181 </when> 181 </when>
182 </conditional> 182 </conditional>
183 <conditional name="peptide_src"> 183 <conditional name="peptide_src">
184 <param name="fmt" type="select" label="Peptides input format" > 184 <param name="fmt" type="select" label="Peptides input format">
185 <option value="proteomic">proteomics formats: mzid, pepxml, fasta</option> 185 <option value="proteomic">proteomics formats: mzid, pepxml, fasta</option>
186 <option value="tabular">tabular</option> 186 <option value="tabular">tabular</option>
187 <option value="fasta">fasta</option> 187 <option value="fasta">fasta</option>
188 <option value="mzid">mzid</option> 188 <option value="mzid">mzid</option>
189 <option value="pepxml">pepxml</option> 189 <option value="pepxml">pepxml</option>
190 </param>
191 <when value="proteomic">
192 <param name="input" type="data" format="mzid,pepxml,fasta" label="Peptide Input"/>
193 </when>
194 <when value="tabular">
195 <param name="input_tsv" type="data" format="tabular" label="Tabular Input Containing Peptide column"/>
196 <param name="column" label="Select column with peptides" type="data_column" numerical="false" data_ref="input_tsv"/>
197 </when>
198 <when value="fasta">
199 <param name="input_fasta" type="data" format="fasta" label="Peptide Fasta Input"/>
200 </when>
201 <when value="mzid">
202 <param name="input_mzid" type="data" format="mzid" label="mzIndetML Input"/>
203 </when>
204 <when value="pepxml">
205 <param name="input_pepxml" type="data" format="pepxml" label="mzIndetML Input"/>
206 </when>
207 </conditional>
208 <param name="peptide_match" type="select" label="Match input peptides by">
209 <option value="full">Match to the full input peptide</option>
210 <option value="best" selected="true">Best match to tryptic parts of the input peptide</option>
211 <option value="report">Best match to tryptic parts, add tryptic_match column</option>
190 </param> 212 </param>
191 <when value="proteomic"> 213 <param name="unmatched_aa" type="select" label="Show tryptic_match as:">
192 <param name="input" type="data" format="mzid,pepxml,fasta" label="Peptide Input" /> 214 <option value="default">List of matched tryptic parts</option>
193 </when> 215 <option value=".">peptide with unmatched AAs as .</option>
194 <when value="tabular"> 216 <option value="x">peptide with unmatched AAs as x</option>
195 <param name="input_tsv" type="data" format="tabular" label="Tabular Input Containing Peptide column" /> 217 </param>
196 <param name="column" label="Select column with peptides" type="data_column" numerical="false" data_ref="input_tsv" /> 218 <param name="selected_outputs" type="select" multiple="true" display="checkboxes" label="Choose outputs">
197 </when> 219 <option value="tsv" selected="true">Tabular with one line per peptide</option>
198 <when value="fasta"> 220 <option value="csv">Comma Separated Values (.csv) with one line per peptide</option>
199 <param name="input_fasta" type="data" format="fasta" label="Peptide Fasta Input" /> 221 <option value="json">JSON Taxomony Tree (for pept2lca, pep2taxa, and peptinfo)</option>
200 </when> 222 <option value="go_tsv">Peptide GO terms in normalized tabular (for pept2go, pept2funct, and peptinfo)</option>
201 <when value="mzid"> 223 <option value="ipr_tsv">Peptide InterPro entries in normalized tabular (for pept2interpro, pept2funct, and peptinfo)</option>
202 <param name="input_mzid" type="data" format="mzid" label="mzIndetML Input" /> 224 <option value="ec_tsv">Peptide EC terms in normalized tabular (for pept2ec, pept2funct, and peptinfo)</option>
203 </when> 225 <option value="ec_json">JSON EC Coverage Tree (for pept2ec, pep2funct, and peptinfo)</option>
204 <when value="pepxml"> 226 <option value="unmatched">Unmatched peptides</option>
205 <param name="input_pepxml" type="data" format="pepxml" label="mzIndetML Input" /> 227 </param>
206 </when> 228 <param name="strict" type="boolean" truevalue="--strict" falsevalue="" checked="false" label="Exit with error on invalid peptides, otherwise ignore them"/>
207 </conditional>
208 <param name="peptide_match" type="select" label="Match input peptides by">
209 <option value="full">Match to the full input peptide</option>
210 <option value="best" selected="true">Best match to tryptic parts of the input peptide</option>
211 <option value="report">Best match to tryptic parts, add tryptic_match column</option>
212 </param>
213 <param name="unmatched_aa" type="select" label="Show tryptic_match as:">
214 <option value="default">List of matched tryptic parts</option>
215 <option value=".">peptide with unmatched AAs as .</option>
216 <option value="x">peptide with unmatched AAs as x</option>
217 </param>
218 <param name="selected_outputs" type="select" multiple="true" display="checkboxes" label="Choose outputs">
219 <option value="tsv" selected="true">Tabular with one line per peptide</option>
220 <option value="csv">Comma Separated Values (.csv) with one line per peptide</option>
221 <option value="json">JSON Taxomony Tree (for pept2lca, pep2taxa, and peptinfo)</option>
222 <option value="go_tsv">Peptide GO terms in normalized tabular (for pept2go, pept2funct, and peptinfo)</option>
223 <option value="ipr_tsv">Peptide InterPro entries in normalized tabular (for pept2interpro, pept2funct, and peptinfo)</option>
224 <option value="ec_tsv">Peptide EC terms in normalized tabular (for pept2ec, pept2funct, and peptinfo)</option>
225 <option value="ec_json">JSON EC Coverage Tree (for pept2ec, pep2funct, and peptinfo)</option>
226 <option value="unmatched">Unmatched peptides</option>
227 </param>
228 <param name="strict" type="boolean" truevalue="--strict" falsevalue="" checked="false" label="Exit with error on invalid peptides, otherwise ignore them"/>
229 </inputs> 229 </inputs>
230 <outputs> 230 <outputs>
231 <data name="output_json" format="d3_hierarchy" label="${tool.name} ${unipept.api} on ${on_string} Taxonomy json"> 231 <data name="output_json" format="d3_hierarchy" label="${tool.name} ${unipept.api} on ${on_string} Taxonomy json">
232 <filter>'json' in selected_outputs and unipept['api'] in ('pept2lca', 'pept2taxa', 'peptinfo')</filter> 232 <filter>'json' in selected_outputs and unipept['api'] in ('pept2lca', 'pept2taxa', 'peptinfo')</filter>
233 <change_format> 233 <change_format>
234 <when input="api" value="pept2prot" format="json" /> 234 <when input="api" value="pept2prot" format="json"/>
235 </change_format> 235 </change_format>
236 </data> 236 </data>
237 <data name="output_ec_json" format="d3_hierarchy" label="${tool.name} ${unipept.api} on ${on_string} EC json"> 237 <data name="output_ec_json" format="d3_hierarchy" label="${tool.name} ${unipept.api} on ${on_string} EC json">
238 <filter>'ec_json' in selected_outputs and unipept['api'] in ('pept2ec', 'pept2funct', 'peptinfo')</filter> 238 <filter>'ec_json' in selected_outputs and unipept['api'] in ('pept2ec', 'pept2funct', 'peptinfo')</filter>
239 </data> 239 </data>
240 <data name="output_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} tsv"> 240 <data name="output_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} tsv">
241 <filter>'tsv' in selected_outputs</filter> 241 <filter>'tsv' in selected_outputs</filter>
242 <actions> 242 <actions>
243 <action name="comment_lines" type="metadata" default="1" /> 243 <action name="comment_lines" type="metadata" default="1"/>
244 <!-- 244 <!--
245 <conditional name="unipept.api"> 245 <conditional name="unipept.api">
246 <when value="pept2funct"> 246 <when value="pept2funct">
247 <action name="column_names" type="metadata" default="peptide,total_protein_count,ec_numbers,ec_protein_counts,ec_names,go_terms,go_protein_counts,go_names" /> 247 <action name="column_names" type="metadata" default="peptide,total_protein_count,ec_numbers,ec_protein_counts,ec_names,go_terms,go_protein_counts,go_names" />
248 </when> 248 </when>
249 <when value="pept2go"> 249 <when value="pept2go">
252 <when value="pept2ec"> 252 <when value="pept2ec">
253 <action name="column_names" type="metadata" default="peptide,total_protein_count,ec_numbers,ec_protein_counts,ec_names" /> 253 <action name="column_names" type="metadata" default="peptide,total_protein_count,ec_numbers,ec_protein_counts,ec_names" />
254 </when> 254 </when>
255 </conditional> 255 </conditional>
256 --> 256 -->
257 </actions> 257 </actions>
258 </data> 258 </data>
259 <data name="output_csv" format="csv" label="${tool.name} ${unipept.api} on ${on_string} csv"> 259 <data name="output_csv" format="csv" label="${tool.name} ${unipept.api} on ${on_string} csv">
260 <filter>'csv' in selected_outputs</filter> 260 <filter>'csv' in selected_outputs</filter>
261 </data> 261 </data>
262 <data name="output_ec_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} EC tsv"> 262 <data name="output_ec_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} EC tsv">
263 <filter>'ec_tsv' in selected_outputs and unipept['api'] in ('pept2ec', 'pept2funct', 'peptinfo')</filter> 263 <filter>'ec_tsv' in selected_outputs and unipept['api'] in ('pept2ec', 'pept2funct', 'peptinfo')</filter>
264 <actions> 264 <actions>
265 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,EC Number,Protein Count,EC Name" /> 265 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,EC Number,Protein Count,EC Name"/>
266 </actions> 266 </actions>
267 </data> 267 </data>
268 <data name="output_go_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} GO tsv"> 268 <data name="output_go_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} GO tsv">
269 <filter>'go_tsv' in selected_outputs and unipept['api'] in ('pept2go', 'pept2funct', 'peptinfo')</filter> 269 <filter>'go_tsv' in selected_outputs and unipept['api'] in ('pept2go', 'pept2funct', 'peptinfo')</filter>
270 <actions> 270 <actions>
271 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,GO Term,Protein Count,GO Name" /> 271 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,GO Term,Protein Count,GO Name"/>
272 </actions> 272 </actions>
273 </data> 273 </data>
274 <data name="output_ipr_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} InterPro tsv"> 274 <data name="output_ipr_tsv" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} InterPro tsv">
275 <filter>'ipr_tsv' in selected_outputs and unipept['api'] in ('pept2interpro', 'pept2funct', 'peptinfo')</filter> 275 <filter>'ipr_tsv' in selected_outputs and unipept['api'] in ('pept2interpro', 'pept2funct', 'peptinfo')</filter>
276 <actions> 276 <actions>
277 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,InterPro Code,Protein Count,InterPro Type,InterPro Name" /> 277 <action name="column_names" type="metadata" default="Peptide,Total Protein Count,InterPro Code,Protein Count,InterPro Type,InterPro Name"/>
278 </actions> 278 </actions>
279 </data> 279 </data>
280 280 <data name="output_unmatched" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} unmatched">
281 <data name="output_unmatched" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} unmatched"> 281 <filter>'unmatched' in selected_outputs</filter>
282 <filter>'unmatched' in selected_outputs</filter> 282 <actions>
283 <actions> 283 <action name="column_names" type="metadata" default="Unmatched Peptide"/>
284 <action name="column_names" type="metadata" default="Unmatched Peptide" /> 284 </actions>
285 </actions> 285 </data>
286 </data>
287 </outputs> 286 </outputs>
288 <tests> 287 <tests>
289 <!-- Test-1 --> 288 <!-- Test-1 -->
290 <test> 289 <test expect_num_outputs="2">
291 <param name="api" value="pept2lca"/> 290 <param name="api" value="pept2lca"/>
292 <param name="fmt" value="tabular"/> 291 <param name="fmt" value="tabular"/>
293 <param name="input_tsv" value="tryptic.tsv"/> 292 <param name="input_tsv" value="tryptic.tsv"/>
294 <param name="column" value="2"/> 293 <param name="column" value="2"/>
295 <param name="extra" value="True"/> 294 <param name="extra" value="True"/>
296 <param name="names" value="True"/> 295 <param name="names" value="True"/>
297 <param name="selected_outputs" value="tsv,unmatched"/> 296 <param name="selected_outputs" value="tsv,unmatched"/>
298 <output name="output_tsv"> 297 <output name="output_tsv">
299 <assert_contents> 298 <assert_contents>
300 <has_text text="Homininae" /> 299 <has_text text="Homininae"/>
301 </assert_contents> 300 </assert_contents>
302 </output> 301 </output>
303 <output name="output_unmatched"> 302 <output name="output_unmatched">
304 <assert_contents> 303 <assert_contents>
305 <has_text text="QTAMAV" /> 304 <has_text text="QTAMAV"/>
306 </assert_contents> 305 </assert_contents>
307 </output> 306 </output>
308 </test> 307 </test>
309 <!-- Test-2 --> 308 <!-- Test-2 -->
310 <test> 309 <test expect_num_outputs="2">
311 <param name="api" value="pept2lca"/> 310 <param name="api" value="pept2lca"/>
312 <param name="fmt" value="fasta"/> 311 <param name="fmt" value="fasta"/>
313 <param name="input_fasta" value="peptide.fa"/> 312 <param name="input_fasta" value="peptide.fa"/>
314 <param name="equate_il" value="True"/> 313 <param name="equate_il" value="True"/>
315 <param name="extra" value="True"/> 314 <param name="extra" value="True"/>
316 <param name="names" value="True"/> 315 <param name="names" value="True"/>
317 <param name="selected_outputs" value="json,tsv"/> 316 <param name="selected_outputs" value="json,tsv"/>
318 <output name="output_json"> 317 <output name="output_json">
319 <assert_contents> 318 <assert_contents>
320 <has_text text="VMDVNDHKPEFYNCSLPACTFTPEEAQVNFTGYVDEHASPHIPIDDLTMVVYDPDKGSNGTFLLSLGGPDAEAFSVSPERAAGSASVQVLVRVSALVDYERQTAMAV" /> 319 <has_text text="VMDVNDHKPEFYNCSLPACTFTPEEAQVNFTGYVDEHASPHIPIDDLTMVVYDPDKGSNGTFLLSLGGPDAEAFSVSPERAAGSASVQVLVRVSALVDYERQTAMAV"/>
321 </assert_contents> 320 </assert_contents>
322 </output> 321 </output>
323 <output name="output_tsv"> 322 <output name="output_tsv">
324 <assert_contents> 323 <assert_contents>
325 <has_text text="9606" /> 324 <has_text text="9606"/>
326 <has_text text="9596" /> 325 <has_text text="9596"/>
327 </assert_contents> 326 </assert_contents>
328 </output> 327 </output>
329 </test> 328 </test>
330 <!-- Test-3 --> 329 <!-- Test-3 -->
331 <test> 330 <test expect_num_outputs="1">
332 <param name="api" value="pept2taxa"/> 331 <param name="api" value="pept2taxa"/>
333 <param name="fmt" value="fasta"/> 332 <param name="fmt" value="fasta"/>
334 <param name="input_fasta" value="peptide.fa"/> 333 <param name="input_fasta" value="peptide.fa"/>
335 <param name="equate_il" value="True"/> 334 <param name="equate_il" value="True"/>
336 <param name="extra" value="False"/> 335 <param name="extra" value="False"/>
337 <param name="names" value="False"/> 336 <param name="names" value="False"/>
338 <param name="selected_outputs" value="tsv"/> 337 <param name="selected_outputs" value="tsv"/>
339 <output name="output_tsv"> 338 <output name="output_tsv">
340 <assert_contents> 339 <assert_contents>
341 <has_text text="sapiens" /> 340 <has_text text="sapiens"/>
342 <has_text text="troglodytes" /> 341 <has_text text="Cercocebus"/>
343 </assert_contents> 342 </assert_contents>
344 </output> 343 </output>
345 </test> 344 </test>
346 <!-- Test-4 --> 345 <!-- Test-4 -->
347 <test> 346 <test expect_num_outputs="5">
348 <param name="api" value="pept2funct"/> 347 <param name="api" value="pept2funct"/>
349 <param name="fmt" value="tabular"/> 348 <param name="fmt" value="tabular"/>
350 <param name="input_tsv" value="input.tsv"/> 349 <param name="input_tsv" value="input.tsv"/>
351 <param name="column" value="2"/> 350 <param name="column" value="2"/>
352 <param name="extra" value="True"/> 351 <param name="extra" value="True"/>
353 <param name="names" value="True"/> 352 <param name="names" value="True"/>
354 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/> 353 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/>
355 <output name="output_tsv"> 354 <output name="output_tsv">
356 <assert_contents> 355 <assert_contents>
357 <has_text text="GO:0004802" /> 356 <has_text text="GO:0004802"/>
358 <has_text text="2.2.1.1" /> 357 <has_text text="2.2.1.1"/>
359 <has_text text="IPR005475" /> 358 <has_text text="IPR005475"/>
360 </assert_contents> 359 </assert_contents>
361 </output> 360 </output>
362 <output name="output_ec_tsv"> 361 <output name="output_ec_tsv">
363 <assert_contents> 362 <assert_contents>
364 <has_text text="2.2.1.1" /> 363 <has_text text="2.2.1.1"/>
365 </assert_contents> 364 </assert_contents>
366 </output> 365 </output>
367 <output name="output_go_tsv"> 366 <output name="output_go_tsv">
368 <assert_contents> 367 <assert_contents>
369 <has_text text="GO:0004802" /> 368 <has_text text="GO:0004802"/>
370 </assert_contents> 369 </assert_contents>
371 </output> 370 </output>
372 <output name="output_ipr_tsv"> 371 <output name="output_ipr_tsv">
373 <assert_contents> 372 <assert_contents>
374 <has_text text="IPR005475" /> 373 <has_text text="IPR005475"/>
375 </assert_contents> 374 </assert_contents>
376 </output> 375 </output>
377 </test> 376 </test>
378 <!-- Test-5 --> 377 <!-- Test-5 -->
379 <test> 378 <test expect_num_outputs="5">
380 <param name="api" value="pept2funct"/> 379 <param name="api" value="pept2funct"/>
381 <param name="fmt" value="tabular"/> 380 <param name="fmt" value="tabular"/>
382 <param name="input_tsv" value="input.tsv"/> 381 <param name="input_tsv" value="input.tsv"/>
383 <param name="column" value="2"/> 382 <param name="column" value="2"/>
384 <param name="extra" value="True"/> 383 <param name="extra" value="True"/>
385 <param name="names" value="True"/> 384 <param name="names" value="True"/>
386 <param name="peptide_match" value="full"/> 385 <param name="peptide_match" value="full"/>
387 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/> 386 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/>
388 <output name="output_tsv"> 387 <output name="output_tsv">
389 <assert_contents> 388 <assert_contents>
390 <has_text text="GO:0004802" /> 389 <has_text text="GO:0004802"/>
391 <has_text text="2.2.1.1" /> 390 <has_text text="2.2.1.1"/>
392 <has_text text="IPR005475" /> 391 <has_text text="IPR005475"/>
393 <has_text_matching expression="FAPLLEEYKAEDWVQK\t0" /> 392 <has_text_matching expression="FAPLLEEYKAEDWVQK\t0"/>
394 </assert_contents> 393 </assert_contents>
395 </output> 394 </output>
396 <output name="output_ec_tsv"> 395 <output name="output_ec_tsv">
397 <assert_contents> 396 <assert_contents>
398 <has_text text="2.2.1.1" /> 397 <has_text text="2.2.1.1"/>
399 </assert_contents> 398 </assert_contents>
400 </output> 399 </output>
401 <output name="output_go_tsv"> 400 <output name="output_go_tsv">
402 <assert_contents> 401 <assert_contents>
403 <has_text text="GO:0004802" /> 402 <has_text text="GO:0004802"/>
404 </assert_contents> 403 </assert_contents>
405 </output> 404 </output>
406 <output name="output_ipr_tsv"> 405 <output name="output_ipr_tsv">
407 <assert_contents> 406 <assert_contents>
408 <has_text text="IPR005475" /> 407 <has_text text="IPR005475"/>
409 </assert_contents> 408 </assert_contents>
410 </output> 409 </output>
411 </test> 410 </test>
412 <!-- Test-6 --> 411 <!-- Test-6 -->
413 <test> 412 <test expect_num_outputs="5">
414 <param name="api" value="pept2funct"/> 413 <param name="api" value="pept2funct"/>
415 <param name="fmt" value="tabular"/> 414 <param name="fmt" value="tabular"/>
416 <param name="input_tsv" value="input.tsv"/> 415 <param name="input_tsv" value="input.tsv"/>
417 <param name="column" value="2"/> 416 <param name="column" value="2"/>
418 <param name="extra" value="True"/> 417 <param name="extra" value="True"/>
419 <param name="names" value="True"/> 418 <param name="names" value="True"/>
420 <param name="peptide_match" value="report"/> 419 <param name="peptide_match" value="report"/>
421 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/> 420 <param name="selected_outputs" value="tsv,ec_tsv,go_tsv,ipr_tsv,unmatched"/>
422 <output name="output_tsv"> 421 <output name="output_tsv">
423 <assert_contents> 422 <assert_contents>
424 <has_text text="GO:0004802" /> 423 <has_text text="GO:0004802"/>
425 <has_text text="2.2.1.1" /> 424 <has_text text="2.2.1.1"/>
426 <has_text text="IPR005475" /> 425 <has_text text="IPR005475"/>
427 <has_text_matching expression="FAPLLEEYKAEDWVQK\tAEDWVQK\t1" /> 426 <has_text_matching expression="AAEGGLSR\tAAEGGLSR\t6"/>
428 </assert_contents> 427 </assert_contents>
429 </output> 428 </output>
430 <output name="output_ec_tsv"> 429 <output name="output_ec_tsv">
431 <assert_contents> 430 <assert_contents>
432 <has_text text="2.2.1.1" /> 431 <has_text text="2.2.1.1"/>
433 </assert_contents> 432 </assert_contents>
434 </output> 433 </output>
435 <output name="output_go_tsv"> 434 <output name="output_go_tsv">
436 <assert_contents> 435 <assert_contents>
437 <has_text text="GO:0004802" /> 436 <has_text text="GO:0004802"/>
438 </assert_contents> 437 </assert_contents>
439 </output> 438 </output>
440 <output name="output_ipr_tsv"> 439 <output name="output_ipr_tsv">
441 <assert_contents> 440 <assert_contents>
442 <has_text text="IPR005475" /> 441 <has_text text="IPR005475"/>
443 </assert_contents> 442 </assert_contents>
444 </output> 443 </output>
445 </test> 444 </test>
446 </tests> 445 </tests>
447 <help><![CDATA[ 446 <help><![CDATA[
448 **Unipept** 447 **Unipept**
449 448
450 Retrieve Uniprot and taxanomic information for trypic peptides. 449 Retrieve Uniprot and taxanomic information for trypic peptides.
635 Bart Mesuere1,*, Griet Debyser2, Maarten Aerts3, Bart Devreese2, Peter Vandamme3 andPeter Dawyndt1 634 Bart Mesuere1,*, Griet Debyser2, Maarten Aerts3, Bart Devreese2, Peter Vandamme3 andPeter Dawyndt1
636 Article first published online: 11 FEB 2015 635 Article first published online: 11 FEB 2015
637 DOI: 10.1002/pmic.201400361 636 DOI: 10.1002/pmic.201400361
638 637
639 ]]></help> 638 ]]></help>
640 <citations> 639 <citations>
641 <citation type="doi">doi:10.1002/pmic.201400361</citation> 640 <citation type="doi">doi:10.1002/pmic.201400361</citation>
642 </citations> 641 </citations>
643
644 </tool> 642 </tool>