Mercurial > repos > galaxyp > openms_mapalignertreeguided
comparison MapAlignerTreeGuided.xml @ 4:502c7e321ba5 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
| author | galaxyp |
|---|---|
| date | Thu, 01 Dec 2022 19:24:51 +0000 |
| parents | 25c08f95cdf4 |
| children | 37d1f970c572 |
comparison
equal
deleted
inserted
replaced
| 3:acbd811b19e1 | 4:502c7e321ba5 |
|---|---|
| 1 <?xml version='1.0' encoding='UTF-8'?> | 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.--> | 2 <!--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]--> | 3 <!--Proposed Tool Section: [Map Alignment]--> |
| 4 <tool id="MapAlignerTreeGuided" name="MapAlignerTreeGuided" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> | 4 <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> | 5 <description>Tree guided correction of retention time distortions between maps.</description> |
| 6 <macros> | 6 <macros> |
| 7 <token name="@EXECUTABLE@">MapAlignerTreeGuided</token> | 7 <token name="@EXECUTABLE@">MapAlignerTreeGuided</token> |
| 8 <import>macros.xml</import> | 8 <import>macros.xml</import> |
| 9 <import>macros_autotest.xml</import> | |
| 10 <import>macros_test.xml</import> | |
| 11 </macros> | 9 </macros> |
| 12 <expand macro="requirements"/> | 10 <expand macro="requirements"/> |
| 13 <expand macro="stdio"/> | 11 <expand macro="stdio"/> |
| 14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ | 12 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
| 15 @EXT_FOO@ | 13 @EXT_FOO@ |
| 16 #import re | 14 #import re |
| 17 | 15 |
| 18 ## Preprocessing | 16 ## Preprocessing |
| 19 mkdir in && | 17 mkdir in_cond.in && |
| 20 ${ ' '.join(["ln -s '%s' 'in/%s.%s' &&" % (_, re.sub('[^\w\-_]', '_', _.element_identifier), $gxy2omsext(_.ext)) for _ in $in if _]) } | 18 #if $in_cond.in_select == "no" |
| 19 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])} | |
| 21 #else | |
| 22 ln -s '$in_cond.in' 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' && | |
| 23 #end if | |
| 21 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 24 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 22 mkdir out && | 25 mkdir out && |
| 26 mkdir ${' '.join(["'out/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && | |
| 23 #end if | 27 #end if |
| 24 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 28 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 25 mkdir trafo_out && | 29 mkdir trafo_out && |
| 30 mkdir ${' '.join(["'trafo_out/%s'" % (i) for i, f in enumerate($in_cond.in) if f])} && | |
| 26 #end if | 31 #end if |
| 27 | 32 |
| 28 ## Main program call | 33 ## Main program call |
| 29 | 34 |
| 30 set -o pipefail && | 35 set -o pipefail && |
| 31 @EXECUTABLE@ -write_ctd ./ && | 36 @EXECUTABLE@ -write_ctd ./ && |
| 32 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && | 37 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
| 33 @EXECUTABLE@ -ini @EXECUTABLE@.ctd | 38 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
| 34 -in | 39 -in |
| 35 ${' '.join(["'in/%s.%s'"%(re.sub('[^\w\-_]', '_', _.element_identifier), $gxy2omsext(_.ext)) for _ in $in if _])} | 40 #if $in_cond.in_select == "no" |
| 41 ${' '.join(["'in_cond.in/%s/%s.%s'"%(i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext(f.ext)) for i, f in enumerate($in_cond.in) if f])} | |
| 42 #else | |
| 43 'in_cond.in/${re.sub("[^\w\-_]", "_", $in_cond.in.element_identifier)}.$gxy2omsext($in_cond.in.ext)' | |
| 44 #end if | |
| 36 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 45 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 37 -out | 46 -out |
| 38 ${' '.join(["'out/%s.%s'"%(re.sub('[^\w\-_]', '_', _.element_identifier), $gxy2omsext("featurexml")) for _ in $in if _])} | 47 ${' '.join(["'out/%s/%s.%s'"%(i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext("featurexml")) for i, f in enumerate($in_cond.in) if f])} |
| 39 #end if | 48 #end if |
| 40 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 49 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 41 -trafo_out | 50 -trafo_out |
| 42 ${' '.join(["'trafo_out/%s.%s'"%(re.sub('[^\w\-_]', '_', _.element_identifier), $gxy2omsext("trafoxml")) for _ in $in if _])} | 51 ${' '.join(["'trafo_out/%s/%s.%s'"%(i, re.sub('[^\w\-_]', '_', f.element_identifier), $gxy2omsext("trafoxml")) for i, f in enumerate($in_cond.in) if f])} |
| 43 #end if | 52 #end if |
| 44 #if len(str($OPTIONAL_OUTPUTS).split(',')) == 0 | 53 #if len(str($OPTIONAL_OUTPUTS).split(',')) == 0 |
| 45 | tee '$stdout' | 54 | tee '$stdout' |
| 46 #end if | 55 #end if |
| 47 | 56 |
| 48 ## Postprocessing | 57 ## Postprocessing |
| 49 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 58 #if "out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 50 ${' '.join(["&& mv -n 'in/%(id)s.%(gext)s' 'out/%(id)s'"%{"id": re.sub('[^\w\-_]', '_', _.element_identifier), "gext": $gxy2omsext("featurexml")} for _ in $out if _])} | 59 ${' '.join(["&& mv -n 'out/%(bn)s/%(id)s.%(gext)s' 'out/%(bn)s/%(id)s'"%{"bn": i, "id": re.sub('[^\w\-_]', '_', f.element_identifier), "gext": $gxy2omsext("featurexml")} for i, f in enumerate($in_cond.in) if f])} |
| 51 #end if | 60 #end if |
| 52 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') | 61 #if "trafo_out_FLAG" in str($OPTIONAL_OUTPUTS).split(',') |
| 53 ${' '.join(["&& mv -n 'in/%(id)s.%(gext)s' 'trafo_out/%(id)s'"%{"id": re.sub('[^\w\-_]', '_', _.element_identifier), "gext": $gxy2omsext("trafoxml")} for _ in $trafo_out if _])} | 62 ${' '.join(["&& mv -n 'trafo_out/%(bn)s/%(id)s.%(gext)s' 'trafo_out/%(bn)s/%(id)s'"%{"bn": i, "id": re.sub('[^\w\-_]', '_', f.element_identifier), "gext": $gxy2omsext("trafoxml")} for i, f in enumerate($in_cond.in) if f])} |
| 54 #end if | 63 #end if |
| 55 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS | 64 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
| 56 && mv '@EXECUTABLE@.ctd' '$ctd_out' | 65 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
| 57 #end if]]></command> | 66 #end if]]></command> |
| 58 <configfiles> | 67 <configfiles> |
| 59 <inputs name="args_json" data_style="paths"/> | 68 <inputs name="args_json" data_style="paths"/> |
| 60 <configfile name="hardcoded_json"><![CDATA[{"copy_data": "false", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> | 69 <configfile name="hardcoded_json"><![CDATA[{"copy_data": "false", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
| 61 </configfiles> | 70 </configfiles> |
| 62 <inputs> | 71 <inputs> |
| 63 <param name="in" 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)"/> | 72 <conditional name="in_cond"> |
| 73 <param name="in_select" type="select" label="Run tool in batch mode for -in"> | |
| 74 <option value="no">No: process all datasets jointly</option> | |
| 75 <option value="yes">Yes: process each dataset in an independent job</option> | |
| 76 </param> | |
| 77 <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)"/> | |
| 79 </when> | |
| 80 <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)"/> | |
| 82 </when> | |
| 83 </conditional> | |
| 64 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> | 84 <section name="algorithm" title="Algorithm parameters section" help="" expanded="false"> |
| 65 <param name="model_type" argument="-algorithm:model_type" display="radio" type="select" optional="false" label="Options to control the modeling of retention time transformations from data" help=""> | 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=""> |
| 66 <option value="linear">linear</option> | 86 <option value="linear">linear</option> |
| 67 <option value="b_spline" selected="true">b_spline</option> | 87 <option value="b_spline" selected="true">b_spline</option> |
| 68 <option value="lowess">lowess</option> | 88 <option value="lowess">lowess</option> |
| 69 <option value="interpolated">interpolated</option> | 89 <option value="interpolated">interpolated</option> |
| 70 <expand macro="list_string_san"/> | 90 <expand macro="list_string_san" name="model_type"/> |
| 71 </param> | 91 </param> |
| 72 <section name="model" title="" help="" expanded="false"> | 92 <section name="model" title="" help="" expanded="false"> |
| 73 <param name="type" argument="-algorithm:model:type" display="radio" type="select" optional="false" label="Type of model" help=""> | 93 <param name="type" argument="-algorithm:model:type" type="select" optional="true" label="Type of model" help=""> |
| 74 <option value="linear">linear</option> | 94 <option value="linear">linear</option> |
| 75 <option value="b_spline" selected="true">b_spline</option> | 95 <option value="b_spline" selected="true">b_spline</option> |
| 76 <option value="lowess">lowess</option> | 96 <option value="lowess">lowess</option> |
| 77 <option value="interpolated">interpolated</option> | 97 <option value="interpolated">interpolated</option> |
| 78 <expand macro="list_string_san"/> | 98 <expand macro="list_string_san" name="type"/> |
| 79 </param> | 99 </param> |
| 80 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false"> | 100 <section name="linear" title="Parameters for 'linear' model" help="" expanded="false"> |
| 81 <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'"/> | 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'"/> |
| 82 <param name="x_weight" argument="-algorithm:model:linear:x_weight" display="radio" type="select" optional="true" label="Weight x values" help=""> | 102 <param name="x_weight" argument="-algorithm:model:linear:x_weight" type="select" optional="true" label="Weight x values" help=""> |
| 83 <option value="">default (nothing chosen)</option> | |
| 84 <option value="1/x">1/x</option> | 103 <option value="1/x">1/x</option> |
| 85 <option value="1/x2">1/x2</option> | 104 <option value="1/x2">1/x2</option> |
| 86 <option value="ln(x)">ln(x)</option> | 105 <option value="ln(x)">ln(x)</option> |
| 87 <option value=""></option> | 106 <option value=""></option> |
| 88 <expand macro="list_string_san"/> | 107 <expand macro="list_string_san" name="x_weight"/> |
| 89 </param> | 108 </param> |
| 90 <param name="y_weight" argument="-algorithm:model:linear:y_weight" display="radio" type="select" optional="true" label="Weight y values" help=""> | 109 <param name="y_weight" argument="-algorithm:model:linear:y_weight" type="select" optional="true" label="Weight y values" help=""> |
| 91 <option value="">default (nothing chosen)</option> | |
| 92 <option value="1/y">1/y</option> | 110 <option value="1/y">1/y</option> |
| 93 <option value="1/y2">1/y2</option> | 111 <option value="1/y2">1/y2</option> |
| 94 <option value="ln(y)">ln(y)</option> | 112 <option value="ln(y)">ln(y)</option> |
| 95 <option value=""></option> | 113 <option value=""></option> |
| 96 <expand macro="list_string_san"/> | 114 <expand macro="list_string_san" name="y_weight"/> |
| 97 </param> | 115 </param> |
| 98 <param name="x_datum_min" argument="-algorithm:model:linear:x_datum_min" type="float" optional="true" value="1e-15" label="Minimum x value" help=""/> | 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=""/> |
| 99 <param name="x_datum_max" argument="-algorithm:model:linear:x_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum 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=""/> |
| 100 <param name="y_datum_min" argument="-algorithm:model:linear:y_datum_min" type="float" optional="true" value="1e-15" label="Minimum y 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=""/> |
| 101 <param name="y_datum_max" argument="-algorithm:model:linear:y_datum_max" type="float" optional="true" value="1000000000000000.0" label="Maximum 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=""/> |
| 102 </section> | 120 </section> |
| 103 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false"> | 121 <section name="b_spline" title="Parameters for 'b_spline' model" help="" expanded="false"> |
| 104 <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"/> | 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"/> |
| 105 <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"/> | 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"/> |
| 106 <param name="extrapolate" argument="-algorithm:model:b_spline:extrapolate" display="radio" type="select" optional="false" 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)"> | 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)"> |
| 107 <option value="linear" selected="true">linear</option> | 125 <option value="linear" selected="true">linear</option> |
| 108 <option value="b_spline">b_spline</option> | 126 <option value="b_spline">b_spline</option> |
| 109 <option value="constant">constant</option> | 127 <option value="constant">constant</option> |
| 110 <option value="global_linear">global_linear</option> | 128 <option value="global_linear">global_linear</option> |
| 111 <expand macro="list_string_san"/> | 129 <expand macro="list_string_san" name="extrapolate"/> |
| 112 </param> | 130 </param> |
| 113 <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=""/> | 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=""/> |
| 114 </section> | 132 </section> |
| 115 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false"> | 133 <section name="lowess" title="Parameters for 'lowess' model" help="" expanded="false"> |
| 116 <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"/> | 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"/> |
| 117 <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=""/> | 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=""/> |
| 118 <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"/> | 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"/> |
| 119 <param name="interpolation_type" argument="-algorithm:model:lowess:interpolation_type" display="radio" type="select" optional="false" 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"> | 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"> |
| 120 <option value="linear">linear</option> | 138 <option value="linear">linear</option> |
| 121 <option value="cspline" selected="true">cspline</option> | 139 <option value="cspline" selected="true">cspline</option> |
| 122 <option value="akima">akima</option> | 140 <option value="akima">akima</option> |
| 123 <expand macro="list_string_san"/> | 141 <expand macro="list_string_san" name="interpolation_type"/> |
| 124 </param> | 142 </param> |
| 125 <param name="extrapolation_type" argument="-algorithm:model:lowess:extrapolation_type" display="radio" type="select" optional="false" 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"> | 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"> |
| 126 <option value="two-point-linear">two-point-linear</option> | 144 <option value="two-point-linear">two-point-linear</option> |
| 127 <option value="four-point-linear" selected="true">four-point-linear</option> | 145 <option value="four-point-linear" selected="true">four-point-linear</option> |
| 128 <option value="global-linear">global-linear</option> | 146 <option value="global-linear">global-linear</option> |
| 129 <expand macro="list_string_san"/> | 147 <expand macro="list_string_san" name="extrapolation_type"/> |
| 130 </param> | 148 </param> |
| 131 </section> | 149 </section> |
| 132 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false"> | 150 <section name="interpolated" title="Parameters for 'interpolated' model" help="" expanded="false"> |
| 133 <param name="interpolation_type" argument="-algorithm:model:interpolated:interpolation_type" display="radio" type="select" optional="false" label="Type of interpolation to apply" help=""> | 151 <param name="interpolation_type" argument="-algorithm:model:interpolated:interpolation_type" type="select" optional="true" label="Type of interpolation to apply" help=""> |
| 134 <option value="linear">linear</option> | 152 <option value="linear">linear</option> |
| 135 <option value="cspline" selected="true">cspline</option> | 153 <option value="cspline" selected="true">cspline</option> |
| 136 <option value="akima">akima</option> | 154 <option value="akima">akima</option> |
| 137 <expand macro="list_string_san"/> | 155 <expand macro="list_string_san" name="interpolation_type"/> |
| 138 </param> | 156 </param> |
| 139 <param name="extrapolation_type" argument="-algorithm:model:interpolated:extrapolation_type" display="radio" type="select" optional="false" 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"> | 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"> |
| 140 <option value="two-point-linear" selected="true">two-point-linear</option> | 158 <option value="two-point-linear" selected="true">two-point-linear</option> |
| 141 <option value="four-point-linear">four-point-linear</option> | 159 <option value="four-point-linear">four-point-linear</option> |
| 142 <option value="global-linear">global-linear</option> | 160 <option value="global-linear">global-linear</option> |
| 143 <expand macro="list_string_san"/> | 161 <expand macro="list_string_san" name="extrapolation_type"/> |
| 144 </param> | 162 </param> |
| 145 </section> | 163 </section> |
| 146 </section> | 164 </section> |
| 147 <section name="align_algorithm" title="" help="" expanded="false"> | 165 <section name="align_algorithm" title="" help="" expanded="false"> |
| 148 <param name="score_cutoff" argument="-algorithm:align_algorithm:score_cutoff" type="boolean" truevalue="true" falsevalue="false" checked="false" label="If only IDs above a score cutoff should be used" help="Used together with min_score"/> | 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"> |
| 149 <param name="min_score" argument="-algorithm:align_algorithm:min_score" type="float" optional="true" value="0.05" label="Minimum score for an ID to be considered" help="Applies to the last score calculated.. Unless you have very few runs or identifications, increase this value to focus on more informative peptides"/> | 167 <expand macro="list_string_san" name="score_type"/> |
| 168 </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=""/> | |
| 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"/> | |
| 150 <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"/> | 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"/> |
| 151 <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 > 1, the final value in seconds; if <= 1, taken as a fraction of the range of the reference RT scale"/> | 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 > 1, the final value in seconds; if <= 1, taken as a fraction of the range of the reference RT scale"/> |
| 152 <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"/> | 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"/> |
| 153 <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'"/> | 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'"/> |
| 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=""/> | |
| 154 </section> | 176 </section> |
| 155 </section> | 177 </section> |
| 156 <expand macro="adv_opts_macro"> | 178 <expand macro="adv_opts_macro"> |
| 157 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> | 179 <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> |
| 158 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | 180 <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> |
| 159 <expand macro="list_string_san"/> | 181 <expand macro="list_string_san" name="test"/> |
| 160 </param> | 182 </param> |
| 161 </expand> | 183 </expand> |
| 162 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> | 184 <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> |
| 163 <option value="out_FLAG">out (Output files (same file type as 'in'))</option> | 185 <option value="out_FLAG">out (Output files (same file type as 'in'))</option> |
| 164 <option value="trafo_out_FLAG">trafo_out (Transformation output files)</option> | 186 <option value="trafo_out_FLAG">trafo_out (Transformation output files)</option> |
| 165 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | 187 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> |
| 166 </param> | 188 </param> |
| 167 </inputs> | 189 </inputs> |
| 168 <outputs> | 190 <outputs> |
| 169 <collection type="list" name="out" label="${tool.name} on ${on_string}: out"> | 191 <collection type="list" name="out" label="${tool.name} on ${on_string}: out"> |
| 170 <discover_datasets directory="out" format="featurexml" pattern="__name__"/> | 192 <discover_datasets directory="out" recurse="true" format="featurexml" pattern="__name__"/> |
| 171 <filter>OPTIONAL_OUTPUTS is not None and "out_FLAG" in OPTIONAL_OUTPUTS</filter> | 193 <filter>OPTIONAL_OUTPUTS is not None and "out_FLAG" in OPTIONAL_OUTPUTS</filter> |
| 172 </collection> | 194 </collection> |
| 173 <collection type="list" name="trafo_out" label="${tool.name} on ${on_string}: trafo_out"> | 195 <collection type="list" name="trafo_out" label="${tool.name} on ${on_string}: trafo_out"> |
| 174 <discover_datasets directory="trafo_out" format="trafoxml" pattern="__name__"/> | 196 <discover_datasets directory="trafo_out" recurse="true" format="trafoxml" pattern="__name__"/> |
| 175 <filter>OPTIONAL_OUTPUTS is not None and "trafo_out_FLAG" in OPTIONAL_OUTPUTS</filter> | 197 <filter>OPTIONAL_OUTPUTS is not None and "trafo_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
| 176 </collection> | 198 </collection> |
| 177 <data name="stdout" format="txt" label="${tool.name} on ${on_string}: stdout"> | 199 <data name="stdout" format="txt" label="${tool.name} on ${on_string}: stdout"> |
| 178 <filter>OPTIONAL_OUTPUTS is None</filter> | 200 <filter>OPTIONAL_OUTPUTS is None</filter> |
| 179 </data> | 201 </data> |
| 180 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | 202 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> |
| 181 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | 203 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> |
| 182 </data> | 204 </data> |
| 183 </outputs> | 205 </outputs> |
| 184 <tests> | 206 <tests><!-- TOPP_MapAlignerTreeGuided_1 --> |
| 185 <expand macro="autotest_MapAlignerTreeGuided"/> | 207 <test expect_num_outputs="2"> |
| 186 <expand macro="manutest_MapAlignerTreeGuided"/> | 208 <section name="adv_opts"> |
| 209 <param name="force" value="false"/> | |
| 210 <param name="test" value="true"/> | |
| 211 </section> | |
| 212 <conditional name="in_cond"> | |
| 213 <param name="in" value="MapAlignerTreeGuided_1_input1.featureXML,MapAlignerTreeGuided_1_input2.featureXML,MapAlignerTreeGuided_1_input3.featureXML"/> | |
| 214 </conditional> | |
| 215 <output_collection name="out" count="3"/> | |
| 216 <section name="algorithm"> | |
| 217 <param name="model_type" value="b_spline"/> | |
| 218 <section name="model"> | |
| 219 <param name="type" value="b_spline"/> | |
| 220 <section name="linear"> | |
| 221 <param name="symmetric_regression" value="false"/> | |
| 222 <param name="x_weight"/> | |
| 223 <param name="y_weight"/> | |
| 224 <param name="x_datum_min" value="1e-15"/> | |
| 225 <param name="x_datum_max" value="1000000000000000.0"/> | |
| 226 <param name="y_datum_min" value="1e-15"/> | |
| 227 <param name="y_datum_max" value="1000000000000000.0"/> | |
| 228 </section> | |
| 229 <section name="b_spline"> | |
| 230 <param name="wavelength" value="0.0"/> | |
| 231 <param name="num_nodes" value="5"/> | |
| 232 <param name="extrapolate" value="linear"/> | |
| 233 <param name="boundary_condition" value="2"/> | |
| 234 </section> | |
| 235 <section name="lowess"> | |
| 236 <param name="span" value="0.666666666666667"/> | |
| 237 <param name="num_iterations" value="3"/> | |
| 238 <param name="delta" value="-1.0"/> | |
| 239 <param name="interpolation_type" value="cspline"/> | |
| 240 <param name="extrapolation_type" value="four-point-linear"/> | |
| 241 </section> | |
| 242 <section name="interpolated"> | |
| 243 <param name="interpolation_type" value="cspline"/> | |
| 244 <param name="extrapolation_type" value="two-point-linear"/> | |
| 245 </section> | |
| 246 </section> | |
| 247 <section name="align_algorithm"> | |
| 248 <param name="score_type" value=""/> | |
| 249 <param name="score_cutoff" value="false"/> | |
| 250 <param name="min_score" value="0.05"/> | |
| 251 <param name="min_run_occur" value="2"/> | |
| 252 <param name="max_rt_shift" value="0.5"/> | |
| 253 <param name="use_unassigned_peptides" value="true"/> | |
| 254 <param name="use_feature_rt" value="true"/> | |
| 255 <param name="use_adducts" value="true"/> | |
| 256 </section> | |
| 257 </section> | |
| 258 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_FLAG"/> | |
| 259 <output name="ctd_out" ftype="xml"> | |
| 260 <assert_contents> | |
| 261 <is_valid_xml/> | |
| 262 </assert_contents> | |
| 263 </output> | |
| 264 </test> | |
| 265 <!-- TOPP_MapAlignerTreeGuided_2 --> | |
| 266 <test expect_num_outputs="2"> | |
| 267 <section name="adv_opts"> | |
| 268 <param name="force" value="false"/> | |
| 269 <param name="test" value="true"/> | |
| 270 </section> | |
| 271 <conditional name="in_cond"> | |
| 272 <param name="in" value="MapAlignerTreeGuided_1_input1.featureXML,MapAlignerTreeGuided_1_input2.featureXML,MapAlignerTreeGuided_1_input3.featureXML"/> | |
| 273 </conditional> | |
| 274 <output_collection name="trafo_out" count="3"/> | |
| 275 <section name="algorithm"> | |
| 276 <param name="model_type" value="b_spline"/> | |
| 277 <section name="model"> | |
| 278 <param name="type" value="b_spline"/> | |
| 279 <section name="linear"> | |
| 280 <param name="symmetric_regression" value="false"/> | |
| 281 <param name="x_weight"/> | |
| 282 <param name="y_weight"/> | |
| 283 <param name="x_datum_min" value="1e-15"/> | |
| 284 <param name="x_datum_max" value="1000000000000000.0"/> | |
| 285 <param name="y_datum_min" value="1e-15"/> | |
| 286 <param name="y_datum_max" value="1000000000000000.0"/> | |
| 287 </section> | |
| 288 <section name="b_spline"> | |
| 289 <param name="wavelength" value="0.0"/> | |
| 290 <param name="num_nodes" value="5"/> | |
| 291 <param name="extrapolate" value="linear"/> | |
| 292 <param name="boundary_condition" value="2"/> | |
| 293 </section> | |
| 294 <section name="lowess"> | |
| 295 <param name="span" value="0.666666666666667"/> | |
| 296 <param name="num_iterations" value="3"/> | |
| 297 <param name="delta" value="-1.0"/> | |
| 298 <param name="interpolation_type" value="cspline"/> | |
| 299 <param name="extrapolation_type" value="four-point-linear"/> | |
| 300 </section> | |
| 301 <section name="interpolated"> | |
| 302 <param name="interpolation_type" value="cspline"/> | |
| 303 <param name="extrapolation_type" value="two-point-linear"/> | |
| 304 </section> | |
| 305 </section> | |
| 306 <section name="align_algorithm"> | |
| 307 <param name="score_type" value=""/> | |
| 308 <param name="score_cutoff" value="false"/> | |
| 309 <param name="min_score" value="0.05"/> | |
| 310 <param name="min_run_occur" value="2"/> | |
| 311 <param name="max_rt_shift" value="0.5"/> | |
| 312 <param name="use_unassigned_peptides" value="true"/> | |
| 313 <param name="use_feature_rt" value="true"/> | |
| 314 <param name="use_adducts" value="true"/> | |
| 315 </section> | |
| 316 </section> | |
| 317 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,trafo_out_FLAG"/> | |
| 318 <output name="ctd_out" ftype="xml"> | |
| 319 <assert_contents> | |
| 320 <is_valid_xml/> | |
| 321 </assert_contents> | |
| 322 </output> | |
| 323 </test> | |
| 324 <!-- TOPP_MapAlignerTreeGuided_3 --> | |
| 325 <test expect_num_outputs="2"> | |
| 326 <section name="adv_opts"> | |
| 327 <param name="force" value="false"/> | |
| 328 <param name="test" value="true"/> | |
| 329 </section> | |
| 330 <conditional name="in_cond"> | |
| 331 <param name="in" value="MapAlignerTreeGuided_1_input1.featureXML,MapAlignerTreeGuided_1_input2.featureXML,MapAlignerTreeGuided_1_input3.featureXML"/> | |
| 332 </conditional> | |
| 333 <output_collection name="out" count="3"/> | |
| 334 <section name="algorithm"> | |
| 335 <param name="model_type" value="b_spline"/> | |
| 336 <section name="model"> | |
| 337 <param name="type" value="b_spline"/> | |
| 338 <section name="linear"> | |
| 339 <param name="symmetric_regression" value="false"/> | |
| 340 <param name="x_weight"/> | |
| 341 <param name="y_weight"/> | |
| 342 <param name="x_datum_min" value="1e-15"/> | |
| 343 <param name="x_datum_max" value="1000000000000000.0"/> | |
| 344 <param name="y_datum_min" value="1e-15"/> | |
| 345 <param name="y_datum_max" value="1000000000000000.0"/> | |
| 346 </section> | |
| 347 <section name="b_spline"> | |
| 348 <param name="wavelength" value="0.0"/> | |
| 349 <param name="num_nodes" value="5"/> | |
| 350 <param name="extrapolate" value="linear"/> | |
| 351 <param name="boundary_condition" value="2"/> | |
| 352 </section> | |
| 353 <section name="lowess"> | |
| 354 <param name="span" value="0.666666666666667"/> | |
| 355 <param name="num_iterations" value="3"/> | |
| 356 <param name="delta" value="-1.0"/> | |
| 357 <param name="interpolation_type" value="cspline"/> | |
| 358 <param name="extrapolation_type" value="four-point-linear"/> | |
| 359 </section> | |
| 360 <section name="interpolated"> | |
| 361 <param name="interpolation_type" value="cspline"/> | |
| 362 <param name="extrapolation_type" value="two-point-linear"/> | |
| 363 </section> | |
| 364 </section> | |
| 365 <section name="align_algorithm"> | |
| 366 <param name="score_type" value=""/> | |
| 367 <param name="score_cutoff" value="false"/> | |
| 368 <param name="min_score" value="0.05"/> | |
| 369 <param name="min_run_occur" value="2"/> | |
| 370 <param name="max_rt_shift" value="0.5"/> | |
| 371 <param name="use_unassigned_peptides" value="true"/> | |
| 372 <param name="use_feature_rt" value="true"/> | |
| 373 <param name="use_adducts" value="true"/> | |
| 374 </section> | |
| 375 </section> | |
| 376 <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG,out_FLAG"/> | |
| 377 <output name="ctd_out" ftype="xml"> | |
| 378 <assert_contents> | |
| 379 <is_valid_xml/> | |
| 380 </assert_contents> | |
| 381 </output> | |
| 382 </test> | |
| 187 </tests> | 383 </tests> |
| 188 <help><![CDATA[Tree guided correction of retention time distortions between maps. | 384 <help><![CDATA[Tree guided correction of retention time distortions between maps. |
| 189 | 385 |
| 190 | 386 |
| 191 For more information, visit http://www.openms.de/doxygen/release/2.6.0/html/TOPP_MapAlignerTreeGuided.html]]></help> | 387 For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_MapAlignerTreeGuided.html]]></help> |
| 192 <expand macro="references"/> | 388 <expand macro="references"/> |
| 193 </tool> | 389 </tool> |
