0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="MapAlignerPoseClustering" name="MapAlignerPoseClustering" version="2.0.0">
|
|
3 <description>Corrects retention time distortions between maps using a pose clustering approach.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">MapAlignerPoseClustering</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>MapAlignerPoseClustering
|
|
11
|
|
12 -in
|
|
13 #for token in $param_in:
|
|
14 $token
|
|
15 #end for
|
|
16
|
|
17 #if $rep_param_out:
|
|
18 -out
|
|
19 #for token in $rep_param_out:
|
|
20 #if " " in str(token):
|
|
21 "$token.param_out"
|
|
22 #else
|
|
23 $token.param_out
|
|
24 #end if
|
|
25 #end for
|
|
26 #end if
|
|
27
|
|
28 #if $rep_param_trafo_out:
|
|
29 -trafo_out
|
|
30 #for token in $rep_param_trafo_out:
|
|
31 #if " " in str(token):
|
|
32 "$token.param_trafo_out"
|
|
33 #else
|
|
34 $token.param_trafo_out
|
|
35 #end if
|
|
36 #end for
|
|
37 #end if
|
|
38 -threads \${GALAXY_SLOTS:-24}
|
|
39 #if $param_reference_file:
|
|
40 -reference:file $param_reference_file
|
|
41 #end if
|
|
42 #if $param_reference_index:
|
|
43 -reference:index $param_reference_index
|
|
44 #end if
|
|
45 #if $param_algorithm_max_num_peaks_considered:
|
|
46 -algorithm:max_num_peaks_considered $param_algorithm_max_num_peaks_considered
|
|
47 #end if
|
|
48 #if $param_algorithm_superimposer_mz_pair_max_distance:
|
|
49 -algorithm:superimposer:mz_pair_max_distance $param_algorithm_superimposer_mz_pair_max_distance
|
|
50 #end if
|
|
51 #if $param_algorithm_superimposer_num_used_points:
|
|
52 -algorithm:superimposer:num_used_points $param_algorithm_superimposer_num_used_points
|
|
53 #end if
|
|
54 #if $param_algorithm_superimposer_scaling_bucket_size:
|
|
55 -algorithm:superimposer:scaling_bucket_size $param_algorithm_superimposer_scaling_bucket_size
|
|
56 #end if
|
|
57 #if $param_algorithm_superimposer_shift_bucket_size:
|
|
58 -algorithm:superimposer:shift_bucket_size $param_algorithm_superimposer_shift_bucket_size
|
|
59 #end if
|
|
60 #if $param_algorithm_pairfinder_second_nearest_gap:
|
|
61 -algorithm:pairfinder:second_nearest_gap $param_algorithm_pairfinder_second_nearest_gap
|
|
62 #end if
|
|
63 #if $param_algorithm_pairfinder_use_identifications:
|
|
64 -algorithm:pairfinder:use_identifications
|
|
65 #end if
|
|
66 #if $param_algorithm_pairfinder_ignore_charge:
|
|
67 -algorithm:pairfinder:ignore_charge
|
|
68 #end if
|
|
69 #if $param_algorithm_pairfinder_distance_RT_max_difference:
|
|
70 -algorithm:pairfinder:distance_RT:max_difference $param_algorithm_pairfinder_distance_RT_max_difference
|
|
71 #end if
|
|
72 #if $param_algorithm_pairfinder_distance_MZ_max_difference:
|
|
73 -algorithm:pairfinder:distance_MZ:max_difference $param_algorithm_pairfinder_distance_MZ_max_difference
|
|
74 #end if
|
|
75 #if $param_algorithm_pairfinder_distance_MZ_unit:
|
|
76 -algorithm:pairfinder:distance_MZ:unit
|
|
77 #if " " in str($param_algorithm_pairfinder_distance_MZ_unit):
|
|
78 "$param_algorithm_pairfinder_distance_MZ_unit"
|
|
79 #else
|
|
80 $param_algorithm_pairfinder_distance_MZ_unit
|
|
81 #end if
|
|
82 #end if
|
|
83 #if $adv_opts.adv_opts_selector=='advanced':
|
|
84 #if $adv_opts.param_force:
|
|
85 -force
|
|
86 #end if
|
|
87 #if $adv_opts.param_algorithm_superimposer_rt_pair_distance_fraction:
|
|
88 -algorithm:superimposer:rt_pair_distance_fraction $adv_opts.param_algorithm_superimposer_rt_pair_distance_fraction
|
|
89 #end if
|
|
90 #if $adv_opts.param_algorithm_superimposer_max_shift:
|
|
91 -algorithm:superimposer:max_shift $adv_opts.param_algorithm_superimposer_max_shift
|
|
92 #end if
|
|
93 #if $adv_opts.param_algorithm_superimposer_max_scaling:
|
|
94 -algorithm:superimposer:max_scaling $adv_opts.param_algorithm_superimposer_max_scaling
|
|
95 #end if
|
|
96 #if $adv_opts.param_algorithm_superimposer_dump_buckets:
|
|
97 -algorithm:superimposer:dump_buckets "$adv_opts.param_algorithm_superimposer_dump_buckets"
|
|
98 #end if
|
|
99 #if $adv_opts.param_algorithm_superimposer_dump_pairs:
|
|
100 -algorithm:superimposer:dump_pairs "$adv_opts.param_algorithm_superimposer_dump_pairs"
|
|
101 #end if
|
|
102 #if $adv_opts.param_algorithm_pairfinder_distance_RT_exponent:
|
|
103 -algorithm:pairfinder:distance_RT:exponent $adv_opts.param_algorithm_pairfinder_distance_RT_exponent
|
|
104 #end if
|
|
105 #if $adv_opts.param_algorithm_pairfinder_distance_RT_weight:
|
|
106 -algorithm:pairfinder:distance_RT:weight $adv_opts.param_algorithm_pairfinder_distance_RT_weight
|
|
107 #end if
|
|
108 #if $adv_opts.param_algorithm_pairfinder_distance_MZ_exponent:
|
|
109 -algorithm:pairfinder:distance_MZ:exponent $adv_opts.param_algorithm_pairfinder_distance_MZ_exponent
|
|
110 #end if
|
|
111 #if $adv_opts.param_algorithm_pairfinder_distance_MZ_weight:
|
|
112 -algorithm:pairfinder:distance_MZ:weight $adv_opts.param_algorithm_pairfinder_distance_MZ_weight
|
|
113 #end if
|
|
114 #if $adv_opts.param_algorithm_pairfinder_distance_intensity_exponent:
|
|
115 -algorithm:pairfinder:distance_intensity:exponent $adv_opts.param_algorithm_pairfinder_distance_intensity_exponent
|
|
116 #end if
|
|
117 #if $adv_opts.param_algorithm_pairfinder_distance_intensity_weight:
|
|
118 -algorithm:pairfinder:distance_intensity:weight $adv_opts.param_algorithm_pairfinder_distance_intensity_weight
|
|
119 #end if
|
|
120 #end if
|
|
121 </command>
|
|
122 <inputs>
|
|
123 <param name="param_in" type="data" format="featurexml,mzml" multiple="true" optional="False" size="30" label="Input files separated by blanks (all must have the same file type)" help="(-in) ">
|
|
124 <sanitizer>
|
|
125 <valid initial="string.printable">
|
|
126 <remove value="'"/>
|
|
127 <remove value="""/>
|
|
128 </valid>
|
|
129 </sanitizer>
|
|
130 </param>
|
|
131 <param name="param_reference_file" type="data" format="featurexml,mzml" optional="True" label="File to use as reference (same file format as input files required)" help="(-file) "/>
|
|
132 <param name="param_reference_index" type="integer" min="0" optional="True" value="0" label="Use one of the input files as reference ('1' for the first file, etc.)" help="(-index) <br>If '0', no explicit reference is set - the algorithm will select a reference"/>
|
|
133 <param name="param_algorithm_max_num_peaks_considered" type="integer" min="-1" optional="True" value="1000" label="The maximal number of peaks/features to be considered per map" help="(-max_num_peaks_considered) To use all, set to '-1'"/>
|
|
134 <param name="param_algorithm_superimposer_mz_pair_max_distance" type="float" min="0.0" optional="True" value="0.5" label="Maximum of m/z deviation of corresponding elements in different maps" help="(-mz_pair_max_distance) This condition applies to the pairs considered in hashing"/>
|
|
135 <param name="param_algorithm_superimposer_num_used_points" type="integer" min="-1" optional="True" value="2000" label="Maximum number of elements considered in each map (selected by intensity)" help="(-num_used_points) Use this to reduce the running time and to disregard weak signals during alignment. For using all points, set this to -1"/>
|
|
136 <param name="param_algorithm_superimposer_scaling_bucket_size" type="float" min="0.0" optional="True" value="0.005" label="The scaling of the retention time interval is being hashed into buckets of this size during pose clustering" help="(-scaling_bucket_size) A good choice for this would be a bit smaller than the error you would expect from repeated runs"/>
|
|
137 <param name="param_algorithm_superimposer_shift_bucket_size" type="float" min="0.0" optional="True" value="3.0" label="The shift at the lower (respectively, higher) end of the retention time interval is being hashed into buckets of this size during pose clustering" help="(-shift_bucket_size) A good choice for this would be about the time between consecutive MS scans"/>
|
|
138 <param name="param_algorithm_pairfinder_second_nearest_gap" type="float" min="1.0" optional="True" value="2.0" label="The distance to the second nearest neighbors must be larger by this factor than the distance to the matching element itself" help="(-second_nearest_gap) "/>
|
|
139 <param name="param_algorithm_pairfinder_use_identifications" type="boolean" truevalue="-algorithm:pairfinder:use_identifications" falsevalue="" checked="false" optional="True" label="Never link features that are annotated with different peptides (only the best hit per peptide identification is taken into account)" help="(-use_identifications) "/>
|
|
140 <param name="param_algorithm_pairfinder_ignore_charge" type="boolean" truevalue="-algorithm:pairfinder:ignore_charge" falsevalue="" checked="false" optional="True" label="Compare features normally even if their charge states are different" help="(-ignore_charge) "/>
|
|
141 <param name="param_algorithm_pairfinder_distance_RT_max_difference" type="float" min="0.0" optional="True" value="100.0" label="Maximum allowed difference in RT in seconds" help="(-max_difference) "/>
|
|
142 <param name="param_algorithm_pairfinder_distance_MZ_max_difference" type="float" min="0.0" optional="True" value="0.3" label="Maximum allowed difference in m/z (unit defined by 'unit')" help="(-max_difference) "/>
|
|
143 <param name="param_algorithm_pairfinder_distance_MZ_unit" type="select" optional="True" value="Da" label="Unit of the 'max_difference' paramete" help="(-unit) ">
|
|
144 <option value="Da">Da</option>
|
|
145 <option value="ppm">ppm</option>
|
|
146 </param>
|
|
147 <expand macro="advanced_options">
|
|
148 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
149 <param name="param_algorithm_superimposer_rt_pair_distance_fraction" type="float" min="0.0" max="1.0" optional="True" value="0.1" label="Within each of the two maps, the pairs considered for pose clustering must be separated by at least this fraction of the total elution time interval (i.e., max - min)" help="(-rt_pair_distance_fraction) "/>
|
|
150 <param name="param_algorithm_superimposer_max_shift" type="float" min="0.0" optional="True" value="1000.0" label="Maximal shift which is considered during histogramming" help="(-max_shift) This applies for both directions"/>
|
|
151 <param name="param_algorithm_superimposer_max_scaling" type="float" min="1.0" optional="True" value="2.0" label="Maximal scaling which is considered during histogramming" help="(-max_scaling) The minimal scaling is the reciprocal of this"/>
|
|
152 <param name="param_algorithm_superimposer_dump_buckets" type="text" size="30" label="[DEBUG] If non-empty, base filename where hash table buckets will be dumped to" help="(-dump_buckets) A serial number for each invocation will be appended automatically">
|
|
153 <sanitizer>
|
|
154 <valid initial="string.printable">
|
|
155 <remove value="'"/>
|
|
156 <remove value="""/>
|
|
157 </valid>
|
|
158 </sanitizer>
|
|
159 </param>
|
|
160 <param name="param_algorithm_superimposer_dump_pairs" type="text" size="30" label="[DEBUG] If non-empty, base filename where the individual hashed pairs will be dumped to (large!)" help="(-dump_pairs) A serial number for each invocation will be appended automatically">
|
|
161 <sanitizer>
|
|
162 <valid initial="string.printable">
|
|
163 <remove value="'"/>
|
|
164 <remove value="""/>
|
|
165 </valid>
|
|
166 </sanitizer>
|
|
167 </param>
|
|
168 <param name="param_algorithm_pairfinder_distance_RT_exponent" type="float" min="0.0" optional="True" value="1.0" label="Normalized RT differences are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" help="(-exponent) "/>
|
|
169 <param name="param_algorithm_pairfinder_distance_RT_weight" type="float" min="0.0" optional="True" value="1.0" label="RT distances are weighted by this facto" help="(-weight) "/>
|
|
170 <param name="param_algorithm_pairfinder_distance_MZ_exponent" type="float" min="0.0" optional="True" value="2.0" label="Normalized m/z differences are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" help="(-exponent) "/>
|
|
171 <param name="param_algorithm_pairfinder_distance_MZ_weight" type="float" min="0.0" optional="True" value="1.0" label="m/z distances are weighted by this facto" help="(-weight) "/>
|
|
172 <param name="param_algorithm_pairfinder_distance_intensity_exponent" type="float" min="0.0" optional="True" value="1.0" label="Differences in relative intensity are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" help="(-exponent) "/>
|
|
173 <param name="param_algorithm_pairfinder_distance_intensity_weight" type="float" min="0.0" optional="True" value="0.0" label="Distances based on relative intensity are weighted by this facto" help="(-weight) "/>
|
|
174 </expand>
|
|
175 </inputs>
|
|
176 <outputs>
|
|
177 <data name="param_out" metadata_source="param_in" format="input"/>
|
|
178 <data name="param_trafo_out" format="trafoxml"/>
|
|
179 </outputs>
|
|
180 <help>**What it does**
|
|
181
|
|
182 Corrects retention time distortions between maps using a pose clustering approach.
|
|
183
|
|
184
|
|
185 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_MapAlignerPoseClustering.html</help>
|
|
186 <expand macro="references"/>
|
|
187 </tool>
|