annotate msconvert.xml @ 9:dd4ba10d0c45 draft

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