<?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>ProteinQuantifier</name>
    
    <shortDescription>
        Compute peptide and protein abundances
    </shortDescription>
    
    <fullDescription>
        <intro><p>Compute peptide and protein abundances</p>
		<p>
			<a href="http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_ProteinQuantifier.html">Web Documentation for ProteinQuantifier</a>
		</p>

        </intro>
        
		<option name="version">Version of the tool that generated this parameters file.</option>
		<option name="top">Calculate protein abundance from this number of proteotypic peptides (most abundant first; '0' for all)</option>
		<option name="average">Averaging method used to compute protein abundances from peptide abundances</option>
		<option name="include_all">Include results for proteins with fewer proteotypic peptides than indicated by 'top' (no effect if 'top' is 0 or 1)</option>
		<option name="filter_charge">Distinguish between charge states of a peptide. For peptides, abundances will be reported separately for each charge;
for proteins, abundances will be computed based only on the most prevalent charge of each peptide.
By default, abundances are summed over all charge states.</option>
		<option name="ratios">Add the log2 ratios of the abundance values to the output. Format: log_2(x_0/x_0) &lt;sep&gt; log_2(x_1/x_0) &lt;sep&gt; log_2(x_2/x_0) ...</option>
		<option name="ratiosSILAC">Add the log2 ratios for a triple SILAC experiment to the output. Only applicable to consensus maps of exactly three sub-maps. Format: log_2(heavy/light) &lt;sep&gt; log_2(heavy/middle) &lt;sep&gt; log_2(middle/light)</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="normalize">Scale peptide abundances so that medians of all samples are equal</option>
		<option name="fix_peptides">Use the same peptides for protein quantification across all samples.
With 'top 0', all peptides that occur in every sample are considered.
Otherwise ('top N'), the N peptides that occur in the most samples (independently of each other) are selected,
breaking ties by total abundance (there is no guarantee that the best co-ocurring peptides are chosen!).</option>
		<option name="separator">Character(s) used to separate fields; by default, the 'tab' character is used</option>
		<option name="quoting">Method for quoting of strings: 'none' for no quoting, 'double' for quoting with doubling of embedded quotes,
'escape' for quoting with backslash-escaping of embedded quotes</option>
		<option name="replacement">If 'quoting' is 'none', used to replace occurrences of the separator in strings before writing</option>

    </fullDescription>
    
    <ports>
		<inPort index="0" name="in [featureXML,consensusXML,idXML]">Input file [featureXML,consensusXML,idXML]</inPort>
		<inPort index="1" name="protein_groups [idXML]">Protein inference results for the identification runs that were used to annotate the input (e.g. from ProteinProphet via IDFileConverter or Fido via FidoAdapter).#br#Information about indistinguishable proteins will be used for protein quantification. [idXML,opt.]</inPort>
		<outPort index="0" name="out [csv,Inactive]">Output file for protein abundances [csv,Inactive]</outPort>
		<outPort index="1" name="peptide_out [csv,Inactive]">Output file for peptide abundances [csv,Inactive]</outPort>
 </ports>
    <views>
        <view index="0" name="ProteinQuantifier Std Output">The text sent to standard out during the execution of ProteinQuantifier.</view>
        <view index="1" name="ProteinQuantifier Error Output">The text sent to standard error during the execution of ProteinQuantifier. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)</view>
    </views>    
</knimeNode>
