**Generic Workflow Nodes for KNIME: OpenMS** version **2.3.0.201712211252** by **Freie Universitaet Berlin, Universitaet Tuebingen, and the OpenMS Team**

Corrects retention time distortions between maps by spectrum alignment.

- version
- Version of the tool that generated this parameters file.
- log
- Name of log file (created only when specified)
- debug
- Sets the debug level
- threads
- Sets the number of threads allowed to be used by the TOPP tool
- no_progress
- Disables progress logging to command line
- force
- Overwrite tool specific checks.
- test
- Enables the test mode (needed for internal use only)
- gapcost
- This Parameter stands for the cost of opining a gap in the Alignment. 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.
- affinegapcost
- This Parameter controls the cost of extension a already open gap. 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.). Therefor 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.
- cutoff_score
- The Parameter defines the threshold which filtered spectra, these spectra are high potential candidate for deciding the interval of a sub-alignment. Only those pair of spectra are selected, which has a score higher or same of the threshold.
- bucketsize
- Defines the numbers of buckets. 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.
- anchorpoints
- Defines the percent of numbers of match points which a selected from one bucket. The high score pairs are previously selected. The reduction of match points helps to get a smoother spline curve.
- debug
- Activate the debug mode, there a files written starting with debug prefix.
- mismatchscore
- Defines the score of two spectra if they have no similarity to each other.
- scorefunction
- The score function is the core of an alignment. 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..
- type
- Type of model
- symmetric_regression
- Perform linear regression on 'y - x' vs. 'y + x', instead of on 'y' vs. 'x'.
- wavelength
- Determines the amount of smoothing by setting the number of nodes for the B-spline. 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.
- num_nodes
- Number of nodes for B-spline fitting. Overrides 'wavelength' if set (to two or greater). A lower value means more smoothing.
- extrapolate
- Method to use for extrapolation beyond the original data range. '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).
- boundary_condition
- Boundary condition at B-spline endpoints: 0 (value zero), 1 (first derivative zero) or 2 (second derivative zero)
- span
- Fraction of datapoints (f) to use for each local regression (determines the amount of smoothing). Choosing this parameter in the range .2 to .8 usually results in a good fit.
- num_iterations
- Number of robustifying iterations for lowess fitting.
- delta
- Nonnegative parameter which may be used to save computations (recommended value is 0.01 of the range of the input, 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.
- interpolation_type
- Method to use for interpolation between datapoints computed by lowess. 'linear': Linear interpolation. 'cspline': Use the cubic spline for interpolation. 'akima': Use an akima spline for interpolation
- extrapolation_type
- Method to use for extrapolation outside the data range. '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.
- interpolation_type
- Type of interpolation to apply.
- extrapolation_type
- 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. Note that global-linear may not be continuous at the border.

- Output files (same file type as 'in'). Either this option or 'trafo_out' has to be provided; they can be used together. [mzML,Inactive]
- Transformation output files. Either this option or 'out' has to be provided; they can be used together. [trafoXML,Inactive]

- MapAlignerSpectrum Std Output
- The text sent to standard out during the execution of MapAlignerSpectrum.
- MapAlignerSpectrum Error Output
- The text sent to standard error during the execution of MapAlignerSpectrum. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)

To use this node in KNIME, install **Generic Workflow Nodes for KNIME: OpenMS** from the following update site: