annotate mascot.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="proteomics_search_mascot_1" name="Mascot MSMS Search" version="1.0.1">
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
3
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
4 <requirements>
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
5 <requirement type="package" version="1.2.2">galaxy_protk</requirement>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
6 </requirements>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
7
4
d9564913a944 Uploaded
iracooke
parents: 2
diff changeset
8 <description>Mascot MS/MS Search</description>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
9
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
10
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
11 <command>rvm 1.9.3@protk-1.2.2 do mascot_search.rb
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
12
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
13 #if $database.source_select=="built_in":
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
14 -d $database.dbkey
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
15 #else
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
16 -d $database.custom_db
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
17 #end if
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
18
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
19 -f $fragment_ion_tol
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
20
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
21 -S $server $input_file
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
22
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
23 -o $output
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
24
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
25 -r
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
26
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
27 ## Variable Mods
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
28
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
29 --var-mods='
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
30 $variable_mods
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
31 '
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
32
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
33 --fix-mods='
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
34 $fixed_mods
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
35 '
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
36 --allowed-charges=$allowed_charges
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
37
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
38 --enzyme=$enzyme
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
39
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
40 --instrument=$instrument
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
41
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
42 --precursor-ion-tol-units=$precursor_tolu
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
43
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
44 --email=$email
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
45
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
46 -v $missed_cleavages
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
47
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
48 #if $security.security_use
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
49 --use-security
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
50 --username $security.username
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
51 --password $security.password
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
52 #end if
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
53
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
54 #if $proxy
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
55 --proxy $proxy
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
56 #end if
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
57
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
58 </command>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
59
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
60 <inputs>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
61
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
62 <param name="input_file" type="data" format="mgf" multiple="false" label="MSMS File" help="A Mascot Generic Format file containing MSMS Spectra"/>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
63
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
64 <conditional name="database">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
65 <param name="source_select" type="select" label="Database Type">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
66 <option value="built_in">Built-In</option>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
67 <option value="custom_defined">Custom</option>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
68 </param>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
69 <when value="built_in">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
70 <param name="dbkey" type="select" format="text" >
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
71 <label>Database</label>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
72 <options from_file="mascot_databases.loc">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
73 <column name="name" index="0" />
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
74 <column name="value" index="2" />
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
75 </options>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
76 </param>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
77 </when>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
78 <when value="custom_defined">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
79 <param name="custom_db" type="text" size="80" value="SwissProt" label="Database Name" help="Exact name of a database defined on the Mascot server (case-sensitive)"/>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
80 </when>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
81 </conditional>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
82
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
83 <param name="variable_mods" format="text" type="select" multiple="true" label="Variable Modifications" help="Multiple values allowed">
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
84 <options from_file="mascot_mods.loc">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
85 <column name="name" index="0" />
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
86 <column name="value" index="2" />
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
87 </options>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
88 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
89
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
90 <param name="fixed_mods" format="text" type="select" multiple="true" label="Fixed Modifications" help="Multiple values allowed">
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
91 <options from_file="mascot_mods.loc">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
92 <column name="name" index="0" />
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
93 <column name="value" index="2" />
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
94 </options>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
95 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
96
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
97 <param name="missed_cleavages" type="select" format="text">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
98 <label>Missed Cleavages Allowed</label>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
99 <option value="0">0</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
100 <option value="1">1</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
101 <option value="2">2</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
102 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
103
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
104 <param name="enzyme" type="select" format="text">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
105 <label>Enzyme</label>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
106 <option value="Trypsin">Trypsin</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
107 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
108
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
109 <param name="allowed_charges" type="select" format="text">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
110 <label>Peptide Charge</label>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
111 <option value="8-">8-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
112 <option value="7-">7-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
113 <option value="6-">6-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
114 <option value="5-">5-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
115 <option value="4-">4-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
116 <option value="3-">3-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
117 <option value="2-,3- and 4-">2-,3- and 4-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
118 <option value="2- and 3-">2- and 3-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
119 <option value="2-">2-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
120 <option value="1-,2- and 3-">1-,2- and 3-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
121 <option value="1-">1-</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
122 <option value="Mr">Mr</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
123 <option value="1+">1+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
124 <option value="1+, 2+ and 3+">1+,2+ and 3+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
125 <option value="2+">2+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
126 <option value="2+ and 3+">2+ and 3+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
127 <option value="2+,3+ and 4+">2+,3+ and 4+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
128 <option value="3+">3+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
129 <option value="4+">4+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
130 <option value="5+">5+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
131 <option value="6+">6+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
132 <option value="7+">7+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
133 <option value="8+">8+</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
134 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
135
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
136 <param name="instrument" type="select" format="text">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
137 <label>Instrument</label>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
138 <option value="ESI-QUAD-TOF">ESI-QUAD-TOF</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
139 <option value="MALDI-TOF-PSD">MALDI-TOF-PSD</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
140 <option value="ESI-TRAP">ESI-TRAP</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
141 <option value="ESI-QUAD">ESI-QUAD</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
142 <option value="ESI-FTICR">ESI-FTICR</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
143 <option value="MALDI-TOF-TOF">MALDI-TOF-TOF</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
144 <option value="ESI-4SECTOR">ESI-4SECTOR</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
145 <option value="FTMS-ECD">FTMS-ECD</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
146 <option value="ETD-TRAP">ETD-TRAP</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
147 <option value="MALDI-QUAD-TOF">MALDI-QUAD-TOF</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
148 <option value="MALDI-QIT-TOF">MALDI-QIT-TOF</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
149 <option value="MALDI-ISD">MALDI-ISD</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
150 <option value="CID+ETD">CID+ETD</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
151 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
152
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
153 <param name="fragment_ion_tol" label="Fragment Ion Tolerance" type="float" value="0.65" min="0" max="10000" help="Fragment ion tolerance in Daltons"/>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
154
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
155 <param name="precursor_ion_tol" label="Precursor Ion Tolerance (Da or ppm)" type="float" value="100" min="0" max="10000" help="Enter a value in Daltons or ppm depending on the units chosen below"/>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
156 <param name="precursor_tolu" type="select" format="text">
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
157 <label>Precursor Ion Tolerance Units</label>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
158 <option value="ppm">ppm</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
159 <option value="Da">Da</option>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
160 </param>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
161
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
162 <param name="server" type="text" label="URL to the cgi directory on the Mascot Server " size="60" value="http://www.exampleserver.com/mascot/cgi/"/>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
163 <param name="proxy" type="text" label="Proxy Server URL including proxy port" size="60" value="" help="eg http://proxy.latrobe.edu.au:8080"/>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
164
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
165 <conditional name="security">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
166 <param name="security_use" type="boolean" label="Use Mascot Security?" help="Select this if you need to enter a username and password" truevalue="true" falsevalue="false" />
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
167 <when value="false" />
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
168 <when value="true">
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
169 <param name="username" type="text" label="Username" size="60" value="" help="Username on Mascot Server"/>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
170 <param name="password" type="text" label="Password" size="60" value="" help="Mascot Password. Password is encrypted when over the internet but is stored in clear-text on the Galaxy server"/>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
171 </when>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
172 </conditional>
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
173 <param name="email" type="text" label="Email " size="60" value="" help=""/>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
174
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
175
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
176
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
177 </inputs>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
178 <outputs>
5
Ira Cooke <iracooke@gmail.com>
parents: 4
diff changeset
179 <data format="mascotdat" name="output" metadata_source="input_file" label="mascot_vs_${database.dbkey if $database.has_key('dbkey') else $database.custom_db}.${input_file.display_name}.mascotdat"/>
2
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
180 </outputs>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
181
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
182 <help>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
183 Run a Mascot Search
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
184 </help>
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
185
579b1f9146b4 Uploaded
iracooke
parents:
diff changeset
186 </tool>