annotate mascot_to_pepxml.xml @ 5:327b2d99d4c5

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