File: TOPP_example_convert.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 (71 lines) | stat: -rw-r--r-- 4,085 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
<HTML>
<HEAD>
<TITLE>Conversion between OpenMS XML formats and text formats</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">Conversion between <a class="el" href="namespaceOpenMS.html" title="Main OpenMS namespace. ">OpenMS</a> XML formats and text formats </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="TOPP_example_convert_export"></a>
Export of OpenMS XML formats</h1>
<p>As TOPP offers no functionality for statistical analysis, this step is normally done using external statistics packages. <br/>
 In order to export the OpenMS XML formats into an appropriate format for these packages the TOPP <b>TextExporter</b> can be used.</p>
<p>It converts the the following OpenMS XML formats to text files:</p>
<ul>
<li>featureXML</li>
<li>idXML</li>
<li>consensusXML</li>
</ul>
<p>The use of the <b>TextExporter</b> is very simple: </p>
<div class="fragment"><div class="line">TextExporter -in <a class="code" href="namespaceOpenMS_1_1Internal_1_1ClassTest.html#a835c194d7465ac0e608fc154c9e9ef80">infile</a>.idXML -out outfile.txt</div>
</div><!-- fragment --><h1><a class="anchor" id="TOPP_example_convert_import_feature"></a>
Import of feature data to OpenMS</h1>
<p>OpenMS offers a lot of visualization and analysis functionality for feature data. <br/>
 Feature data in text format, e.g. from other analysis tools, can be imported using the <b>TextImporter</b>. The default mode accepts comma separated values containing the following columns: RT, m/z, intensity. Additionally meta data columns may follow. If meta data is used, meta data column names have to be specified in a header line. Without headers: </p>
<pre class="fragment">1201	503.123	1435000
1201	1006.246	1235200</pre><p> Or with headers: </p>
<pre class="fragment">RT	m/z	Int	isHeavy	myMeta
1201	503.123	1435000	true	2
1201	1006.246	1235200	maybe	1</pre><p>Example invocation: </p>
<div class="fragment"><div class="line">TextImporter -in <a class="code" href="namespaceOpenMS_1_1Internal_1_1ClassTest.html#a835c194d7465ac0e608fc154c9e9ef80">infile</a>.txt -out outfile.featureXML</div>
</div><!-- fragment --><p>The tool also supports data from msInspect,SpecArray and Kroenik(Hardkloer sibling), just specify the -mode option accordingly.</p>
<h1><a class="anchor" id="TOPP_example_convert_import_id"></a>
Import of protein/peptide identification data to OpenMS</h1>
<p>Peptide/protein identification data from several identification engines can be converted to idXML format using the <b>IDFileConverter</b> tool.</p>
<p>It can currently read the following formats:</p>
<ul>
<li>Sequest output folder</li>
<li>pepXML file</li>
<li>idXML file</li>
</ul>
<p>It can currently write the folling formats:</p>
<ul>
<li>pepXML</li>
<li>idXML</li>
</ul>
<p>This example shows how to convert pepXML to idXML: </p>
<div class="fragment"><div class="line">IDFileConverter -in <a class="code" href="namespaceOpenMS_1_1Internal_1_1ClassTest.html#a835c194d7465ac0e608fc154c9e9ef80">infile</a>.pepXML -out outfile.idXML</div>
</div><!-- fragment --> </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:25 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>