<?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>MSGFPlusAdapter</name>
    
    <shortDescription>
        MS/MS database search using MS-GF+.
    </shortDescription>
    
    <fullDescription>
        <intro><p>MS/MS database search using MS-GF+.</p>
		<p>
			<a href="http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_MSGFPlusAdapter.html">Web Documentation for MSGFPlusAdapter</a>
		</p>

        </intro>
        
		<option name="version">Version of the tool that generated this parameters file.</option>
		<option name="add_decoys">Create decoy proteins (reversed sequences) and append them to the database for the search (MS-GF+ parameter '-tda'). This allows the calculation of FDRs, but should only be used if the database does not already contain decoys.</option>
		<option name="precursor_mass_tolerance">Precursor monoisotopic mass tolerance (MS-GF+ parameter '-t')</option>
		<option name="precursor_error_units">Unit of precursor mass tolerance (MS-GF+ parameter '-t')</option>
		<option name="isotope_error_range">Range of allowed isotope peak errors (MS-GF+ parameter '-ti'). Takes into account the error introduced by choosing a non-monoisotopic peak for fragmentation. Combined with 'precursor_mass_tolerance'/'precursor_error_units', this determines the actual precursor mass tolerance. E.g. for experimental mass 'exp' and calculated mass 'calc', '-precursor_mass_tolerance 20 -precursor_error_units ppm -isotope_error_range -1,2' tests '|exp - calc - n * 1.00335 Da| &lt; 20 ppm' for n = -1, 0, 1, 2.</option>
		<option name="fragment_method">Fragmentation method ('from_spectrum' relies on spectrum meta data and uses CID as fallback option; MS-GF+ parameter '-m')</option>
		<option name="instrument">Instrument that generated the data ('low_res'/'high_res' refer to LCQ and LTQ instruments; MS-GF+ parameter '-inst')</option>
		<option name="enzyme">Enzyme used for digestion, or type of cleavage (MS-GF+ parameter '-e')</option>
		<option name="protocol">Labeling or enrichment protocol used, if any (MS-GF+ parameter '-p')</option>
		<option name="tryptic">Level of cleavage specificity required (MS-GF+ parameter '-ntt')</option>
		<option name="min_precursor_charge">Minimum precursor ion charge (MS-GF+ parameter '-minCharge')</option>
		<option name="max_precursor_charge">Maximum precursor ion charge (MS-GF+ parameter '-maxCharge')</option>
		<option name="min_peptide_length">Minimum peptide length to consider (MS-GF+ parameter '-minLength')</option>
		<option name="max_peptide_length">Maximum peptide length to consider (MS-GF+ parameter '-maxLength')</option>
		<option name="matches_per_spec">Number of matches per spectrum to be reported (MS-GF+ parameter '-n')</option>
		<option name="add_features">Output additional features (default: basic scores only; MS-GF+ parameter '-addFeatures')?</option>
		<option name="max_mods">Maximum number of modifications per peptide. If this value is large, the search may take very long.</option>
		<option name="fixed_modifications">Fixed modifications, specified using UniMod (www.unimod.org) terms, e.g. 'Carbamidomethyl (C)'</option>
		<option name="variable_modifications">Variable modifications, specified using UniMod (www.unimod.org) terms, e.g. 'Oxidation (M)'</option>
		<option name="java_memory">Maximum Java heap size (in MB)</option>
		<option name="java_permgen">Maximum Java permanent generation space (in MB); only for Java 7 and below</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>

    </fullDescription>
    
    <ports>
		<inPort index="0" name="in [mzML,mzXML,mgf,ms2]">Input file (MS-GF+ parameter '-s') [mzML,mzXML,mgf,ms2]</inPort>
		<inPort index="1" name="database [FASTA]">Protein sequence database (FASTA file; MS-GF+ parameter '-d'). Non-existing relative filenames are looked up via 'OpenMS.ini:id_db_dir'. [FASTA]</inPort>
		<outPort index="0" name="out [idXML]">Output file [idXML]</outPort>
		<outPort index="1" name="mzid_out [mzid]">Alternative output file (MS-GF+ parameter '-o')#br#Either 'out' or 'mzid_out' are required. They can be used together. [mzid]</outPort>
 </ports>
    <views>
        <view index="0" name="MSGFPlusAdapter Std Output">The text sent to standard out during the execution of MSGFPlusAdapter.</view>
        <view index="1" name="MSGFPlusAdapter Error Output">The text sent to standard error during the execution of MSGFPlusAdapter. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)</view>
    </views>    
</knimeNode>
