annotate msconvert.xml.template @ 0:10f4a0356342

Uploaded
author galaxyp
date Wed, 19 Dec 2012 00:10:08 -0500
parents
children 7e41529ee90c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
1 <tool id="msconvert$VERSION$DESCRIPTION" name="msconvert$VERSION$DESCRIPTION" version="0.1.0">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
2 <!-- BEGIN_VERSION_RAW -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
3 <description>Convert and filter a Thermo Finnigan RAW file</description>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
4 <!-- END_VERSION_RAW -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
5 <!-- BEGIN_VERSION_DEFAULT -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
6 <description>Convert and filter a mass spec peak list</description>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
7 <!-- END_VERSION_DEFAULT -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
8
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
9 <command interpreter="python">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
10 msconvert_wrapper.py
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
11 --input=${input}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
12 #if hasattr($input, 'display_name')
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
13 --input_name='${input.display_name}'
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
14 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
15 --output=${output}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
16 ## BEGIN_VERSION_DEFAULT
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
17 --fromextension=${input.ext}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
18 ## END_VERSION_DEFAULT
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
19
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
20 ## BEGIN_VERSION_RAW
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
21 --fromextension=RAW
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
22 ## END_VERSION_RAW
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
23
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
24 --toextension=${output_type}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
25
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
26 #if $settings.settingsType == "full"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
27 --binaryencoding=${settings.binary_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
28 --mzencoding=${settings.mz_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
29 --intensityencoding=${settings.intensity_encoding}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
30 --zlib=${settings.zlib}
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
31 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
32
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
33 #if $filtering.filtering_use
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
34
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
35 #if $filtering.precursor_recalculation.value
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
36 --filter "precursorRecalculation"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
37 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
38
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
39 #if $filtering.peak_picking.pick_peaks
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
40 --filter "peakPicking $filtering.peak_picking.prefer_vendor_peaks $filtering.peak_picking.ms_levels"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
41 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
42
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
43 #if str($filtering.activation) != "false"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
44 --filter "activation $filtering.activation"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
45 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
46
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
47 #if len($filtering.indices) > 0
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
48 --filter "index
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
49 #for $index in $filtering.indices
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
50 [${index.from},${index.to}]
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
51 #end for
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
52 "
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
53 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
54
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
55 #if len($filtering.scan_numbers) > 0
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
56 --filter "scanNumber
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
57 #for $scan_number in $filtering.scan_numbers
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
58 [${scan_number.from},${scan_number.to}]
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
59 #end for
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
60 "
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
61 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
62
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
63 #for threshold_entry in $filtering.threshold_repeat
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
64 --filter "threshold $threshold_entry.threshold.threshold_type $threshold_entry.threshold.value $threshold_entry.orientation"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
65 #end for
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
66
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
67
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
68 #if $filtering.strip_it.value
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
69 --filter "stripIT"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
70 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
71
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
72 #if $filtering.filter_mz_windows.do_filter
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
73 --filter "mzWindow [$filtering.filter_mz_windows.from,$filtering.filter_mz_windows.to]"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
74 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
75
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
76
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
77 #if $filtering.filter_ms_levels.do_filter
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
78 --filter "msLevel [$filtering.filter_ms_levels.from, $filtering.filter_ms_levels.to]"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
79 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
80
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
81 #if str($filtering.etd_filtering.do_etd_filtering) == "default"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
82 --filter "ETDFilter"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
83 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
84
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
85 #if str($filtering.etd_filtering.do_etd_filtering) == "advanced"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
86 --filter "ETDFilter removePrecursor:$filtering.etd_filtering.remove_precursor removeChargeReduced:$filtering.etd_filtering.remove_charge_reduced removeNeutralLoss:$filtering.etd_filtering.remove_neutral_loss blanketRemoval:$filtering.etd_filtering.blanket_removal MatchingTolerance:$filtering.etd_filtering.matching_tolerance $filtering.etd_filtering.matching_tolerance_units"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
87 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
88
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
89 ## BEGIN_VERSION_3
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
90
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
91 #if $filtering.precursor_refine.value
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
92 --filter "precursorRefine"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
93 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
94
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
95 #if $filtering.ms2denoise.denoise
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
96 --filter "MS2Denoise $filtering.ms2denoise.num_peaks $filtering.ms2denoise.window_width $filtering.ms2denoise.relax"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
97 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
98
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
99 #if str($filtering.ms2deisotope) == "true"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
100 --filter "MS2Deisotope"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
101 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
102
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
103 #if str($filtering.polarity) != "false"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
104 --filter "polarity $filtering.polarity"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
105 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
106
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
107 #if str($filtering.analyzer) != "false"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
108 --filter "analyzer $filtering.analyzer"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
109 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
110
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
111 ## END_VERSION_3
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
112
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
113 #end if
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
114
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
115 </command>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
116
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
117 <inputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
118 <!-- BEGIN_VERSION_RAW -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
119 <param format="RAW" name="input" type="data" label="Thermo Finnigan RAW Input"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
120 <!-- END_VERSION_RAW -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
121
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
122 <!-- BEGIN_VERSION_DEFAULT -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
123 <conditional name="type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
124 <param name="input_type" type="select" label="Input Type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
125 <option value="mzml">mzML</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
126 <option value="mzxml">mzXML</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
127 <option value="mgf">mgf</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
128 <option value="ms2">ms2</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
129 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
130 <when value="mzml">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
131 <param format="mzml" name="input" type="data" label="Input mzML"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
132 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
133 <when value="mzxml">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
134 <param format="mzxml" name="input" type="data" label="Input mzXML"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
135 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
136 <when value="mgf">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
137 <param format="mgf" name="input" type="data" label="Input mgf"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
138 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
139 <when value="ms2">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
140 <param format="ms2" name="input" type="data" label="Input ms2"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
141 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
142 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
143 <!-- END_VERSION_DEFAULT -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
144 <param name="output_type" type="select" label="Output Type">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
145 <option value="mzML">mzML (indexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
146 <option value="unindexed_mzML">mzML (unindexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
147 <option value="mzXML">mzXML (indexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
148 <option value="unindexed_mzXML">mzXML (unindexed)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
149 <option value="mgf">mgf</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
150 <option value="ms2">ms2</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
151 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
152 <conditional name="filtering">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
153 <param name="filtering_use" type="boolean" label="Use Filtering?" help="" truevalue="true" falsevalue="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
154 <when value="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
155 <when value="true">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
156 <param type="boolean" name="precursor_recalculation" label="Recalculate Precursor?" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
157 <!-- BEGIN_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
158 <param type="boolean" name="precursor_refine" label="Refine Precursor?" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
159 <!-- END_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
160
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
161
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
162 <conditional name="peak_picking">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
163 <param type="boolean" name="pick_peaks" label="Use Peak Picking?" truevalue="true" falsevalue="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
164 <when value="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
165 <when value="true">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
166 <param name="ms_levels" type="select" label="Peak Peaking - Apply to MS Levels">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
167 <option value="1">MS1 Only (1)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
168 <option value="2">MS2 Only (2)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
169 <option value="2-">MS2 and on (2-)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
170 <option value="1-">All Levels (1-)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
171 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
172 <param type="boolean" name="prefer_vendor_peaks" label="Peak Picking - Prefer Vendor Peaks?" truevalue="true" falsevalue="false" checked="true"/>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
173 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
174 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
175
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
176 <repeat name="threshold_repeat" title="Filter by Threshold">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
177 <conditional name="threshold">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
178 <param type="select" label="Specify threshold on" name="threshold_type" help="">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
179 <option value="count">Peak count</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
180 <option value="count-after-ties">Peak count (after ties)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
181 <option value="absolute">Peak absolute intensity</option><!-- TODO: absolute what? m/z -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
182 <option value="bpi-relative">Percent of base peak intensity</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
183 <option value="tic-relative">Percent of total ion current</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
184 <option value="tic-fraction">Aggregate percent of total ion current</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
185 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
186 <when value="count">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
187 <param type="integer" name="value" label="Number of peaks to keep" value="100" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
188 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
189 <when value="count-after-ties">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
190 <param type="integer" name="value" label="Number of peaks to keep (after ties)" value="100" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
191 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
192 <when value="absolute">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
193 <param type="float" name="value" label="Absolute intensity cut-off" value="100.0" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
194 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
195 <when value="bpi-relative">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
196 <param type="float" name="value" label="Keep peaks above (or below) this fraction of base peak intensity" value="0.2"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
197 />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
198 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
199 <when value="tic-relative">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
200 <param type="float" name="value" label="Keep peaks above (or below) this fraction of total ion current" value="0.2"
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
201 />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
202 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
203 <when value="tic-fraction">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
204 <param type="float" name="value" label="Keep peaks until this fraction of total ion current is accounted for" value="0.8" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
205 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
206 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
207 <param type="select" label="Keep" name="orientation">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
208 <option value="most-intense">Most intense peaks</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
209 <option value="least-intense">Least intense peaks</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
210 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
211 </repeat>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
212
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
213
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
214 <param name="activation" type="select" label="Filter by Activation">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
215 <option value="false" selected="true">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
216 <option value="ETD">ETD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
217 <option value="CID">CID</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
218 <option value="SA">SA</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
219 <option value="HCD">HCD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
220 <!-- BEGIN_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
221 <option>BIRD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
222 <option>ECD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
223 <option>IRMPD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
224 <option>PD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
225 <option>PSD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
226 <option>PQD</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
227 <option>SID</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
228 <option>SORI</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
229 <!-- END_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
230 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
231
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
232 <repeat name="indices" title="Filter Scan Indices">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
233 <param name="from" type="integer" label="Filter Scan Index From" value="0" optional="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
234 <param name="to" type="integer" label="Filter Scan Index To" value="0" optional="true" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
235 </repeat>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
236
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
237 <repeat name="scan_numbers" title="Filter Scan Numbers">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
238 <param name="from" type="integer" label="Filter Scan Number From" value="0" optional="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
239 <param name="to" type="integer" label="Filter Scan Number To" value="0" optional="true" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
240 </repeat>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
241
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
242 <conditional name="filter_mz_windows">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
243 <param name="do_filter" type="boolean" truevalue="true" falsevalue="false" label="Filter m/z Window" help="" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
244 <when value="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
245 <when value="true">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
246 <param name="from" type="float" label="Filter m/z From" value="0.0" optional="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
247 <param name="to" type="float" label="Filter m/z To" value="0.0" optional="true" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
248 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
249 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
250
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
251 <param type="boolean" name="strip_it" label="Strip Ion Trap MS1 Scans" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
252
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
253 <conditional name="filter_ms_levels">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
254 <param name="do_filter" type="boolean" label="Filter MS Levels" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
255 <when value="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
256 <when value="true">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
257 <param name="from" type="integer" label="Filter MS Level From" value="0" optional="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
258 <param name="to" type="integer" label="Filter MS Level To" value="0" optional="true" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
259 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
260 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
261
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
262 <conditional name="etd_filtering">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
263 <param name="do_etd_filtering" type="select" label="ETD Filtering">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
264 <option value="none" selected="true">none</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
265 <option value="default">yes (with default options)</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
266 <option value="advanced">yes (show advanced options) </option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
267 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
268 <when value="none" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
269 <when value="default" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
270 <when value="advanced">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
271 <param name="matching_tolerance" type="float" label="ETD Matching Tolernace" value="3.1">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
272 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
273 <param name="matching_tolerance_units" type="select" label="Units for ETD Matching Tolerance">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
274 <option value="MZ" selected="true">mz</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
275 <option value="PPM">ppm</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
276 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
277 <param name="remove_precursor" type="select" label="ETD Remove Precursor">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
278 <option value="true" selected="true">yes</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
279 <option value="false">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
280 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
281 <param name="remove_charge_reduced" type="select" label="ETD Remove Charge Reduced">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
282 <option value="true" selected="true">yes</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
283 <option value="false">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
284 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
285 <param name="remove_neutral_loss" type="select" label="ETD Remove Neutral Loss">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
286 <option value="true" selected="true">yes</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
287 <option value="false">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
288 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
289 <param name="blanket_removal" type="select" label="ETD Blanket Removal">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
290 <option value="true" selected="true">yes</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
291 <option value="false">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
292 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
293 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
294 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
295
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
296
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
297 <!-- BEGIN_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
298 <conditional name="ms2denoise">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
299 <param name="denoise" type="boolean" label="De-noise MS2 with moving window filter" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
300 <when value="true">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
301 <param name="num_peaks" label="De-noise: Number of peaks in window" value="6" type="integer" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
302 <param name="window_width" type="float" label="De-noise: Window width (Daltons)" value="30" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
303 <param name="relax" label="De-noise: Multicharge fragment relaxation" checked="true" type="boolean" truevalue="true" falsevalue="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
304 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
305 <when value="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
306 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
307 <param name="ms2deisotope" type="boolean" label="Deisotope MS2 using Markey method" help="" truevalue="true" falsevalue="false" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
308
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
309 <param name="polarity" type="select" label="Filter by Polarity">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
310 <option value="false" selected="true">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
311 <option value="positive">positive</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
312 <option value="negative">negative</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
313 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
314
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
315 <param name="analyzer" type="select" label="Filter by Analyzer">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
316 <option value="false" selected="true">no</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
317 <option value="quad">quad</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
318 <option value="orbi">orbi</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
319 <option value="FT">FT</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
320 <option value="IT">IT</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
321 <option value="TOF">TOF</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
322 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
323 <!-- END_VERSION_3 -->
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
324 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
325 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
326
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
327 <conditional name="settings">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
328 <param name="settingsType" type="select" label="Advanced Settings" help="">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
329 <option value="default">Use Defaults</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
330 <option value="full">Full Parameter List</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
331 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
332 <when value="default" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
333 <when value="full">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
334 <param type="select" name="binary_encoding" label="Binary Encoding Precision">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
335 <option value="64" selected="true">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
336 <option value="32">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
337 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
338 <param type="select" name="mz_encoding" label="m/z Encoding Precision">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
339 <option value="64" selected="true">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
340 <option value="32">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
341 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
342 <param type="select" name="intensity_encoding" label="Intensity Encoding Precision" value="32">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
343 <option value="64">64</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
344 <option value="32" selected="true">32</option>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
345 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
346 <param type="boolean" name="zlib" label="Use zlib">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
347 </param>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
348 </when>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
349 </conditional>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
350
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
351
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
352 </inputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
353 <outputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
354 <data format="mzml" name="output">
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
355 <change_format>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
356 <when input="output_type" value="mzXML" format="mzxml" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
357 <when input="output_type" value="unindexed_mzXML" format="mzxml" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
358 <when input="output_type" value="ms2" format="ms2" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
359 <when input="output_type" value="mgf" format="mgf" />
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
360 </change_format>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
361 </data>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
362 </outputs>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
363
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
364 <requirements>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
365 <requirement type="package">proteowizard</requirement>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
366 </requirements>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
367
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
368 <help>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
369 **What it does**
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
370
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
371 Converts between various mass spectrometry peak list representations. Additional options such as filtering and/or precursor recalculation are available.
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
372
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
373 You can view the original documentation here_.
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
374
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
375 .. _here: http://proteowizard.sourceforge.net/tools/msconvert.html
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
376
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
377 ------
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
378
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
379 **Citation**
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
380
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
381 For the underlying tool, please cite `ProteoWizard: Open Source Software for Rapid Proteomics Tools Development. Darren Kessner; Matt Chambers; Robert Burke; David Agus; Parag Mallick. Bioinformatics 2008; doi: 10.1093/bioinformatics/btn323.`
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
382
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
383 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-msconvert
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
384
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
385 </help>
10f4a0356342 Uploaded
galaxyp
parents:
diff changeset
386 </tool>