comparison MapAlignerTreeGuided.xml @ 5:37d1f970c572 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:36:22 +0000
parents 502c7e321ba5
children
comparison
equal deleted inserted replaced
4:502c7e321ba5 5:37d1f970c572
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="MapAlignerTreeGuided" name="MapAlignerTreeGuided" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> 3 <tool id="MapAlignerTreeGuided" name="MapAlignerTreeGuided" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
5 <description>Tree guided correction of retention time distortions between maps.</description> 4 <description>Tree guided correction of retention time distortions between maps</description>
6 <macros> 5 <macros>
7 <token name="@EXECUTABLE@">MapAlignerTreeGuided</token> 6 <token name="@EXECUTABLE@">MapAlignerTreeGuided</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="featurexml" multiple="true" optional="false" label="Input files to align (all must have the same file type)" help=" select featurexml data sets(s)"/> 77 <param argument="-in" type="data" format="featurexml" multiple="true" label="Input files to align (all must have the same file type)" help=" select featurexml data sets(s)"/>
79 </when> 78 </when>
80 <when value="yes"> 79 <when value="yes">
81 <param argument="-in" type="data" format="featurexml" multiple="false" optional="false" label="Input files to align (all must have the same file type)" help=" select featurexml data sets(s)"/> 80 <param argument="-in" type="data" format="featurexml" label="Input files to align (all must have the same file type)" help=" select featurexml 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="model_type" argument="-algorithm:model_type" type="select" optional="true" label="Options to control the modeling of retention time transformations from data" help=""> 84 <param name="model_type" argument="-algorithm:model_type" type="select" label="Options to control the modeling of retention time transformations from data" help="">
86 <option value="linear">linear</option> 85 <option value="linear">linear</option>
87 <option value="b_spline" selected="true">b_spline</option> 86 <option value="b_spline" selected="true">b_spline</option>
88 <option value="lowess">lowess</option> 87 <option value="lowess">lowess</option>
89 <option value="interpolated">interpolated</option> 88 <option value="interpolated">interpolated</option>
90 <expand macro="list_string_san" name="model_type"/> 89 <expand macro="list_string_san" name="model_type"/>
91 </param> 90 </param>
92 <section name="model" title="" help="" expanded="false"> 91 <section name="model" title="" help="" expanded="false">
93 <param name="type" argument="-algorithm:model:type" type="select" optional="true" label="Type of model" help=""> 92 <param name="type" argument="-algorithm:model:type" type="select" label="Type of model" help="">
94 <option value="linear">linear</option> 93 <option value="linear">linear</option>
95 <option value="b_spline" selected="true">b_spline</option> 94 <option value="b_spline" selected="true">b_spline</option>
96 <option value="lowess">lowess</option> 95 <option value="lowess">lowess</option>
97 <option value="interpolated">interpolated</option> 96 <option value="interpolated">interpolated</option>
98 <expand macro="list_string_san" name="type"/> 97 <expand macro="list_string_san" name="type"/>
99 </param> 98 </param>
100 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false"> 99 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false">
101 <param name="symmetric_regression" argument="-algorithm: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'"/> 100 <param name="symmetric_regression" argument="-algorithm: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'"/>
102 <param name="x_weight" argument="-algorithm:model:linear:x_weight" type="select" optional="true" label="Weight x values" help=""> 101 <param name="x_weight" argument="-algorithm:model:linear:x_weight" type="select" label="Weight x values" help="">
103 <option value="1/x">1/x</option> 102 <option value="1/x">1/x</option>
104 <option value="1/x2">1/x2</option> 103 <option value="1/x2">1/x2</option>
105 <option value="ln(x)">ln(x)</option> 104 <option value="ln(x)">ln(x)</option>
106 <option value=""></option> 105 <option value="x" selected="true">x</option>
107 <expand macro="list_string_san" name="x_weight"/> 106 <expand macro="list_string_san" name="x_weight"/>
108 </param> 107 </param>
109 <param name="y_weight" argument="-algorithm:model:linear:y_weight" type="select" optional="true" label="Weight y values" help=""> 108 <param name="y_weight" argument="-algorithm:model:linear:y_weight" type="select" label="Weight y values" help="">
110 <option value="1/y">1/y</option> 109 <option value="1/y">1/y</option>
111 <option value="1/y2">1/y2</option> 110 <option value="1/y2">1/y2</option>
112 <option value="ln(y)">ln(y)</option> 111 <option value="ln(y)">ln(y)</option>
113 <option value=""></option> 112 <option value="y" selected="true">y</option>
114 <expand macro="list_string_san" name="y_weight"/> 113 <expand macro="list_string_san" name="y_weight"/>
115 </param> 114 </param>
116 <param name="x_datum_min" argument="-algorithm:model:linear:x_datum_min" type="float" optional="true" value="1e-15" label="Minimum x value" help=""/> 115 <param name="x_datum_min" argument="-algorithm:model:linear:x_datum_min" type="float" value="1e-15" label="Minimum x value" help=""/>
117 <param name="x_datum_max" argument="-algorithm:model:linear:x_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum x value" help=""/> 116 <param name="x_datum_max" argument="-algorithm:model:linear:x_datum_max" type="float" value="1000000000000000.0" label="Maximum x value" help=""/>
118 <param name="y_datum_min" argument="-algorithm:model:linear:y_datum_min" type="float" optional="true" value="1e-15" label="Minimum y value" help=""/> 117 <param name="y_datum_min" argument="-algorithm:model:linear:y_datum_min" type="float" value="1e-15" label="Minimum y value" help=""/>
119 <param name="y_datum_max" argument="-algorithm:model:linear:y_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum y value" help=""/> 118 <param name="y_datum_max" argument="-algorithm:model:linear:y_datum_max" type="float" value="1000000000000000.0" label="Maximum y value" help=""/>
120 </section> 119 </section>
121 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false"> 120 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false">
122 <param name="wavelength" argument="-algorithm: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"/> 121 <param name="wavelength" argument="-algorithm: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"/>
123 <param name="num_nodes" argument="-algorithm: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"/> 122 <param name="num_nodes" argument="-algorithm: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"/>
124 <param name="extrapolate" argument="-algorithm: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)"> 123 <param name="extrapolate" argument="-algorithm: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)">
125 <option value="linear" selected="true">linear</option> 124 <option value="linear" selected="true">linear</option>
126 <option value="b_spline">b_spline</option> 125 <option value="b_spline">b_spline</option>
127 <option value="constant">constant</option> 126 <option value="constant">constant</option>
128 <option value="global_linear">global_linear</option> 127 <option value="global_linear">global_linear</option>
129 <expand macro="list_string_san" name="extrapolate"/> 128 <expand macro="list_string_san" name="extrapolate"/>
130 </param> 129 </param>
131 <param name="boundary_condition" argument="-algorithm: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=""/> 130 <param name="boundary_condition" argument="-algorithm: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=""/>
132 </section> 131 </section>
133 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false"> 132 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false">
134 <param name="span" argument="-algorithm: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"/> 133 <param name="span" argument="-algorithm: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"/>
135 <param name="num_iterations" argument="-algorithm:model:lowess:num_iterations" type="integer" optional="true" min="0" value="3" label="Number of robustifying iterations for lowess fitting" help=""/> 134 <param name="num_iterations" argument="-algorithm:model:lowess:num_iterations" type="integer" min="0" value="3" label="Number of robustifying iterations for lowess fitting" help=""/>
136 <param name="delta" argument="-algorithm: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"/> 135 <param name="delta" argument="-algorithm: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"/>
137 <param name="interpolation_type" argument="-algorithm: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"> 136 <param name="interpolation_type" argument="-algorithm: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">
138 <option value="linear">linear</option> 137 <option value="linear">linear</option>
139 <option value="cspline" selected="true">cspline</option> 138 <option value="cspline" selected="true">cspline</option>
140 <option value="akima">akima</option> 139 <option value="akima">akima</option>
141 <expand macro="list_string_san" name="interpolation_type"/> 140 <expand macro="list_string_san" name="interpolation_type"/>
142 </param> 141 </param>
143 <param name="extrapolation_type" argument="-algorithm: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"> 142 <param name="extrapolation_type" argument="-algorithm: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">
144 <option value="two-point-linear">two-point-linear</option> 143 <option value="two-point-linear">two-point-linear</option>
145 <option value="four-point-linear" selected="true">four-point-linear</option> 144 <option value="four-point-linear" selected="true">four-point-linear</option>
146 <option value="global-linear">global-linear</option> 145 <option value="global-linear">global-linear</option>
147 <expand macro="list_string_san" name="extrapolation_type"/> 146 <expand macro="list_string_san" name="extrapolation_type"/>
148 </param> 147 </param>
149 </section> 148 </section>
150 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false"> 149 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false">
151 <param name="interpolation_type" argument="-algorithm:model:interpolated:interpolation_type" type="select" optional="true" label="Type of interpolation to apply" help=""> 150 <param name="interpolation_type" argument="-algorithm:model:interpolated:interpolation_type" type="select" label="Type of interpolation to apply" help="">
152 <option value="linear">linear</option> 151 <option value="linear">linear</option>
153 <option value="cspline" selected="true">cspline</option> 152 <option value="cspline" selected="true">cspline</option>
154 <option value="akima">akima</option> 153 <option value="akima">akima</option>
155 <expand macro="list_string_san" name="interpolation_type"/> 154 <expand macro="list_string_san" name="interpolation_type"/>
156 </param> 155 </param>
157 <param name="extrapolation_type" argument="-algorithm: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"> 156 <param name="extrapolation_type" argument="-algorithm: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">
158 <option value="two-point-linear" selected="true">two-point-linear</option> 157 <option value="two-point-linear" selected="true">two-point-linear</option>
159 <option value="four-point-linear">four-point-linear</option> 158 <option value="four-point-linear">four-point-linear</option>
160 <option value="global-linear">global-linear</option> 159 <option value="global-linear">global-linear</option>
161 <expand macro="list_string_san" name="extrapolation_type"/> 160 <expand macro="list_string_san" name="extrapolation_type"/>
162 </param> 161 </param>
165 <section name="align_algorithm" title="" help="" expanded="false"> 164 <section name="align_algorithm" title="" help="" expanded="false">
166 <param name="score_type" argument="-algorithm:align_algorithm:score_type" type="text" optional="true" value="" label="Name of the score type to use for ranking and filtering (.oms input only)" help="If left empty, a score type is picked automatically"> 165 <param name="score_type" argument="-algorithm:align_algorithm:score_type" type="text" optional="true" value="" label="Name of the score type to use for ranking and filtering (.oms input only)" help="If left empty, a score type is picked automatically">
167 <expand macro="list_string_san" name="score_type"/> 166 <expand macro="list_string_san" name="score_type"/>
168 </param> 167 </param>
169 <param name="score_cutoff" argument="-algorithm:align_algorithm:score_cutoff" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use only IDs above a score cut-off (parameter 'min_score') for alignment?" help=""/> 168 <param name="score_cutoff" argument="-algorithm:align_algorithm:score_cutoff" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Use only IDs above a score cut-off (parameter 'min_score') for alignment?" help=""/>
170 <param name="min_score" argument="-algorithm:align_algorithm:min_score" type="float" optional="true" value="0.05" label="If 'score_cutoff' is 'true': Minimum score for an ID to be considered" help="Unless you have very few runs or identifications, increase this value to focus on more informative peptides"/> 169 <param name="min_score" argument="-algorithm:align_algorithm:min_score" type="float" value="0.05" label="If 'score_cutoff' is 'true': Minimum score for an ID to be considered" help="Unless you have very few runs or identifications, increase this value to focus on more informative peptides"/>
171 <param name="min_run_occur" argument="-algorithm:align_algorithm:min_run_occur" type="integer" optional="true" min="2" value="2" label="Minimum number of runs (incl" help="reference, if any) in which a peptide must occur to be used for the alignment.. Unless you have very few runs or identifications, increase this value to focus on more informative peptides"/> 170 <param name="min_run_occur" argument="-algorithm:align_algorithm:min_run_occur" type="integer" min="2" value="2" label="Minimum number of runs (incl" help="reference, if any) in which a peptide must occur to be used for the alignment.. Unless you have very few runs or identifications, increase this value to focus on more informative peptides"/>
172 <param name="max_rt_shift" argument="-algorithm:align_algorithm:max_rt_shift" type="float" optional="true" min="0.0" value="0.5" label="Maximum realistic RT difference for a peptide (median per run vs" help="reference). Peptides with higher shifts (outliers) are not used to compute the alignment.. If 0, no limit (disable filter); if &gt; 1, the final value in seconds; if &lt;= 1, taken as a fraction of the range of the reference RT scale"/> 171 <param name="max_rt_shift" argument="-algorithm:align_algorithm:max_rt_shift" type="float" min="0.0" value="0.5" label="Maximum realistic RT difference for a peptide (median per run vs" help="reference). Peptides with higher shifts (outliers) are not used to compute the alignment.. If 0, no limit (disable filter); if &gt; 1, the final value in seconds; if &lt;= 1, taken as a fraction of the range of the reference RT scale"/>
173 <param name="use_unassigned_peptides" argument="-algorithm:align_algorithm:use_unassigned_peptides" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Should unassigned peptide identifications be used when computing an alignment of feature or consensus maps" help="If 'false', only peptide IDs assigned to features will be used"/> 172 <param name="use_unassigned_peptides" argument="-algorithm:align_algorithm:use_unassigned_peptides" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Should unassigned peptide identifications be used when computing an alignment of feature or consensus maps" help="If 'false', only peptide IDs assigned to features will be used"/>
174 <param name="use_feature_rt" argument="-algorithm:align_algorithm:use_feature_rt" type="boolean" truevalue="true" falsevalue="false" checked="true" label="When aligning feature or consensus maps, don't use the retention time of a peptide identification directly; instead, use the retention time of the centroid of the feature (apex of the elution profile) that the peptide was matched to" help="If different identifications are matched to one feature, only the peptide closest to the centroid in RT is used.. Precludes 'use_unassigned_peptides'"/> 173 <param name="use_feature_rt" argument="-algorithm:align_algorithm:use_feature_rt" type="boolean" truevalue="true" falsevalue="false" checked="true" label="When aligning feature or consensus maps, don't use the retention time of a peptide identification directly; instead, use the retention time of the centroid of the feature (apex of the elution profile) that the peptide was matched to" help="If different identifications are matched to one feature, only the peptide closest to the centroid in RT is used.. Precludes 'use_unassigned_peptides'"/>
175 <param name="use_adducts" argument="-algorithm:align_algorithm:use_adducts" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If IDs contain adducts, treat differently adducted variants of the same molecule as different" help=""/> 174 <param name="use_adducts" argument="-algorithm:align_algorithm:use_adducts" type="boolean" truevalue="true" falsevalue="false" checked="true" label="If IDs contain adducts, treat differently adducted variants of the same molecule as different" help=""/>
176 </section> 175 </section>
177 </section> 176 </section>
178 <expand macro="adv_opts_macro"> 177 <expand macro="adv_opts_macro">
179 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> 178 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/>
180 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> 179 <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true">
181 <expand macro="list_string_san" name="test"/> 180 <expand macro="list_string_san" name="test"/>
182 </param> 181 </param>
183 </expand> 182 </expand>
184 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> 183 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs">
185 <option value="out_FLAG">out (Output files (same file type as 'in'))</option> 184 <option value="out_FLAG">out (Output files (same file type as 'in'))</option>
201 </data> 200 </data>
202 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> 201 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd">
203 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> 202 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter>
204 </data> 203 </data>
205 </outputs> 204 </outputs>
206 <tests><!-- TOPP_MapAlignerTreeGuided_1 --> 205 <tests>
206 <!-- TOPP_MapAlignerTreeGuided_1 -->
207 <test expect_num_outputs="2"> 207 <test expect_num_outputs="2">
208 <section name="adv_opts"> 208 <section name="adv_opts">
209 <param name="force" value="false"/> 209 <param name="force" value="false"/>
210 <param name="test" value="true"/> 210 <param name="test" value="true"/>
211 </section> 211 </section>
217 <param name="model_type" value="b_spline"/> 217 <param name="model_type" value="b_spline"/>
218 <section name="model"> 218 <section name="model">
219 <param name="type" value="b_spline"/> 219 <param name="type" value="b_spline"/>
220 <section name="linear"> 220 <section name="linear">
221 <param name="symmetric_regression" value="false"/> 221 <param name="symmetric_regression" value="false"/>
222 <param name="x_weight"/> 222 <param name="x_weight" value="x"/>
223 <param name="y_weight"/> 223 <param name="y_weight" value="y"/>
224 <param name="x_datum_min" value="1e-15"/> 224 <param name="x_datum_min" value="1e-15"/>
225 <param name="x_datum_max" value="1000000000000000.0"/> 225 <param name="x_datum_max" value="1000000000000000.0"/>
226 <param name="y_datum_min" value="1e-15"/> 226 <param name="y_datum_min" value="1e-15"/>
227 <param name="y_datum_max" value="1000000000000000.0"/> 227 <param name="y_datum_max" value="1000000000000000.0"/>
228 </section> 228 </section>
259 <output name="ctd_out" ftype="xml"> 259 <output name="ctd_out" ftype="xml">
260 <assert_contents> 260 <assert_contents>
261 <is_valid_xml/> 261 <is_valid_xml/>
262 </assert_contents> 262 </assert_contents>
263 </output> 263 </output>
264 <assert_stdout>
265 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
266 </assert_stdout>
264 </test> 267 </test>
265 <!-- TOPP_MapAlignerTreeGuided_2 --> 268 <!-- TOPP_MapAlignerTreeGuided_2 -->
266 <test expect_num_outputs="2"> 269 <test expect_num_outputs="2">
267 <section name="adv_opts"> 270 <section name="adv_opts">
268 <param name="force" value="false"/> 271 <param name="force" value="false"/>
276 <param name="model_type" value="b_spline"/> 279 <param name="model_type" value="b_spline"/>
277 <section name="model"> 280 <section name="model">
278 <param name="type" value="b_spline"/> 281 <param name="type" value="b_spline"/>
279 <section name="linear"> 282 <section name="linear">
280 <param name="symmetric_regression" value="false"/> 283 <param name="symmetric_regression" value="false"/>
281 <param name="x_weight"/> 284 <param name="x_weight" value="x"/>
282 <param name="y_weight"/> 285 <param name="y_weight" value="y"/>
283 <param name="x_datum_min" value="1e-15"/> 286 <param name="x_datum_min" value="1e-15"/>
284 <param name="x_datum_max" value="1000000000000000.0"/> 287 <param name="x_datum_max" value="1000000000000000.0"/>
285 <param name="y_datum_min" value="1e-15"/> 288 <param name="y_datum_min" value="1e-15"/>
286 <param name="y_datum_max" value="1000000000000000.0"/> 289 <param name="y_datum_max" value="1000000000000000.0"/>
287 </section> 290 </section>
318 <output name="ctd_out" ftype="xml"> 321 <output name="ctd_out" ftype="xml">
319 <assert_contents> 322 <assert_contents>
320 <is_valid_xml/> 323 <is_valid_xml/>
321 </assert_contents> 324 </assert_contents>
322 </output> 325 </output>
326 <assert_stdout>
327 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
328 </assert_stdout>
323 </test> 329 </test>
324 <!-- TOPP_MapAlignerTreeGuided_3 --> 330 <!-- TOPP_MapAlignerTreeGuided_3 -->
325 <test expect_num_outputs="2"> 331 <test expect_num_outputs="2">
326 <section name="adv_opts"> 332 <section name="adv_opts">
327 <param name="force" value="false"/> 333 <param name="force" value="false"/>
335 <param name="model_type" value="b_spline"/> 341 <param name="model_type" value="b_spline"/>
336 <section name="model"> 342 <section name="model">
337 <param name="type" value="b_spline"/> 343 <param name="type" value="b_spline"/>
338 <section name="linear"> 344 <section name="linear">
339 <param name="symmetric_regression" value="false"/> 345 <param name="symmetric_regression" value="false"/>
340 <param name="x_weight"/> 346 <param name="x_weight" value="x"/>
341 <param name="y_weight"/> 347 <param name="y_weight" value="y"/>
342 <param name="x_datum_min" value="1e-15"/> 348 <param name="x_datum_min" value="1e-15"/>
343 <param name="x_datum_max" value="1000000000000000.0"/> 349 <param name="x_datum_max" value="1000000000000000.0"/>
344 <param name="y_datum_min" value="1e-15"/> 350 <param name="y_datum_min" value="1e-15"/>
345 <param name="y_datum_max" value="1000000000000000.0"/> 351 <param name="y_datum_max" value="1000000000000000.0"/>
346 </section> 352 </section>
377 <output name="ctd_out" ftype="xml"> 383 <output name="ctd_out" ftype="xml">
378 <assert_contents> 384 <assert_contents>
379 <is_valid_xml/> 385 <is_valid_xml/>
380 </assert_contents> 386 </assert_contents>
381 </output> 387 </output>
388 <assert_stdout>
389 <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/>
390 </assert_stdout>
382 </test> 391 </test>
383 </tests> 392 </tests>
384 <help><![CDATA[Tree guided correction of retention time distortions between maps. 393 <help><![CDATA[Tree guided correction of retention time distortions between maps.
385 394
386 395
387 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_MapAlignerTreeGuided.html]]></help> 396 For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_MapAlignerTreeGuided.html]]></help>
388 <expand macro="references"/> 397 <expand macro="references"/>
389 </tool> 398 </tool>