0
|
1 <tool id="openms_peak_file_filter" version="0.1.0" name="mzML File Filter">
|
|
2 <description>
|
|
3 Extract portions of peak lists.
|
|
4 </description>
|
2
|
5 <macros>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio" />
|
|
9 <expand macro="requires" />
|
0
|
10 <command interpreter="python">
|
|
11 openms_wrapper.py --executable 'FileFilter' --config $config
|
|
12 </command>
|
|
13 <configfiles>
|
|
14 <configfile name="config">[simple_options]
|
|
15 #if $mz.specify
|
|
16 mz=${mz.min}:${mz.max}
|
|
17 #end if
|
|
18 #if $rt.specify
|
|
19 rt=${rt.min}:${rt.max}
|
|
20 #end if
|
|
21 #if $intensity.specify
|
|
22 int=${intensity.min}:${intensity.max}
|
|
23 #end if
|
|
24 sn=${signal_to_noise}
|
|
25 in=${in}
|
|
26 in_type=mzML
|
|
27 out=${out}
|
|
28 out_type=mzML
|
|
29 </configfile>
|
|
30 </configfiles>
|
|
31 <inputs>
|
|
32 <param format="mzml" name="in" type="data" label="Input mzML File"/>
|
|
33 <param type="float" name="signal_to_noise" label="Minimum signal-to-noise ratio" value="0" />
|
|
34 <conditional name="mz">
|
|
35 <param type="boolean" name="specify" label="Filter by m/z" />
|
|
36 <when value="true">
|
|
37 <param type="float" name="min" label="Minimum m/z (optional)" optional="true" value="" />
|
|
38 <param type="float" name="max" label="Maximum m/z (optional)" optional="true" value="" />
|
|
39 </when>
|
|
40 </conditional>
|
|
41 <conditional name="rt">
|
|
42 <param type="boolean" name="specify" label="Filter by retention time" />
|
|
43 <when value="true">
|
|
44 <param type="float" name="min" label="Minimum retention time (optional)" optional="true" value="" />
|
|
45 <param type="float" name="max" label="Maximum retention (optional)" optional="true" value="" />
|
|
46 </when>
|
|
47 </conditional>
|
|
48 <conditional name="intensity">
|
|
49 <param type="boolean" name="specify" label="Filter by intensity" />
|
|
50 <when value="true">
|
|
51 <param type="float" name="min" label="Minimum intensity (optional)" optional="true" value="" />
|
|
52 <param type="float" name="max" label="Maximum intensity (optional)" optional="true" value="" />
|
|
53 </when>
|
|
54 </conditional>
|
|
55 </inputs>
|
|
56 <outputs>
|
|
57 <data format="mzml" name="out" />
|
|
58 </outputs>
|
|
59 <help>
|
|
60 **What it does**
|
|
61
|
|
62 Extracts portions of the data from an mzML.
|
|
63
|
|
64 **Citation**
|
|
65
|
|
66 For the underlying tool, please cite ``Marc Sturm, Andreas Bertsch, Clemens Gröpl, Andreas Hildebrandt, Rene Hussong, Eva Lange, Nico Pfeifer, Ole Schulz-Trieglaff, Alexandra Zerck, Knut Reinert, and Oliver Kohlbacher, 2008. OpenMS – an Open-Source Software Framework for Mass Spectrometry. BMC Bioinformatics 9: 163. doi:10.1186/1471-2105-9-163.``
|
|
67
|
|
68 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-openms
|
|
69 </help>
|
|
70 </tool>
|