Read and explore xml files used to encode mass spectra.
This includes:
- mzData
- mzML
- mzXML
$ npm install --save mzdata
import { parseMZ } from 'mzdata';
// mzData files
const mzDataFile = readFileSync(__dirname + '/tiny.mzData.xml');
var response = parseMZ(mzDataFile);
You can find various examples files at: