annotate msconvert.xml.template @ 4:001e77708ec9

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