File: UTILS_ImageCreator.html

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (107 lines) | stat: -rw-r--r-- 11,378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<HTML>
<HEAD>
<TITLE>ImageCreator</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> &nbsp;&middot;
<A href="classes.html">Classes</A> &nbsp;&middot;
<A href="annotated.html">Annotated Classes</A> &nbsp;&middot;
<A href="modules.html">Modules</A> &nbsp;&middot;
<A href="functions_func.html">Members</A> &nbsp;&middot;
<A href="namespaces.html">Namespaces</A> &nbsp;&middot;
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ImageCreator </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Transforms an LC-MS map into a png image.</p>
<p>The input is first resampled into a matrix using bilinear forward resampling. Then the content of the matrix is written to an image file. The output has a uniform spacing in both dimensions regardless of the input.</p>
<p><b>The command line parameters of this tool are:</b> </p>
<pre class="fragment">
ImageCreator -- Transforms an LC-MS map into an image.
Version: 1.11.1 Nov 14 2013, 11:18:15, Revision: 11976

Usage:
  ImageCreator &lt;options&gt;

Options (mandatory options marked with '*'):
  -in &lt;file&gt;*                Input file  (valid formats: 'mzML')
  -in_featureXML &lt;file&gt;      Input file  (valid formats: 'featureXML')
  -out &lt;file&gt;*               Output file (valid formats: 'png', 'jpg', 'bmp', 'tiff', 'ppm')
  -out_type &lt;file type&gt;      The image format. Set this if you want to force a format not reflected by the 
                             'out' filename. (valid: 'png', 'jpg', 'bmp', 'tiff', 'ppm')
  -width &lt;number&gt;            Number of pixels in m/z dimension.
                             If 0, one pixel per Th. (default: '1024' min: '0')
  -height &lt;number&gt;           Number of pixels in RT dimension.
                             If 0, one pixel per spectrum. (default: '1024' min: '0')
  -background_color &lt;color&gt;  Background color e.g.: "#FF0000" to choose red as background color (default: 
                             '#FFFFFF')
  -feature_color &lt;color&gt;     Feature color e.g.: "#00FF00" to choose green as feature color (default: '#00000
                             0')
  -gradient &lt;gradient&gt;       Intensity gradient that defines colors for the range between 0 and 100.
                             Example: '0,#FFFFFF;50,#FF0000;100,#000000'
  -max_intensity &lt;int&gt;       Maximum peak intensity used to determine range for colors.
                             If 0, this is determined from the data. (default: '0')
  -log_intensity             Apply logarithm to intensity values
  -transpose                 Flag to transpose the resampled matrix (RT vs. m/z).
                             Per default, dimensions run bottom-up in RT and left-right in m/z.
  -precursors                Mark locations of MS2 precursors.
                             
  -precursor_color &lt;color&gt;   Color for precursor marks (color code or word, e.g. 'black') (requires 'precurso
                             rs' flag to be active) (default: '#000000')
  -precursor_size &lt;number&gt;   Size of the precursor marks (requires 'precursors' flag to be active) (default: 
                             '2' min: '1' max: '3')
                             
Common UTIL options:
  -ini &lt;file&gt;                Use the given TOPP INI file
  -threads &lt;n&gt;               Sets the number of threads allowed to be used by the TOPP tool (default: '1')
  -write_ini &lt;file&gt;          Writes the default configuration file
  --help                     Shows options
  --helphelp                 Shows all options (including advanced)

</pre><p> <b>INI file documentation of this tool:</b> <div class="ini_global">
<div class="legend">
<b>Legend:</b><br>
 <div class="item item_required">required parameter</div>
 <div class="item item_advanced">advanced parameter</div>
</div>
  <div class="node"><span class="node_name">+ImageCreator</span><span class="node_description">Transforms an LC-MS map into an image.</span></div>
    <div class="item item_advanced"><span class="item_name" style="padding-left:16px;">version</span><span class="item_value">1.11.1</span>
<span class="item_description">Version of the tool that generated this parameters file.</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>    <div class="node"><span class="node_name">++1</span><span class="node_description">Instance '1' section for 'ImageCreator'</span></div>
      <div class="item"><span class="item_name item_required" style="padding-left:24px;">in</span><span class="item_value"></span>
<span class="item_description">input file </span><span class="item_tags">input file</span><span class="item_restrictions">*.mzML</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">in_featureXML</span><span class="item_value"></span>
<span class="item_description">input file </span><span class="item_tags">input file</span><span class="item_restrictions">*.featureXML</span></div>      <div class="item"><span class="item_name item_required" style="padding-left:24px;">out</span><span class="item_value"></span>
<span class="item_description">output file</span><span class="item_tags">output file</span><span class="item_restrictions">*.png,*.jpg,*.bmp,*.tiff,*.ppm</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">out_type</span><span class="item_value"></span>
<span class="item_description">The image format. Set this if you want to force a format not reflected by the 'out' filename.</span><span class="item_tags"></span><span class="item_restrictions">png,jpg,bmp,tiff,ppm</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">width</span><span class="item_value">1024</span>
<span class="item_description">Number of pixels in m/z dimension.<br>If 0, one pixel per Th.</span><span class="item_tags"></span><span class="item_restrictions">0:&#8734;</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">height</span><span class="item_value">1024</span>
<span class="item_description">Number of pixels in RT dimension.<br>If 0, one pixel per spectrum.</span><span class="item_tags"></span><span class="item_restrictions">0:&#8734;</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">background_color</span><span class="item_value">#FFFFFF</span>
<span class="item_description">Background color e.g.: "#FF0000" to choose red as background color</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">feature_color</span><span class="item_value">#000000</span>
<span class="item_description">Feature color e.g.: "#00FF00" to choose green as feature color</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">gradient</span><span class="item_value"></span>
<span class="item_description">Intensity gradient that defines colors for the range between 0 and 100.<br>Example: '0,#FFFFFF;50,#FF0000;100,#000000'</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">max_intensity</span><span class="item_value">0</span>
<span class="item_description">Maximum peak intensity used to determine range for colors.<br>If 0, this is determined from the data.</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">log_intensity</span><span class="item_value">false</span>
<span class="item_description">Apply logarithm to intensity values</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">transpose</span><span class="item_value">false</span>
<span class="item_description">flag to transpose the resampled matrix (RT vs. m/z).<br>Per default, dimensions run bottom-up in RT and left-right in m/z.</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">precursors</span><span class="item_value">false</span>
<span class="item_description">Mark locations of MS2 precursors.<br></span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">precursor_color</span><span class="item_value">#000000</span>
<span class="item_description">Color for precursor marks (color code or word, e.g. 'black') (requires 'precursors' flag to be active)</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">precursor_size</span><span class="item_value">2</span>
<span class="item_description">Size of the precursor marks (requires 'precursors' flag to be active)</span><span class="item_tags"></span><span class="item_restrictions">1:3</span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">log</span><span class="item_value"></span>
<span class="item_description">Name of log file (created only when specified)</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">debug</span><span class="item_value">0</span>
<span class="item_description">Sets the debug level</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item"><span class="item_name" style="padding-left:24px;">threads</span><span class="item_value">1</span>
<span class="item_description">Sets the number of threads allowed to be used by the TOPP tool</span><span class="item_tags"></span><span class="item_restrictions"> </span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">no_progress</span><span class="item_value">false</span>
<span class="item_description">Disables progress logging to command line</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div>      <div class="item item_advanced"><span class="item_name" style="padding-left:24px;">test</span><span class="item_value">false</span>
<span class="item_description">Enables the test mode (needed for internal use only)</span><span class="item_tags"></span><span class="item_restrictions">true,false</span></div></div>
 </div></div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:24 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>