Mercurial > repos > galaxyp > unipept
comparison unipept.xml @ 1:0c1ee95282fa draft
Uploaded
author | galaxyp |
---|---|
date | Tue, 14 Apr 2015 16:44:22 -0400 |
parents | 6430407e5869 |
children | 503ab8a39006 |
comparison
equal
deleted
inserted
replaced
0:6430407e5869 | 1:0c1ee95282fa |
---|---|
1 <tool id="unipept" name="Unipept" version="0.1.0"> | 1 <tool id="unipept" name="Unipept" version="1.1.0"> |
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="false" 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> |
7 </param > | 7 </param > |
8 </xml> | 8 </xml> |
9 <xml name="extra"> | 9 <xml name="extra"> |
10 <param name="extra" type="boolean" truevalue="-x" falsevalue="" checked="false" label="retrieve extra information"> | 10 <param name="extra" type="boolean" truevalue="-x" falsevalue="" checked="false" label="retrieve extra information"> |
11 <yield/> | 11 <yield/> |
12 </param > | 12 </param > |
13 </xml> | 13 </xml> |
14 <xml name="names"> | 14 <xml name="names"> |
15 <param name="names" type="boolean" truevalue="-n" falsevalue="" checked="true" label="names" > | 15 <param name="names" type="boolean" truevalue="-n" falsevalue="" checked="true" label="names" > |
16 <help>return the names of taxons</help> | 16 <help>return the names in complete taxonomic lineage</help> |
17 </param > | |
18 <param name="allfields" type="boolean" truevalue="-A" falsevalue="" checked="false" label="allfields" > | |
19 <help>include fields for most specific taxonomic classification: taxon_rank,taxon_id,taxon_name before lineage</help> | |
17 </param > | 20 </param > |
18 </xml> | 21 </xml> |
19 </macros> | 22 </macros> |
20 <requirements> | 23 <requirements> |
21 </requirements> | 24 </requirements> |
25 <command interpreter="python"><![CDATA[ | 28 <command interpreter="python"><![CDATA[ |
26 unipept.py | 29 unipept.py |
27 --api=$unipept.api | 30 --api=$unipept.api |
28 $unipept.equate_il $unipept.extra | 31 $unipept.equate_il $unipept.extra |
29 #if $unipept.api != 'pept2prot': | 32 #if $unipept.api != 'pept2prot': |
30 $unipept.names | 33 $unipept.names $unipept.allfields |
31 #end if | 34 #end if |
32 $strict | 35 $strict |
33 #if str($peptide_src.fmt) == 'proteomic': | 36 #if str($peptide_src.fmt) == 'proteomic': |
34 #if $peptide_src.input.datatype.file_ext == 'fasta': | 37 #if $peptide_src.input.datatype.file_ext == 'fasta': |
35 --fasta="$peptide_src.input" | 38 --fasta="$peptide_src.input" |
56 --tsv $output_tsv | 59 --tsv $output_tsv |
57 #end if | 60 #end if |
58 #if 'csv' in str($outputs).split(','): | 61 #if 'csv' in str($outputs).split(','): |
59 --csv $output_csv | 62 --csv $output_csv |
60 #end if | 63 #end if |
61 #if 'mismatch' in str($outputs).split(','): | 64 #if 'unmatched' in str($outputs).split(','): |
62 --mismatch $output_mismatch | 65 --unmatched $output_unmatched |
63 #end if | 66 #end if |
64 ]]></command> | 67 ]]></command> |
65 <inputs> | 68 <inputs> |
66 <conditional name="unipept"> | 69 <conditional name="unipept"> |
67 <param name="api" type="select" label="Unipept application" > | 70 <param name="api" type="select" label="Unipept application" > |
68 <option value="pept2taxa" selected="true">pept2taxa: organisms associated with the UniProt entries containing a given tryptic peptide</option> | 71 <option value="pept2lca" selected="true">pept2lca: lowest common ancestor</option> |
69 <option value="pept2lca">pept2lca: lowest common ancestor</option> | 72 <option value="pept2taxa">pept2taxa: organisms associated with the UniProt entries containing a given tryptic peptide</option> |
70 <option value="pept2prot">pept2prot: UniProt entries containing a given tryptic peptide</option> | 73 <option value="pept2prot">pept2prot: UniProt entries containing a given tryptic peptide</option> |
71 </param> | 74 </param> |
75 <when value="pept2lca"> | |
76 <expand macro="equate_il" /> | |
77 <expand macro="extra"> | |
78 <help>Return the complete lineage of the taxonomic lowest common ancestor, and include ID fields.</help> | |
79 </expand> | |
80 <expand macro="names" /> | |
81 </when> | |
72 <when value="pept2taxa"> | 82 <when value="pept2taxa"> |
73 <expand macro="equate_il" /> | 83 <expand macro="equate_il" /> |
74 <expand macro="extra"> | 84 <expand macro="extra"> |
75 <checked>true</checked> | 85 <checked>true</checked> |
76 <help>Return the complete lineage of each organism.</help> | 86 <help>Return the complete lineage of each organism, and include ID fields.</help> |
77 </expand> | |
78 <expand macro="names" /> | |
79 </when> | |
80 <when value="pept2lca"> | |
81 <expand macro="equate_il" /> | |
82 <expand macro="extra"> | |
83 <help>Return the complete lineage of the taxonomic lowest common ancestor.</help> | |
84 </expand> | 87 </expand> |
85 <expand macro="names" /> | 88 <expand macro="names" /> |
86 </when> | 89 </when> |
87 <when value="pept2prot"> | 90 <when value="pept2prot"> |
88 <expand macro="equate_il" /> | 91 <expand macro="equate_il" /> |
120 </conditional> | 123 </conditional> |
121 <param name="outputs" type="select" multiple="true" display="checkboxes" label="Choose outputs"> | 124 <param name="outputs" type="select" multiple="true" display="checkboxes" label="Choose outputs"> |
122 <option value="tsv" selected="true">tabular</option> | 125 <option value="tsv" selected="true">tabular</option> |
123 <option value="csv">Comma Separated Values (.csv)</option> | 126 <option value="csv">Comma Separated Values (.csv)</option> |
124 <option value="json">JSON</option> | 127 <option value="json">JSON</option> |
125 <option value="mismatch">Mismatches</option> | 128 <option value="unmatched">Unmatched peptides</option> |
126 </param> | 129 </param> |
127 <param name="strict" type="boolean" truevalue="--strict" falsevalue="" checked="false" label="Exit with error on invalid peptides, otherwise ignore them"/> | 130 <param name="strict" type="boolean" truevalue="--strict" falsevalue="" checked="false" label="Exit with error on invalid peptides, otherwise ignore them"/> |
128 </inputs> | 131 </inputs> |
129 <outputs> | 132 <outputs> |
130 <data name="output_json" format="json" label="${tool.name} ${unipept.api} on ${on_string} json"> | 133 <data name="output_json" format="json" label="${tool.name} ${unipept.api} on ${on_string} json"> |
134 <filter>'tsv' in outputs</filter> | 137 <filter>'tsv' in outputs</filter> |
135 </data> | 138 </data> |
136 <data name="output_csv" format="csv" label="${tool.name} ${unipept.api} on ${on_string} csv"> | 139 <data name="output_csv" format="csv" label="${tool.name} ${unipept.api} on ${on_string} csv"> |
137 <filter>'csv' in outputs</filter> | 140 <filter>'csv' in outputs</filter> |
138 </data> | 141 </data> |
139 <data name="output_mismatch" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} mismatch"> | 142 <data name="output_unmatched" format="tabular" label="${tool.name} ${unipept.api} on ${on_string} unmatched"> |
140 <filter>'mismatch' in outputs</filter> | 143 <filter>'unmatched' in outputs</filter> |
141 </data> | 144 </data> |
142 </outputs> | 145 </outputs> |
143 <tests> | 146 <tests> |
144 <test> | 147 <test> |
148 <param name="api" value="pept2lca"/> | |
145 <param name="fmt" value="tabular"/> | 149 <param name="fmt" value="tabular"/> |
146 <param name="input_tsv" value="input.tsv"/> | 150 <param name="input_tsv" value="tryptic.tsv"/> |
147 <param name="column" value="2"/> | 151 <param name="column" value="2"/> |
148 <param name="extra" value="True"/> | 152 <param name="extra" value="True"/> |
149 <param name="names" value="True"/> | 153 <param name="names" value="True"/> |
150 <param name="outputs" value="tsv,mismatch"/> | 154 <param name="outputs" value="tsv,unmatched"/> |
151 <output name="output_tsv"> | 155 <output name="output_tsv"> |
152 <assert_contents> | 156 <assert_contents> |
153 <has_text text="AIPQLEVARPADAYETAEAYR" /> | 157 <has_text text="Homininae" /> |
154 </assert_contents> | 158 </assert_contents> |
155 </output> | 159 </output> |
156 <output name="output_mismatch"> | 160 <output name="output_unmatched"> |
157 <assert_contents> | 161 <assert_contents> |
158 <has_text text="DQIAHEGK" /> | 162 <has_text text="QTAMAV" /> |
159 </assert_contents> | 163 </assert_contents> |
160 </output> | 164 </output> |
161 </test> | 165 </test> |
162 <test> | 166 <test> |
167 <param name="api" value="pept2lca"/> | |
163 <param name="fmt" value="fasta"/> | 168 <param name="fmt" value="fasta"/> |
164 <param name="input_tsv" value="input.fasta"/> | 169 <param name="input_fasta" value="peptide.fa"/> |
165 <param name="equate_il" value="True"/> | 170 <param name="equate_il" value="True"/> |
166 <param name="extra" value="True"/> | 171 <param name="extra" value="True"/> |
167 <param name="names" value="True"/> | 172 <param name="names" value="True"/> |
168 <param name="outputs" value="json,mismatch"/> | 173 <param name="outputs" value="json,tsv"/> |
169 <output name="output_json"> | 174 <output name="output_json"> |
170 <assert_contents> | 175 <assert_contents> |
171 <has_text text="AIPQLEVARPADAYETAEAYR" /> | 176 <has_text text="VMDVNDHKPEFYNCSLPACTFTPEEAQVNFTGYVDEHASPHIPIDDLTMVVYDPDKGSNGTFLLSLGGPDAEAFSVSPERAAGSASVQVLVRVSALVDYERQTAMAV" /> |
172 </assert_contents> | 177 </assert_contents> |
173 </output> | 178 </output> |
174 <output name="output_mismatch"> | 179 <output name="output_tsv"> |
175 <assert_contents> | 180 <assert_contents> |
176 <has_text text="DQIAHEGK" /> | 181 <has_text text="9606" /> |
182 <has_text text="9598" /> | |
183 </assert_contents> | |
184 </output> | |
185 </test> | |
186 <test> | |
187 <param name="api" value="pept2taxa"/> | |
188 <param name="fmt" value="fasta"/> | |
189 <param name="input_fasta" value="peptide.fa"/> | |
190 <param name="equate_il" value="True"/> | |
191 <param name="extra" value="False"/> | |
192 <param name="names" value="False"/> | |
193 <param name="outputs" value="tsv"/> | |
194 <output name="output_tsv"> | |
195 <assert_contents> | |
196 <has_text text="sapiens" /> | |
197 <has_text text="troglodytes" /> | |
198 <has_text text="Gorilla" /> | |
199 <has_text text="Macaca" /> | |
177 </assert_contents> | 200 </assert_contents> |
178 </output> | 201 </output> |
179 </test> | 202 </test> |
180 </tests> | 203 </tests> |
181 <help><![CDATA[ | 204 <help><![CDATA[ |
182 **Unipept** | 205 **Unipept** |
183 | 206 |
184 Retrieve Uniprot and taxanomic information for trypic peptides. | 207 Retrieve Uniprot and taxanomic information for trypic peptides. |
185 | 208 |
186 **pept2prot** | 209 Unipept API documentation - http://unipept.ugent.be/apidocs |
210 | |
211 **Input** | |
212 | |
213 Input peptides can be retrieved from tabular, fasta, mzid, or pepxml datasets. | |
214 | |
215 Processing deatils:: | |
216 | |
217 The input peptides are split into typtic peptide fragments in order to match the Unipept records. | |
218 Only fragments that are complete tryptic peptides between 5 and 50 animo acid in length will be matched by Unipept. | |
219 The match to the most specific tryptic fragment is reported. | |
220 | |
221 | |
222 **Unipept APIs** | |
223 | |
224 **pept2prot** - http://unipept.ugent.be/apidocs/pept2prot | |
225 | |
187 Returns the list of UniProt entries containing a given tryptic peptide. This is the same information as provided on the Protein matches tab when performing a search with the Tryptic Peptide Analysis in the web interface. | 226 Returns the list of UniProt entries containing a given tryptic peptide. This is the same information as provided on the Protein matches tab when performing a search with the Tryptic Peptide Analysis in the web interface. |
188 | 227 |
189 By default, each object contains the following information fields extracted from the UniProt record:: | 228 By default, each object contains the following information fields extracted from the UniProt record:: |
190 | 229 |
191 peptide: the peptide that matched this record | 230 peptide: the peptide that matched this record |
200 refseq_ids: a space separated list of associated RefSeq accession numbers | 239 refseq_ids: a space separated list of associated RefSeq accession numbers |
201 refseq_protein_ids: a space separated list of associated RefSeq protein accession numbers | 240 refseq_protein_ids: a space separated list of associated RefSeq protein accession numbers |
202 insdc_ids: a space separated list of associated insdc accession numbers | 241 insdc_ids: a space separated list of associated insdc accession numbers |
203 insdc_protein_ids: a space separated list of associated insdc protein accession numbers | 242 insdc_protein_ids: a space separated list of associated insdc protein accession numbers |
204 | 243 |
205 http://unipept.ugent.be/apidocs/pept2prot | 244 |
206 | 245 **pept2taxa** - http://unipept.ugent.be/apidocs/pept2taxa |
207 **pept2taxa** | 246 |
208 Returns the set of organisms associated with the UniProt entries containing a given tryptic peptide. This is the same information as provided on the Lineage table tab when performing a search with the Tryptic Peptide Analysis in the web interface. | 247 Returns the set of organisms associated with the UniProt entries containing a given tryptic peptide. This is the same information as provided on the Lineage table tab when performing a search with the Tryptic Peptide Analysis in the web interface. |
209 | 248 |
210 By default, each object contains the following information fields extracted from the UniProt record and NCBI taxonomy:: | 249 By default, each object contains the following information fields extracted from the UniProt record and NCBI taxonomy:: |
211 | 250 |
212 peptide: the peptide that matched this record | 251 peptide: the peptide that matched this record |
243 species_id | 282 species_id |
244 subspecies_id | 283 subspecies_id |
245 varietas_id | 284 varietas_id |
246 forma_id | 285 forma_id |
247 | 286 |
248 http://unipept.ugent.be/apidocs/pept2taxa | 287 |
249 | 288 **pept2lca** - http://unipept.ugent.be/apidocs/pept2lca |
250 **pept2lca** | 289 |
251 Returns the taxonomic lowest common ancestor for a given tryptic peptide. This is the same information as provided when performing a search with the Tryptic Peptide Analysis in the web interface. | 290 Returns the taxonomic lowest common ancestor for a given tryptic peptide. This is the same information as provided when performing a search with the Tryptic Peptide Analysis in the web interface. |
252 | 291 |
253 By default, each object contains the following information fields extracted from the UniProt record and NCBI taxonomy:: | 292 By default, each object contains the following information fields extracted from the UniProt record and NCBI taxonomy:: |
254 | 293 |
255 peptide: the peptide that matched this record | 294 peptide: the peptide that matched this record |
286 species_id | 325 species_id |
287 subspecies_id | 326 subspecies_id |
288 varietas_id | 327 varietas_id |
289 forma_id | 328 forma_id |
290 | 329 |
291 http://unipept.ugent.be/apidocs/pept2lca | |
292 | 330 |
293 **Attributions** | 331 **Attributions** |
294 | 332 |
295 The Unipept metaproteomics analysis pipeline | 333 The Unipept metaproteomics analysis pipeline |
296 Bart Mesuere1,*, Griet Debyser2, Maarten Aerts3, Bart Devreese2, Peter Vandamme3 andPeter Dawyndt1 | 334 Bart Mesuere1,*, Griet Debyser2, Maarten Aerts3, Bart Devreese2, Peter Vandamme3 andPeter Dawyndt1 |