0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="SpectraMerger" name="SpectraMerger" version="2.0.0">
|
|
3 <description>Merges spectra (each MS level separately), increasing S/N ratios.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">SpectraMerger</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>SpectraMerger
|
|
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_merging_method:
|
|
19 -merging_method
|
|
20 #if " " in str($param_merging_method):
|
|
21 "$param_merging_method"
|
|
22 #else
|
|
23 $param_merging_method
|
|
24 #end if
|
|
25 #end if
|
|
26 -threads \${GALAXY_SLOTS:-24}
|
|
27
|
|
28 #if $rep_param_algorithm_block_method_ms_levels:
|
|
29 -algorithm:block_method:ms_levels
|
|
30 #for token in $rep_param_algorithm_block_method_ms_levels:
|
|
31 #if " " in str(token):
|
|
32 "$token.param_algorithm_block_method_ms_levels"
|
|
33 #else
|
|
34 $token.param_algorithm_block_method_ms_levels
|
|
35 #end if
|
|
36 #end for
|
|
37 #end if
|
|
38 #if $param_algorithm_block_method_rt_block_size:
|
|
39 -algorithm:block_method:rt_block_size $param_algorithm_block_method_rt_block_size
|
|
40 #end if
|
|
41 #if $param_algorithm_block_method_rt_max_length:
|
|
42 -algorithm:block_method:rt_max_length $param_algorithm_block_method_rt_max_length
|
|
43 #end if
|
|
44 #if $param_algorithm_precursor_method_mz_tolerance:
|
|
45 -algorithm:precursor_method:mz_tolerance $param_algorithm_precursor_method_mz_tolerance
|
|
46 #end if
|
|
47 #if $param_algorithm_precursor_method_rt_tolerance:
|
|
48 -algorithm:precursor_method:rt_tolerance $param_algorithm_precursor_method_rt_tolerance
|
|
49 #end if
|
|
50 #if $adv_opts.adv_opts_selector=='advanced':
|
|
51 #if $adv_opts.param_force:
|
|
52 -force
|
|
53 #end if
|
|
54 #if $adv_opts.param_algorithm_mz_binning_width:
|
|
55 -algorithm:mz_binning_width $adv_opts.param_algorithm_mz_binning_width
|
|
56 #end if
|
|
57 #if $adv_opts.param_algorithm_mz_binning_width_unit:
|
|
58 -algorithm:mz_binning_width_unit
|
|
59 #if " " in str($adv_opts.param_algorithm_mz_binning_width_unit):
|
|
60 "$adv_opts.param_algorithm_mz_binning_width_unit"
|
|
61 #else
|
|
62 $adv_opts.param_algorithm_mz_binning_width_unit
|
|
63 #end if
|
|
64 #end if
|
|
65 #if $adv_opts.param_algorithm_sort_blocks:
|
|
66 -algorithm:sort_blocks
|
|
67 #if " " in str($adv_opts.param_algorithm_sort_blocks):
|
|
68 "$adv_opts.param_algorithm_sort_blocks"
|
|
69 #else
|
|
70 $adv_opts.param_algorithm_sort_blocks
|
|
71 #end if
|
|
72 #end if
|
|
73 #end if
|
|
74 </command>
|
|
75 <inputs>
|
|
76 <param name="param_in" type="data" format="mzml" optional="False" label="Input mzML file" help="(-in) "/>
|
|
77 <param name="param_merging_method" type="select" optional="True" value="block_method" label="Method of merging which should be used" help="(-merging_method) ">
|
|
78 <option value="precursor_method">precursor_method</option>
|
|
79 <option value="block_method">block_method</option>
|
|
80 </param>
|
|
81 <repeat name="rep_param_algorithm_block_method_ms_levels" min="0" max="1" title="param_algorithm_block_method_ms_levels">
|
|
82 <param name="param_algorithm_block_method_ms_levels" type="text" min="1" optional="True" size="30" value="1" label="Merge spectra of this level" help="(-ms_levels) All spectra with other MS levels remain untouched">
|
|
83 <sanitizer>
|
|
84 <valid initial="string.printable">
|
|
85 <remove value="'"/>
|
|
86 <remove value="""/>
|
|
87 </valid>
|
|
88 </sanitizer>
|
|
89 </param>
|
|
90 </repeat>
|
|
91 <param name="param_algorithm_block_method_rt_block_size" type="integer" min="1" optional="True" value="5" label="Maximum number of scans to be summed up" help="(-rt_block_size) "/>
|
|
92 <param name="param_algorithm_block_method_rt_max_length" type="float" min="0.0" max="1e+11" optional="True" value="0.0" label="Maximum RT size of the block in seconds (0.0 = no size restriction)" help="(-rt_max_length) "/>
|
|
93 <param name="param_algorithm_precursor_method_mz_tolerance" type="float" min="0.0" optional="True" value="0.0001" label="Max m/z distance of the precursor entries of two spectra to be merged in [Da]" help="(-mz_tolerance) "/>
|
|
94 <param name="param_algorithm_precursor_method_rt_tolerance" type="float" min="0.0" optional="True" value="5.0" label="Max RT distance of the precursor entries of two spectra to be merged in [s]" help="(-rt_tolerance) "/>
|
|
95 <expand macro="advanced_options">
|
|
96 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
97 <param name="param_algorithm_mz_binning_width" type="float" min="0.0" optional="True" value="0.0001" label="Max m/z distance of two peaks to be merged" help="(-mz_binning_width) "/>
|
|
98 <param name="param_algorithm_mz_binning_width_unit" type="select" optional="True" value="Da" label="Unit in which the distance between two peaks is given" help="(-mz_binning_width_unit) ">
|
|
99 <option value="Da">Da</option>
|
|
100 <option value="ppm">ppm</option>
|
|
101 </param>
|
|
102 <param name="param_algorithm_sort_blocks" type="select" optional="True" value="RT_ascending" label="Sort blocks by <?> before merging them (useful for precursor order)" help="(-sort_blocks) ">
|
|
103 <option value="RT_ascending">RT_ascending</option>
|
|
104 <option value=" RT_descending"> RT_descending</option>
|
|
105 </param>
|
|
106 </expand>
|
|
107 </inputs>
|
|
108 <outputs>
|
|
109 <data name="param_out" format="mzml"/>
|
|
110 </outputs>
|
|
111 <help>**What it does**
|
|
112
|
|
113 Merges spectra (each MS level separately), increasing S/N ratios.
|
|
114
|
|
115
|
|
116 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_SpectraMerger.html</help>
|
|
117 <expand macro="references"/>
|
|
118 </tool>
|