Skip to content

cheminfo/mzData

Repository files navigation

History of formats

https://dx.doi.org/10.1074/mcp.R110.000133

mzML - 4 goals:

  • creation of a simple format
  • elimination of alternate ways to encode the same information
  • support for all the features of both mzXML and mzData
  • validation through implementation prior to release.

mzml

cv = Controlled Volabulatry

mzData

NPM version build status Test coverage npm download

Read and explore xml files used to encode mass spectra.

This includes:

  • mzData
  • mzML
  • mzXML

Installation

$ npm install --save mzdata

Usage

import { parseMZ } from 'mzdata';

// mzData files
const mzDataFile = readFileSync(__dirname + '/tiny.mzData.xml');
var response = await parseMZ(mzDataFile);

Ontology

Ontology

More examples

You can find various examples files at:

http://www.psidev.info/mzML

License

MIT