Skip to content

cheminfo/mzData

Repository files navigation

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 = parseMZ(mzDataFile);

Ontology

Ontology

More examples

You can find various examples files at:

http://www.psidev.info/mzML

License

MIT