ProDBWiki/DeveloperDocumentation/MzDataImportSpecification: Difference between revisions
imported>KaiRunte No edit summary |
imported>KaiRunte No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= mzData Import Specification = | |||
== Introduction == | |||
mzData is an XML exchange format for mass-spectrometry data and is created and maintained by the [http://psidev.sourceforge.net Proteomics Standards Initiative]. The format is defined by an XML schema and an ontology. The ontology defines legal values for so-called cvParam elements to provide flexibility concerning new mass-spectrometers and their componentry. | mzData is an XML exchange format for mass-spectrometry data and is created and maintained by the [http://psidev.sourceforge.net Proteomics Standards Initiative]. The format is defined by an XML schema and an ontology. The ontology defines legal values for so-called cvParam elements to provide flexibility concerning new mass-spectrometers and their componentry. | ||
| Line 8: | Line 8: | ||
An mzData format importer for ProDB needs to consider two different mapping problems. The first one is a relatively simple one: XML elements/attributes need to be mapped onto ProDB object attributes. The second kind of mapping is a little bit more difficult: we need to map ontology-controlled cvParam elements onto ProDB object attributes. An example: | An mzData format importer for ProDB needs to consider two different mapping problems. The first one is a relatively simple one: XML elements/attributes need to be mapped onto ProDB object attributes. The second kind of mapping is a little bit more difficult: we need to map ontology-controlled cvParam elements onto ProDB object attributes. An example: | ||
ProDB models the kind of ionisation directly as classes, for example DB::Ionisation::Electrospray or DB::Ionisation::Maldi. In mzData, however, this information is stored in a list of cvParam elements in mzData/description/instrument/source, for example | ProDB models the kind of ionisation directly as classes, for example DB::Ionisation::Electrospray or DB::Ionisation::Maldi. In mzData, however, this information is stored in a list of cvParam elements in mzData/description/instrument/source, for example | ||
<pre><nowiki> | |||
<description> | |||
<admin> | |||
... | |||
</admin> | |||
<instrument> | |||
<instrumentName>LCQ Deca XP</instrumentName> | |||
<source> | |||
<cvParam cvLabel="psi" accession="PSI:1000008" name="IonizationType" value="ESI"/> | |||
</source> | |||
<analyzerList count="1"> | |||
<analyzer> | |||
<cvParam cvLabel="psi" accession="PSI:1000010" name="AnalyzerType" value="PaulIonTrap"/> | |||
<cvParam cvLabel="psi" accession="PSI:1000011" name="Resolution" value="2000"/> | |||
<cvParam cvLabel="psi" accession="PSI:1000013" name="Accuracy" value="0.2"/> | |||
</analyzer> | |||
</analyzerList> | |||
<detector> | |||
<cvParam cvLabel="psi" accession="" name="type" value="EM"/> | |||
</detector> | |||
</instrument> | |||
</nowiki></pre> | |||
Revision as of 13:29, 16 February 2005
mzData Import Specification
Introduction
mzData is an XML exchange format for mass-spectrometry data and is created and maintained by the Proteomics Standards Initiative. The format is defined by an XML schema and an ontology. The ontology defines legal values for so-called cvParam elements to provide flexibility concerning new mass-spectrometers and their componentry.
An mzData format importer for ProDB needs to consider two different mapping problems. The first one is a relatively simple one: XML elements/attributes need to be mapped onto ProDB object attributes. The second kind of mapping is a little bit more difficult: we need to map ontology-controlled cvParam elements onto ProDB object attributes. An example:
ProDB models the kind of ionisation directly as classes, for example DB::Ionisation::Electrospray or DB::Ionisation::Maldi. In mzData, however, this information is stored in a list of cvParam elements in mzData/description/instrument/source, for example
<description>
<admin>
...
</admin>
<instrument>
<instrumentName>LCQ Deca XP</instrumentName>
<source>
<cvParam cvLabel="psi" accession="PSI:1000008" name="IonizationType" value="ESI"/>
</source>
<analyzerList count="1">
<analyzer>
<cvParam cvLabel="psi" accession="PSI:1000010" name="AnalyzerType" value="PaulIonTrap"/>
<cvParam cvLabel="psi" accession="PSI:1000011" name="Resolution" value="2000"/>
<cvParam cvLabel="psi" accession="PSI:1000013" name="Accuracy" value="0.2"/>
</analyzer>
</analyzerList>
<detector>
<cvParam cvLabel="psi" accession="" name="type" value="EM"/>
</detector>
</instrument>