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