https://github.com/cheminfo/mzdata
Read and explore mzData files.
https://github.com/cheminfo/mzdata
mzdata parser
Last synced: 10 months ago
JSON representation
Read and explore mzData files.
- Host: GitHub
- URL: https://github.com/cheminfo/mzdata
- Owner: cheminfo
- License: mit
- Created: 2016-10-31T12:17:12.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T16:16:41.000Z (over 1 year ago)
- Last Synced: 2025-07-29T13:21:12.912Z (11 months ago)
- Topics: mzdata, parser
- Language: JavaScript
- Homepage: https://cheminfo.github.io/mzData/
- Size: 84 MB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# History of formats
https://dx.doi.org/10.1074/mcp.R110.000133
- mzData was developed by HUPO-PSI
- http://psidev.info/index.php?qnode/80#mzdata
- https://doi.org/10.1002/pmic.200300588
- mzXML was developed at the Institute for Systems Biology
- mzML: new unified output format started in 2006
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.

cv = Controlled Volabulatry
# mzData
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
Read and explore xml files used to encode mass spectra.
This includes:
- mzData
- mzML
- mzXML
## Installation
`$ npm install --save mzdata`
## Usage
```js
import { parseMZ } from 'mzdata';
// mzData files
const mzDataFile = readFileSync(__dirname + '/tiny.mzData.xml');
var response = await parseMZ(mzDataFile);
```
## Ontology
[Ontology](./ontology.md)
## More examples
You can find various examples files at:
http://www.psidev.info/mzML
## License
[MIT](./LICENSE)
[npm-image]: https://img.shields.io/npm/v/mzdata.svg?style=flat-square
[npm-url]: https://npmjs.org/package/mzdata
[travis-image]: https://img.shields.io/travis/cheminfo-js/mzData/main.svg?style=flat-square
[travis-url]: https://travis-ci.org/cheminfo-js/mzData
[codecov-image]: https://img.shields.io/codecov/c/github/cheminfo-js/mzData.svg?style=flat-square
[codecov-url]: https://codecov.io/github/cheminfo-js/mzData
[download-image]: https://img.shields.io/npm/dm/mzdata.svg?style=flat-square
[download-url]: https://npmjs.org/package/mzdata