0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="BaselineFilter" name="BaselineFilter" version="2.0.0">
|
|
3 <description>Removes the baseline from profile spectra using a top-hat filter.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">BaselineFilter</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>BaselineFilter
|
|
11
|
|
12 #if $param_in:
|
|
13 -in $param_in
|
|
14 #end if
|
|
15 #if $param_out:
|
|
16 -out $param_out
|
|
17 #end if
|
|
18 #if $param_struc_elem_length:
|
|
19 -struc_elem_length $param_struc_elem_length
|
|
20 #end if
|
|
21 #if $param_struc_elem_unit:
|
|
22 -struc_elem_unit
|
|
23 #if " " in str($param_struc_elem_unit):
|
|
24 "$param_struc_elem_unit"
|
|
25 #else
|
|
26 $param_struc_elem_unit
|
|
27 #end if
|
|
28 #end if
|
|
29 #if $param_method:
|
|
30 -method
|
|
31 #if " " in str($param_method):
|
|
32 "$param_method"
|
|
33 #else
|
|
34 $param_method
|
|
35 #end if
|
|
36 #end if
|
|
37 -threads \${GALAXY_SLOTS:-24}
|
|
38 #if $adv_opts.adv_opts_selector=='advanced':
|
|
39 #if $adv_opts.param_force:
|
|
40 -force
|
|
41 #end if
|
|
42 #end if
|
|
43 </command>
|
|
44 <inputs>
|
|
45 <param name="param_in" type="data" format="mzml" optional="False" label="input raw data file" help="(-in) "/>
|
|
46 <param name="param_struc_elem_length" type="float" value="3.0" label="Length of the structuring element (should be wider than maximal peak width - see documentation)" help="(-struc_elem_length) "/>
|
|
47 <param name="param_struc_elem_unit" type="select" optional="True" value="Thomson" label="Unit of 'struc_elem_length' paramete" help="(-struc_elem_unit) ">
|
|
48 <option value="Thomson">Thomson</option>
|
|
49 <option value="DataPoints">DataPoints</option>
|
|
50 </param>
|
|
51 <param name="param_method" type="select" optional="True" value="tophat" label="The name of the morphological filter to be applied" help="(-method) If you are unsure, use the default">
|
|
52 <option value="identity">identity</option>
|
|
53 <option value="erosion">erosion</option>
|
|
54 <option value="dilation">dilation</option>
|
|
55 <option value="opening">opening</option>
|
|
56 <option value="closing">closing</option>
|
|
57 <option value="gradient">gradient</option>
|
|
58 <option value="tophat">tophat</option>
|
|
59 <option value="bothat">bothat</option>
|
|
60 <option value="erosion_simple">erosion_simple</option>
|
|
61 <option value="dilation_simple">dilation_simple</option>
|
|
62 </param>
|
|
63 <expand macro="advanced_options">
|
|
64 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
65 </expand>
|
|
66 </inputs>
|
|
67 <outputs>
|
|
68 <data name="param_out" format="mzml"/>
|
|
69 </outputs>
|
|
70 <help>**What it does**
|
|
71
|
|
72 Removes the baseline from profile spectra using a top-hat filter.
|
|
73
|
|
74
|
|
75 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_BaselineFilter.html</help>
|
|
76 <expand macro="references"/>
|
|
77 </tool>
|