Mercurial > repos > iracooke > mascot
annotate mascot_to_pepxml.xml @ 10:b3427b77073e draft default tip
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
author | iracooke |
---|---|
date | Tue, 20 Oct 2015 19:50:46 -0400 |
parents | f567d1818b84 |
children |
rev | line source |
---|---|
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
1 <tool id="mascot_to_pepxml_1" name="Mascot to pepXML" version="1.1.1"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
2 <description>Converts a mascot results file to pepXML</description> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
3 <requirements> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
4 <container type="docker">iracooke/protk-1.4.3</container> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
5 <requirement type="package" version="1.4.3">protk</requirement> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
6 <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
7 </requirements> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
8 <command>mascot_to_pepxml.rb |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
9 $input_file |
7 | 10 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
11 -o $output |
7 | 12 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
13 #if $database.source_select=="built_in": |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
14 -d $database.dbkey |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
15 #else |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
16 -d $database.fasta_file |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
17 #end if |
7 | 18 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
19 #if $explicit_enzyme.explicit_enzyme_use |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
20 --enzyme $explicit_enzyme.enzyme |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
21 #end if |
7 | 22 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
23 $shortid |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
24 </command> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
25 <inputs> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
26 <param name="input_file" type="data" format="mascotdat" multiple="false" label="Input File" help="Mascot results file"/> |
7 | 27 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
28 <conditional name="database"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
29 <param name="source_select" type="select" label="Database source" help="A local copy of the database used in the Mascot search"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
30 <option value="built_in">Built-In</option> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
31 <option value="input_ref">Uploaded fasta file</option> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
32 </param> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
33 <when value="built_in"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
34 <param name="dbkey" type="select" format="text" > |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
35 <label>Database</label> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
36 <options from_file="pepxml_databases.loc"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
37 <column name="name" index="0" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
38 <column name="value" index="2" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
39 </options> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
40 </param> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
41 </when> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
42 <when value="input_ref"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
43 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
44 </when> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
45 </conditional> |
7 | 46 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
47 <param name="shortid" type="boolean" label="Short ID" help="Use protein id from the Mascot result file instead reading from the fasta database." truevalue="--shortid" falsevalue="" /> |
7 | 48 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
49 <conditional name="explicit_enzyme"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
50 <param name="explicit_enzyme_use" type="boolean" label="Specify Enzyme" help="If left unchecked the Enzyme will be read from the input file" truevalue="true" falsevalue="false" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
51 <when value="false" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
52 <when value="true"> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
53 <param name="enzyme" type="text" label="Enzyme" size="80" value="trypsin" help="Semi-cleavage can be specified as semisample_enyzme eg semitrypsin"/> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
54 </when> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
55 </conditional> |
7 | 56 |
10
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
57 </inputs> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
58 <outputs> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
59 <data format="raw_pepxml" metadata_source="input_file" name="output" label="${input_file.display_name}.pepXML" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
60 </outputs> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
61 <tests> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
62 <test> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
63 <param name="source_select" value="input_ref"/> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
64 <param name="fasta_file" value="bsa.fasta"/> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
65 <param name="input_file" value="F002832.dat"/> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
66 <output name="output" file="bsa_mascot2xml.pep.xml" compare="sim_size" delta="600" /> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
67 </test> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
68 </tests> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
69 <help> |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
70 Convert mascot results from mascotdat to pepXML |
b3427b77073e
planemo upload for repository https://github.com/iracooke/protk-galaxytools/blob/master/mascot/.shed.yml commit 24e0fef2496984648a8a5cd5bff4d6b9b634a302-dirty
iracooke
parents:
8
diff
changeset
|
71 </help> |
7 | 72 </tool> |