comparison MapAlignerSpectrum.xml @ 9:c4c64002d01e draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
author galaxyp
date Fri, 14 Jun 2024 21:40:27 +0000
parents 085863ba8f0e
children
comparison
equal deleted inserted replaced
8:085863ba8f0e 9:c4c64002d01e
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> 1 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.-->
3 <!--Proposed Tool Section: [Map Alignment]--> 2 <!--Proposed Tool Section: [Map Alignment]-->
4 <tool id="MapAlignerSpectrum" name="MapAlignerSpectrum" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="MapAlignerSpectrum" name="MapAlignerSpectrum" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Corrects retention time distortions between maps by spectrum alignment.</description> 4 <description>Corrects retention time distortions between maps by spectrum alignment</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">MapAlignerSpectrum</token> 6 <token name="@EXECUTABLE@">MapAlignerSpectrum</token>
8 <import>macros.xml</import> 7 <import>macros.xml</import>
9 </macros> 8 </macros>
10 <expand macro="requirements"/> 9 <expand macro="requirements"/>
15 14
16 ## Preprocessing 15 ## Preprocessing
17 mkdir in_cond.in && 16 mkdir in_cond.in &&
18 #if $in_cond.in_select == "no" 17 #if $in_cond.in_select == "no"
19 mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && 18 mkdir ${' '.join(["'in_cond.in/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
20 ${' '.join(["ln -s '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])} 19 ${' '.join(["cp '%s' 'in_cond.in/%s/%s.%s' && " % (f, i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])}
21 #else 20 #else
22 ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' && 21 cp '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' &&
23 #end if 22 #end if
24 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') 23 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',')
25 mkdir out && 24 mkdir out &&
26 mkdir ${' '.join(["'out/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && 25 mkdir ${' '.join(["'out/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} &&
27 #end if 26 #end if
73 <param name="in_select" type="select" label="Run tool in batch mode for -in"> 72 <param name="in_select" type="select" label="Run tool in batch mode for -in">
74 <option value="no">No: process all datasets jointly</option> 73 <option value="no">No: process all datasets jointly</option>
75 <option value="yes">Yes: process each dataset in an independent job</option> 74 <option value="yes">Yes: process each dataset in an independent job</option>
76 </param> 75 </param>
77 <when value="no"> 76 <when value="no">
78 <param argument="-in" type="data" format="mzml" multiple="true" optional="false" label="Input files to align (all must have the same file type)" help=" select mzml data sets(s)"/> 77 <param argument="-in" type="data" format="mzml" multiple="true" label="Input files to align (all must have the same file type)" help=" select mzml data sets(s)"/>
79 </when> 78 </when>
80 <when value="yes"> 79 <when value="yes">
81 <param argument="-in" type="data" format="mzml" multiple="false" optional="false" label="Input files to align (all must have the same file type)" help=" select mzml data sets(s)"/> 80 <param argument="-in" type="data" format="mzml" label="Input files to align (all must have the same file type)" help=" select mzml data sets(s)"/>
82 </when> 81 </when>
83 </conditional> 82 </conditional>
84 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> 83 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false">
85 <param name="gapcost" argument="-algorithm:gapcost" type="float" optional="true" min="0.0" value="1.0" label="This Parameter stands for the cost of opening a gap in the Alignment" help="A gap means that one spectrum can not be aligned directly to another spectrum in the Map. This happens, when the similarity of both spectra a too low or even not present. Imagine it as a insert or delete of the spectrum in the map (similar to sequence alignment). The gap is necessary for aligning, if we open a gap there is a possibility that an another spectrum can be correct aligned with a higher score as before without gap. But to open a gap is a negative event and needs to carry a punishment, so a gap should only be opened if the benefits outweigh the downsides. The Parameter is to giving as a positive number, the implementation convert it to a negative number"/> 84 <param name="gapcost" argument="-algorithm:gapcost" type="float" min="0.0" value="1.0" label="This Parameter stands for the cost of opening a gap in the Alignment" help="A gap means that one spectrum can not be aligned directly to another spectrum in the Map. This happens, when the similarity of both spectra a too low or even not present. Imagine it as a insert or delete of the spectrum in the map (similar to sequence alignment). The gap is necessary for aligning, if we open a gap there is a possibility that an another spectrum can be correct aligned with a higher score as before without gap. But to open a gap is a negative event and needs to carry a punishment, so a gap should only be opened if the benefits outweigh the downsides. The Parameter is to giving as a positive number, the implementation convert it to a negative number"/>
86 <param name="affinegapcost" argument="-algorithm:affinegapcost" type="float" optional="true" min="0.0" value="0.5" label="This Parameter controls the cost of extension a already open gap" help="The idea behind the affine gapcost lies under the assumption, that it is better to get a long distance of connected gaps than to have a structure of gaps interspersed with matches (gap match gap match etc.). Therefore the punishment for the extension of a gap generally should be lower than the normal gapcost. If the result of the alignment shows high compression, it is a good idea to lower either the affine gapcost or gap opening cost"/> 85 <param name="affinegapcost" argument="-algorithm:affinegapcost" type="float" min="0.0" value="0.5" label="This Parameter controls the cost of extension a already open gap" help="The idea behind the affine gapcost lies under the assumption, that it is better to get a long distance of connected gaps than to have a structure of gaps interspersed with matches (gap match gap match etc.). Therefore the punishment for the extension of a gap generally should be lower than the normal gapcost. If the result of the alignment shows high compression, it is a good idea to lower either the affine gapcost or gap opening cost"/>
87 <param name="cutoff_score" argument="-algorithm:cutoff_score" type="float" optional="true" min="0.0" max="1.0" value="0.7" label="The Parameter defines the threshold which filtered spectra, these spectra are high potential candidate for deciding the interval of a sub-alignment" help="Only those pair of spectra are selected, which has a score higher or same of the threshold"/> 86 <param name="cutoff_score" argument="-algorithm:cutoff_score" type="float" min="0.0" max="1.0" value="0.7" label="The Parameter defines the threshold which filtered spectra, these spectra are high potential candidate for deciding the interval of a sub-alignment" help="Only those pair of spectra are selected, which has a score higher or same of the threshold"/>
88 <param name="bucketsize" argument="-algorithm:bucketsize" type="integer" optional="true" min="1" value="100" label="Defines the numbers of buckets" help="It is a quantize of the interval of those points, which defines the main alignment (match points). These points have to filtered, to reduce the amount of points for the calculating a smoother spline curve"/> 87 <param name="bucketsize" argument="-algorithm:bucketsize" type="integer" min="1" value="100" label="Defines the numbers of buckets" help="It is a quantize of the interval of those points, which defines the main alignment (match points). These points have to filtered, to reduce the amount of points for the calculating a smoother spline curve"/>
89 <param name="anchorpoints" argument="-algorithm:anchorpoints" type="integer" optional="true" min="1" max="100" value="100" label="Defines the percent of numbers of match points which a selected from one bucket" help="The high score pairs are previously selected. The reduction of match points helps to get a smoother spline curve"/> 88 <param name="anchorpoints" argument="-algorithm:anchorpoints" type="integer" min="1" max="100" value="100" label="Defines the percent of numbers of match points which a selected from one bucket" help="The high score pairs are previously selected. The reduction of match points helps to get a smoother spline curve"/>
90 <param name="mismatchscore" argument="-algorithm:mismatchscore" type="float" optional="true" max="0.0" value="-5.0" label="Defines the score of two spectra if they have no similarity to each othe" help=""/> 89 <param name="mismatchscore" argument="-algorithm:mismatchscore" type="float" max="0.0" value="-5.0" label="Defines the score of two spectra if they have no similarity to each othe" help=""/>
91 <param name="scorefunction" argument="-algorithm:scorefunction" type="select" optional="true" label="The score function is the core of an alignment" help="The success of an alignment depends mostly of the elected score function. The score function return the similarity of two spectra. The score influence defines later the way of possible traceback. There are multiple spectra similarity scores available"> 90 <param name="scorefunction" argument="-algorithm:scorefunction" type="select" label="The score function is the core of an alignment" help="The success of an alignment depends mostly of the elected score function. The score function return the similarity of two spectra. The score influence defines later the way of possible traceback. There are multiple spectra similarity scores available">
92 <option value="SteinScottImproveScore" selected="true">SteinScottImproveScore</option> 91 <option value="SteinScottImproveScore" selected="true">SteinScottImproveScore</option>
93 <option value="ZhangSimilarityScore">ZhangSimilarityScore</option> 92 <option value="ZhangSimilarityScore">ZhangSimilarityScore</option>
94 <expand macro="list_string_san" name="scorefunction"/> 93 <expand macro="list_string_san" name="scorefunction"/>
95 </param> 94 </param>
96 </section> 95 </section>
97 <section name="model" title="Options to control the modeling of retention time transformations from data" help="" expanded="false"> 96 <section name="model" title="Options to control the modeling of retention time transformations from data" help="" expanded="false">
98 <param name="type" argument="-model:type" type="select" optional="true" label="Type of model" help=""> 97 <param name="type" argument="-model:type" type="select" label="Type of model" help="">
99 <option value="linear">linear</option> 98 <option value="linear">linear</option>
100 <option value="b_spline">b_spline</option> 99 <option value="b_spline">b_spline</option>
101 <option value="lowess">lowess</option> 100 <option value="lowess">lowess</option>
102 <option value="interpolated" selected="true">interpolated</option> 101 <option value="interpolated" selected="true">interpolated</option>
103 <expand macro="list_string_san" name="type"/> 102 <expand macro="list_string_san" name="type"/>
104 </param> 103 </param>
105 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false"> 104 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false">
106 <param name="symmetric_regression" argument="-model:linear:symmetric_regression" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform linear regression on 'y - x' vs" help="'y + x', instead of on 'y' vs. 'x'"/> 105 <param name="symmetric_regression" argument="-model:linear:symmetric_regression" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform linear regression on 'y - x' vs" help="'y + x', instead of on 'y' vs. 'x'"/>
107 <param name="x_weight" argument="-model:linear:x_weight" type="select" optional="true" label="Weight x values" help=""> 106 <param name="x_weight" argument="-model:linear:x_weight" type="select" label="Weight x values" help="">
108 <option value="1/x">1/x</option> 107 <option value="1/x">1/x</option>
109 <option value="1/x2">1/x2</option> 108 <option value="1/x2">1/x2</option>
110 <option value="ln(x)">ln(x)</option> 109 <option value="ln(x)">ln(x)</option>
111 <option value=""></option> 110 <option value="x" selected="true">x</option>
112 <expand macro="list_string_san" name="x_weight"/> 111 <expand macro="list_string_san" name="x_weight"/>
113 </param> 112 </param>
114 <param name="y_weight" argument="-model:linear:y_weight" type="select" optional="true" label="Weight y values" help=""> 113 <param name="y_weight" argument="-model:linear:y_weight" type="select" label="Weight y values" help="">
115 <option value="1/y">1/y</option> 114 <option value="1/y">1/y</option>
116 <option value="1/y2">1/y2</option> 115 <option value="1/y2">1/y2</option>
117 <option value="ln(y)">ln(y)</option> 116 <option value="ln(y)">ln(y)</option>
118 <option value=""></option> 117 <option value="y" selected="true">y</option>
119 <expand macro="list_string_san" name="y_weight"/> 118 <expand macro="list_string_san" name="y_weight"/>
120 </param> 119 </param>
121 <param name="x_datum_min" argument="-model:linear:x_datum_min" type="float" optional="true" value="1e-15" label="Minimum x value" help=""/> 120 <param name="x_datum_min" argument="-model:linear:x_datum_min" type="float" value="1e-15" label="Minimum x value" help=""/>
122 <param name="x_datum_max" argument="-model:linear:x_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum x value" help=""/> 121 <param name="x_datum_max" argument="-model:linear:x_datum_max" type="float" value="1000000000000000.0" label="Maximum x value" help=""/>
123 <param name="y_datum_min" argument="-model:linear:y_datum_min" type="float" optional="true" value="1e-15" label="Minimum y value" help=""/> 122 <param name="y_datum_min" argument="-model:linear:y_datum_min" type="float" value="1e-15" label="Minimum y value" help=""/>
124 <param name="y_datum_max" argument="-model:linear:y_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum y value" help=""/> 123 <param name="y_datum_max" argument="-model:linear:y_datum_max" type="float" value="1000000000000000.0" label="Maximum y value" help=""/>
125 </section> 124 </section>
126 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false"> 125 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false">
127 <param name="wavelength" argument="-model:b_spline:wavelength" type="float" optional="true" min="0.0" value="0.0" label="Determines the amount of smoothing by setting the number of nodes for the B-spline" help="The number is chosen so that the spline approximates a low-pass filter with this cutoff wavelength. The wavelength is given in the same units as the data; a higher value means more smoothing. '0' sets the number of nodes to twice the number of input points"/> 126 <param name="wavelength" argument="-model:b_spline:wavelength" type="float" min="0.0" value="0.0" label="Determines the amount of smoothing by setting the number of nodes for the B-spline" help="The number is chosen so that the spline approximates a low-pass filter with this cutoff wavelength. The wavelength is given in the same units as the data; a higher value means more smoothing. '0' sets the number of nodes to twice the number of input points"/>
128 <param name="num_nodes" argument="-model:b_spline:num_nodes" type="integer" optional="true" min="0" value="5" label="Number of nodes for B-spline fitting" help="Overrides 'wavelength' if set (to two or greater). A lower value means more smoothing"/> 127 <param name="num_nodes" argument="-model:b_spline:num_nodes" type="integer" min="0" value="5" label="Number of nodes for B-spline fitting" help="Overrides 'wavelength' if set (to two or greater). A lower value means more smoothing"/>
129 <param name="extrapolate" argument="-model:b_spline:extrapolate" type="select" optional="true" label="Method to use for extrapolation beyond the original data range" help="'linear': Linear extrapolation using the slope of the B-spline at the corresponding endpoint. 'b_spline': Use the B-spline (as for interpolation). 'constant': Use the constant value of the B-spline at the corresponding endpoint. 'global_linear': Use a linear fit through the data (which will most probably introduce discontinuities at the ends of the data range)"> 128 <param name="extrapolate" argument="-model:b_spline:extrapolate" type="select" label="Method to use for extrapolation beyond the original data range" help="'linear': Linear extrapolation using the slope of the B-spline at the corresponding endpoint. 'b_spline': Use the B-spline (as for interpolation). 'constant': Use the constant value of the B-spline at the corresponding endpoint. 'global_linear': Use a linear fit through the data (which will most probably introduce discontinuities at the ends of the data range)">
130 <option value="linear" selected="true">linear</option> 129 <option value="linear" selected="true">linear</option>
131 <option value="b_spline">b_spline</option> 130 <option value="b_spline">b_spline</option>
132 <option value="constant">constant</option> 131 <option value="constant">constant</option>
133 <option value="global_linear">global_linear</option> 132 <option value="global_linear">global_linear</option>
134 <expand macro="list_string_san" name="extrapolate"/> 133 <expand macro="list_string_san" name="extrapolate"/>
135 </param> 134 </param>
136 <param name="boundary_condition" argument="-model:b_spline:boundary_condition" type="integer" optional="true" min="0" max="2" value="2" label="Boundary condition at B-spline endpoints: 0 (value zero), 1 (first derivative zero) or 2 (second derivative zero)" help=""/> 135 <param name="boundary_condition" argument="-model:b_spline:boundary_condition" type="integer" min="0" max="2" value="2" label="Boundary condition at B-spline endpoints: 0 (value zero), 1 (first derivative zero) or 2 (second derivative zero)" help=""/>
137 </section> 136 </section>
138 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false"> 137 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false">
139 <param name="span" argument="-model:lowess:span" type="float" optional="true" min="0.0" max="1.0" value="0.666666666666667" label="Fraction of datapoints (f) to use for each local regression (determines the amount of smoothing)" help="Choosing this parameter in the range .2 to .8 usually results in a good fit"/> 138 <param name="span" argument="-model:lowess:span" type="float" min="0.0" max="1.0" value="0.666666666666667" label="Fraction of datapoints (f) to use for each local regression (determines the amount of smoothing)" help="Choosing this parameter in the range .2 to .8 usually results in a good fit"/>
140 <param name="num_iterations" argument="-model:lowess:num_iterations" type="integer" optional="true" min="0" value="3" label="Number of robustifying iterations for lowess fitting" help=""/> 139 <param name="num_iterations" argument="-model:lowess:num_iterations" type="integer" min="0" value="3" label="Number of robustifying iterations for lowess fitting" help=""/>
141 <param name="delta" argument="-model:lowess:delta" type="float" optional="true" value="-1.0" label="Nonnegative parameter which may be used to save computations (recommended value is 0.01 of the range of the input" help="e.g. for data ranging from 1000 seconds to 2000 seconds, it could be set to 10). Setting a negative value will automatically do this"/> 140 <param name="delta" argument="-model:lowess:delta" type="float" value="-1.0" label="Nonnegative parameter which may be used to save computations (recommended value is 0.01 of the range of the input" help="e.g. for data ranging from 1000 seconds to 2000 seconds, it could be set to 10). Setting a negative value will automatically do this"/>
142 <param name="interpolation_type" argument="-model:lowess:interpolation_type" type="select" optional="true" label="Method to use for interpolation between datapoints computed by lowess" help="'linear': Linear interpolation. 'cspline': Use the cubic spline for interpolation. 'akima': Use an akima spline for interpolation"> 141 <param name="interpolation_type" argument="-model:lowess:interpolation_type" type="select" label="Method to use for interpolation between datapoints computed by lowess" help="'linear': Linear interpolation. 'cspline': Use the cubic spline for interpolation. 'akima': Use an akima spline for interpolation">
143 <option value="linear">linear</option> 142 <option value="linear">linear</option>
144 <option value="cspline" selected="true">cspline</option> 143 <option value="cspline" selected="true">cspline</option>
145 <option value="akima">akima</option> 144 <option value="akima">akima</option>
146 <expand macro="list_string_san" name="interpolation_type"/> 145 <expand macro="list_string_san" name="interpolation_type"/>
147 </param> 146 </param>
148 <param name="extrapolation_type" argument="-model:lowess:extrapolation_type" type="select" optional="true" label="Method to use for extrapolation outside the data range" help="'two-point-linear': Uses a line through the first and last point to extrapolate. 'four-point-linear': Uses a line through the first and second point to extrapolate in front and and a line through the last and second-to-last point in the end. 'global-linear': Uses a linear regression to fit a line through all data points and use it for interpolation"> 147 <param name="extrapolation_type" argument="-model:lowess:extrapolation_type" type="select" label="Method to use for extrapolation outside the data range" help="'two-point-linear': Uses a line through the first and last point to extrapolate. 'four-point-linear': Uses a line through the first and second point to extrapolate in front and and a line through the last and second-to-last point in the end. 'global-linear': Uses a linear regression to fit a line through all data points and use it for interpolation">
149 <option value="two-point-linear">two-point-linear</option> 148 <option value="two-point-linear">two-point-linear</option>
150 <option value="four-point-linear" selected="true">four-point-linear</option> 149 <option value="four-point-linear" selected="true">four-point-linear</option>
151 <option value="global-linear">global-linear</option> 150 <option value="global-linear">global-linear</option>
152 <expand macro="list_string_san" name="extrapolation_type"/> 151 <expand macro="list_string_san" name="extrapolation_type"/>
153 </param> 152 </param>
154 </section> 153 </section>
155 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false"> 154 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false">
156 <param name="interpolation_type" argument="-model:interpolated:interpolation_type" type="select" optional="true" label="Type of interpolation to apply" help=""> 155 <param name="interpolation_type" argument="-model:interpolated:interpolation_type" type="select" label="Type of interpolation to apply" help="">
157 <option value="linear">linear</option> 156 <option value="linear">linear</option>
158 <option value="cspline" selected="true">cspline</option> 157 <option value="cspline" selected="true">cspline</option>
159 <option value="akima">akima</option> 158 <option value="akima">akima</option>
160 <expand macro="list_string_san" name="interpolation_type"/> 159 <expand macro="list_string_san" name="interpolation_type"/>
161 </param> 160 </param>
162 <param name="extrapolation_type" argument="-model:interpolated:extrapolation_type" type="select" optional="true" label="Type of extrapolation to apply: two-point-linear: use the first and last data point to build a single linear model, four-point-linear: build two linear models on both ends using the first two / last two points, global-linear: use all points to build a single linear model" help="Note that global-linear may not be continuous at the border"> 161 <param name="extrapolation_type" argument="-model:interpolated:extrapolation_type" type="select" label="Type of extrapolation to apply: two-point-linear: use the first and last data point to build a single linear model, four-point-linear: build two linear models on both ends using the first two / last two points, global-linear: use all points to build a single linear model" help="Note that global-linear may not be continuous at the border">
163 <option value="two-point-linear" selected="true">two-point-linear</option> 162 <option value="two-point-linear" selected="true">two-point-linear</option>
164 <option value="four-point-linear">four-point-linear</option> 163 <option value="four-point-linear">four-point-linear</option>
165 <option value="global-linear">global-linear</option> 164 <option value="global-linear">global-linear</option>
166 <expand macro="list_string_san" name="extrapolation_type"/> 165 <expand macro="list_string_san" name="extrapolation_type"/>
167 </param> 166 </param>
168 </section> 167 </section>
169 </section> 168 </section>
170 <expand macro="adv_opts_macro"> 169 <expand macro="adv_opts_macro">
171 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 170 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
172 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 171 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
173 <expand macro="list_string_san" name="test"/> 172 <expand macro="list_string_san" name="test"/>
174 </param> 173 </param>
175 </expand> 174 </expand>
176 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 175 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
177 <option value="out_FLAG">out (Output files (same file type as 'in'))</option> 176 <option value="out_FLAG">out (Output files (same file type as 'in'))</option>
193 </data> 192 </data>
194 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 193 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
195 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 194 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
196 </data> 195 </data>
197 </outputs> 196 </outputs>
198 <tests><!-- TOPP_MapAlignerSpectrum_1 --> 197 <tests>
198 <!-- TOPP_MapAlignerSpectrum_1 -->
199 <test expect_num_outputs="2"> 199 <test expect_num_outputs="2">
200 <section name="adv_opts"> 200 <section name="adv_opts">
201 <param name="force" value="false"/> 201 <param name="force" value="false"/>
202 <param name="test" value="true"/> 202 <param name="test" value="true"/>
203 </section> 203 </section>
216 </section> 216 </section>
217 <section name="model"> 217 <section name="model">
218 <param name="type" value="interpolated"/> 218 <param name="type" value="interpolated"/>
219 <section name="linear"> 219 <section name="linear">
220 <param name="symmetric_regression" value="false"/> 220 <param name="symmetric_regression" value="false"/>
221 <param name="x_weight"/> 221 <param name="x_weight" value="x"/>
222 <param name="y_weight"/> 222 <param name="y_weight" value="y"/>
223 <param name="x_datum_min" value="1e-15"/> 223 <param name="x_datum_min" value="1e-15"/>
224 <param name="x_datum_max" value="1000000000000000.0"/> 224 <param name="x_datum_max" value="1000000000000000.0"/>
225 <param name="y_datum_min" value="1e-15"/> 225 <param name="y_datum_min" value="1e-15"/>
226 <param name="y_datum_max" value="1000000000000000.0"/> 226 <param name="y_datum_max" value="1000000000000000.0"/>
227 </section> 227 </section>
247 <output name="ctd_out" ftype="xml"> 247 <output name="ctd_out" ftype="xml">
248 <assert_contents> 248 <assert_contents>
249 <is_valid_xml/> 249 <is_valid_xml/>
250 </assert_contents> 250 </assert_contents>
251 </output> 251 </output>
252 <assert_stdout>
253 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
254 </assert_stdout>
252 </test> 255 </test>
253 </tests> 256 </tests>
254 <help><![CDATA[Corrects retention time distortions between maps by spectrum alignment. 257 <help><![CDATA[Corrects retention time distortions between maps by spectrum alignment.
255 258
256 259
257 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_MapAlignerSpectrum.html]]></help> 260 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_MapAlignerSpectrum.html]]></help>
258 <expand macro="references"/> 261 <expand macro="references"/>
259 </tool> 262 </tool>