annotate msconvert3.xml @ 3:7e41529ee90c

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