annotate msgfplus_search.xml @ 3:0cfe768bbda1

Fixed tool wrapper
author iracooke
date Mon, 04 Mar 2013 20:33:35 -0500
parents 50002ff2c1f3
children 366e62d86881
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
1 <tool id="proteomics_search_msgfplus_1" name="MSGF+ MSMS Search" version="1.0.0">
1
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
2
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
3 <requirements>
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
4 <requirement type="package" version="1.1.9">galaxy_protk</requirement>
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
5 <requirement type="package" version="20121116">protk_msgfplus</requirement>
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
6 </requirements>
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
7
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
8
0
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
9 <description>Run an MSGF+ Search</description>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
10
1
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
11 <command>
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
12 #if $database.source_select=="built_in":
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
13 rvm 1.9.3@protk-1.1.9 do msgfplus_search.rb --galaxy -d $database.dbkey
50002ff2c1f3 Uploaded
iracooke
parents: 0
diff changeset
14 #else #rvm 1.9.3@protk-1.1.9 do msgfplus_search.rb -d $database.fasta_file
0
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
15 #end if
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
16
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
17 --var-mods='
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
18 $variable_mods
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
19 #for $custom_variable_mod in $custom_variable_mods:
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
20 ,${custom_variable_mod.custom_mod}
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
21 #end for
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
22 '
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
23
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
24 --fix-mods='
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
25 $fixed_mods
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
26 #for $custom_fix_mod in $custom_fix_mods:
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
27 ,${custom_fix_mod.custom_mod}
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
28 #end for
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
29 '
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
30
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
31 $input_file -o $output -r --enzyme=$enzyme --precursor-ion-tol-units=$precursor_tolu -v $missed_cleavages -f $fragment_ion_tol -p $precursor_ion_tol --instrument=$instrument
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
32
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
33
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
34
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
35 </command>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
36
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
37 <inputs>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
38 <conditional name="database">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
39 <param name="source_select" type="select" label="Database source">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
40 <option value="built_in">Built-In</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
41 <option value="input_ref">Your Upload File</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
42 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
43 <when value="built_in">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
44 <param name="dbkey" type="select" format="text" >
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
45 <label>Database</label>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
46 <options from_file="pepxml_databases.loc">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
47 <column name="name" index="0" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
48 <column name="value" index="2" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
49 </options>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
50 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
51 </when>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
52 <when value="input_ref">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
53 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
54 </when>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
55 </conditional>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
56
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
57 <param name="input_file" type="data" format="mzml" multiple="false" label="MSMS File" help="An mzML file with MS/MS data"/>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
58
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
59
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
60 <param name="variable_mods" format="text" type="select" multiple="true" label="Variable Modifications" help="Hold the appropriate key while
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
61 clicking to select multiple items">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
62 <options from_file="msgfplus_mods.loc">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
63 <column name="name" index="0" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
64 <column name="value" index="2" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
65 </options>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
66 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
67
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
68 <repeat name="custom_variable_mods" title="Custom Variable Modifications" help="See https://bix-lab.ucsd.edu/pages/viewpage.action?pageId=13533355 for details on how to create these">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
69 <param name="custom_mod" type="text">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
70 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
71 </repeat>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
72
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
73
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
74 <param name="fixed_mods" format="text" type="select" multiple="true" label="Fixed Modifications" help="Hold the appropriate key while
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
75 clicking to select multiple items">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
76 <options from_file="msgfplus_mods.loc">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
77 <column name="name" index="0" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
78 <column name="value" index="2" />
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
79 </options>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
80 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
81
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
82 <repeat name="custom_fix_mods" title="Custom Fixed Modifications" help="See https://bix-lab.ucsd.edu/pages/viewpage.action?pageId=13533355 for details on how to create these">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
83 <param name="custom_mod" type="text">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
84 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
85 </repeat>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
86
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
87
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
88
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
89 <param name="missed_cleavages" type="select" format="text" help="Allow peptides to contain up to this many missed enzyme cleavage sites">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
90 <label>Missed Cleavages Allowed</label>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
91 <option value="0">0</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
92 <option value="1">1</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
93 <option value="2">2</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
94 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
95
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
96 <param name="enzyme" type="select" format="text">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
97 <label>Enzyme</label>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
98 <option value="Trypsin">Trypsin</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
99 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
100
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
101 <param name="instrument" type="select" format="text">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
102 <label>Instrument Type</label>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
103 <option value="2">TOF</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
104 <option value="0">Low-res LCQ/LTQ</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
105 <option value="1">High-res LTQ</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
106 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
107
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
108 <param name="fragment_ion_tol" help="Fragment Ion Tolerance in Daltons" type="float" value="0.65" min="0" max="10000" label="Fragment ion tolerance"/>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
109
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
110 <param name="precursor_ion_tol" help="Precursor Ion Tolerance (Da or ppm)" type="float" value="100" min="0" max="10000" label="Precursor ion tolerance"/>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
111 <param name="precursor_tolu" type="select" format="text">
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
112 <label>Precursor Ion Tolerance Units</label>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
113 <option value="ppm">ppm</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
114 <option value="Da">Da</option>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
115 </param>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
116
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
117 </inputs>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
118
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
119
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
120 <outputs>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
121 <data format="raw_pepxml" name="output" metadata_source="input_file" label="MSGF+_vs_${database.dbkey if $database.has_key('dbkey') else $database.fasta_file.display_name}.${input_file.display_name}.${input_file.display_name}.pepXML"/>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
122 </outputs>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
123
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
124
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
125 <help>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
126
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
127 **What it does**
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
128
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
129 Runs an MS/MS database search using the MSGFPlus search engine. Output is in the form of a pepXML file containing identified peptides along with their raw search scores.
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
130
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
131 ----
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
132
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
133 **References**
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
134
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
135 Please see http://proteomics.ucsd.edu/Software/MSGFPlus.html for details of the MSGFPlus search engine and references describing its algorithm
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
136
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
137 </help>
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
138
1049de3f4aed Uploaded
iracooke
parents:
diff changeset
139 </tool>