annotate msconvert_raw.xml @ 8:d2c61663e33c draft

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