annotate mascot_to_pepxml.xml @ 8:f567d1818b84 draft

Docker support and update for protk 1.4
author iracooke
date Thu, 26 Mar 2015 20:04:50 -0400
parents 75184e45bf84
children b3427b77073e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
f567d1818b84 Docker support and update for protk 1.4
iracooke
parents: 7
diff changeset
1 <tool id="mascot_to_pepxml_1" name="Mascot to pepXML" version="1.1.0">
7
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
2 <requirements>
8
f567d1818b84 Docker support and update for protk 1.4
iracooke
parents: 7
diff changeset
3 <container type="docker">iracooke/protk-1.4.1</container>
f567d1818b84 Docker support and update for protk 1.4
iracooke
parents: 7
diff changeset
4 <requirement type="package" version="1.4">protk</requirement>
f567d1818b84 Docker support and update for protk 1.4
iracooke
parents: 7
diff changeset
5 <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement>
7
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
6 </requirements>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
7
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
8 <description>Converts a mascot results file to pepXML</description>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
9
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
10 <command>mascot_to_pepxml.rb
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
11 $input_file
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
12
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
13 -o $output
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
14
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
15 #if $database.source_select=="built_in":
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
16 -d $database.dbkey
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
17 #else
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
18 -d $database.fasta_file
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
19 #end if
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
20
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
21 #if $explicit_enzyme.explicit_enzyme_use
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
22 --enzyme $explicit_enzyme.enzyme
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
23 #end if
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
24
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
25 $shortid
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
26
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
27 </command>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
28 <inputs>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
29
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
30
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
31 <param name="input_file" type="data" format="mascotdat" multiple="false" label="Input File" help="Mascot results file"/>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
32
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
33 <conditional name="database">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
34 <param name="source_select" type="select" label="Database source" help="A local copy of the database used in the Mascot search">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
35 <option value="built_in">Built-In</option>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
36 <option value="input_ref">Uploaded fasta file</option>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
37 </param>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
38 <when value="built_in">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
39 <param name="dbkey" type="select" format="text" >
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
40 <label>Database</label>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
41 <options from_file="pepxml_databases.loc">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
42 <column name="name" index="0" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
43 <column name="value" index="2" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
44 </options>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
45 </param>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
46 </when>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
47 <when value="input_ref">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
48 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
49 </when>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
50 </conditional>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
51
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
52 <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="" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
53
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
54 <conditional name="explicit_enzyme">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
55 <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" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
56 <when value="false" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
57 <when value="true">
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
58 <param name="enzyme" type="text" label="Enzyme" size="80" value="trypsin" help="Semi-cleavage can be specified as semisample_enyzme eg semitrypsin"/>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
59 </when>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
60 </conditional>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
61
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
62
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
63
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
64 </inputs>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
65 <outputs>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
66 <data format="raw_pepxml" metadata_source="input_file" name="output" label="${input_file.display_name}.pepXML" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
67 </outputs>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
68
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
69 <tests>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
70 <test>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
71 <param name="source_select" value="input_ref"/>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
72 <param name="fasta_file" value="bsa.fasta"/>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
73 <param name="input_file" value="F002832.dat"/>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
74 <output name="output" file="bsa_mascot2xml.pep.xml" compare="sim_size" delta="600" />
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
75 </test>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
76
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
77 </tests>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
78
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
79 <help>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
80 Convert mascot results from mascotdat to pepXML
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
81 </help>
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
82
75184e45bf84 Uploaded
iracooke
parents:
diff changeset
83 </tool>