<?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>TextExporter</name>
    
    <shortDescription>
        Exports various XML formats to a text file.
    </shortDescription>
    
    <fullDescription>
        <intro><p>Exports various XML formats to a text file.</p>
		<p>
			<a href="http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_TextExporter.html">Web Documentation for TextExporter</a>
		</p>

        </intro>
        
		<option name="version">Version of the tool that generated this parameters file.</option>
		<option name="separator">The used separator character(s); if not set the 'tab' character is used</option>
		<option name="replacement">Used to replace occurrences of the separator in strings before writing, if 'quoting' is 'none'</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="no_ids">Suppresses output of identification data.</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="minimal">Set this flag to write only three attributes: RT, m/z, and intensity.</option>
		<option name="add_metavalues">Add columns for meta values which occur with a certain frequency (0-100%). Set to -1 to omit meta values (default).</option>
		<option name="proteins_only">Set this flag if you want only protein information from an idXML file</option>
		<option name="peptides_only">Set this flag if you want only peptide information from an idXML file</option>
		<option name="first_dim_rt">If this flag is set the first_dim RT of the peptide hits will also be printed (if present).</option>
		<option name="add_metavalues">Add columns for meta values which occur with a certain frequency (0-100%). Set to -1 to omit meta values (default).</option>
		<option name="add_hit_metavalues">Add columns for meta values which occur with a certain frequency (0-100%). Set to -1 to omit meta values (default).</option>
		<option name="sorting_method">Sorting options can be combined. The precedence is: sort_by_size, sort_by_maps, sorting_method</option>
		<option name="sort_by_maps">Apply a stable sort by the covered maps, lexicographically</option>
		<option name="sort_by_size">Apply a stable sort by decreasing size (i.e., the number of elements)</option>

    </fullDescription>
    
    <ports>
		<inPort index="0" name="in [featureXML,consensusXML,idXML,mzML]">Input file  [featureXML,consensusXML,idXML,mzML]</inPort>
		<outPort index="0" name="out [csv,Inactive]">Output file (mandatory for featureXML and idXML) [csv,Inactive]</outPort>
		<outPort index="1" name="centroids [csv,Inactive]">Output file for centroids of consensus features [csv,Inactive]</outPort>
		<outPort index="2" name="elements [csv,Inactive]">Output file for elements of consensus features [csv,Inactive]</outPort>
		<outPort index="3" name="features [csv,Inactive]">Output file for consensus features and contained elements from all maps (writes 'nan's if elements are missing) [csv,Inactive]</outPort>
 </ports>
    <views>
        <view index="0" name="TextExporter Std Output">The text sent to standard out during the execution of TextExporter.</view>
        <view index="1" name="TextExporter Error Output">The text sent to standard error during the execution of TextExporter. (If it appears in gray, it's the output of a previously failing run which is preserved for your trouble shooting.)</view>
    </views>    
</knimeNode>
