<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE knimeNode PUBLIC "-//UNIKN//DTD KNIME Node 2.0//EN" "http://www.knime.org/Node.dtd">
<knimeNode icon="generic_node.png" type="Manipulator">
    <name>MapAlignerIdentification</name>
    
    <shortDescription>
        Corrects retention time distortions between maps based on common peptide identifications.
    </shortDescription>
    
    <fullDescription>
        <intro><p>Corrects retention time distortions between maps based on common peptide identifications.</p>
		<p>
			<a href="http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_MapAlignerIdentification.html">Web Documentation for MapAlignerIdentification</a>
		</p>

        </intro>
        
		<option name="version">Version of the tool that generated this parameters file.</option>
		<option name="log">Name of log file (created only when specified)</option>
		<option name="debug">Sets the debug level</option>
		<option name="threads">Sets the number of threads allowed to be used by the TOPP tool</option>
		<option name="no_progress">Disables progress logging to command line</option>
		<option name="force">Overwrite tool specific checks.</option>
		<option name="test">Enables the test mode (needed for internal use only)</option>
		<option name="index">Use one of the input files as reference ('1' for the first file, etc.).#br#If '0', no explicit reference is set - the algorithm will select a reference.</option>
		<option name="peptide_score_threshold">Score threshold for peptide hits to be used in the alignment.#br#Select a value that allows only 'high confidence' matches.</option>
		<option name="min_run_occur">Minimum number of runs (incl. reference, if any) a peptide must occur in to be used for the alignment.#br#Unless you have very few runs or identifications, increase this value to focus on more informative peptides.</option>
		<option name="max_rt_shift">Maximum realistic RT difference for a peptide (median per run vs. reference). Peptides with higher shifts (outliers) are not used to compute the alignment.#br#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.</option>
		<option name="use_unassigned_peptides">Should unassigned peptide identifications be used when computing an alignment of feature maps? If 'false', only peptide IDs assigned to features will be used.</option>
		<option name="use_feature_rt">When aligning feature 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. If different identifications are matched to one feature, only the peptide closest to the centroid in RT is used.#br#Precludes 'use_unassigned_peptides'.</option>
		<option name="type">Type of model</option>
		<option name="symmetric_regression">Perform linear regression on 'y - x' vs. 'y + x', instead of on 'y' vs. 'x'.</option>
		<option name="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.</option>
		<option name="num_nodes">Number of nodes for B-spline fitting. Overrides 'wavelength' if set (to two or greater). A lower value means more smoothing.</option>
		<option name="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).</option>
		<option name="boundary_condition">Boundary condition at B-spline endpoints: 0 (value zero), 1 (first derivative zero) or 2 (second derivative zero)</option>
		<option name="interpolation_type">Type of interpolation to apply.</option>

    </fullDescription>
    
    <ports>
		<inPort index="0" name="in [featureXML,consensusXML,idXML]">Input files separated by blanks (all must have the same file type) [featureXML,consensusXML,idXML]</inPort>
		<inPort index="1" name="file [featureXML,consensusXML,idXML]">File to use as reference (same file format as input files required) [featureXML,consensusXML,idXML,opt.]</inPort>
		<outPort index="0" name="out [featureXML,consensusXML,idXML]">Output files separated by blanks. Either 'out' or 'trafo_out' has to be provided. They can be used together. [featureXML,consensusXML,idXML]</outPort>
		<outPort index="1" name="trafo_out [trafoXML]">Transformation output files separated by blanks. Either 'out' or 'trafo_out' has to be provided. They can be used together. [trafoXML]</outPort>
 </ports>
    <views>
        <view index="0" name="MapAlignerIdentification Std Output">The text sent to standard out during the execution of MapAlignerIdentification.</view>
        <view index="1" name="MapAlignerIdentification Error Output">The text sent to standard error during the execution of MapAlignerIdentification. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)</view>
    </views>    
</knimeNode>
