mzdata
A Rust library for reading mass spectrometry data file formats.
Python bindings
Python bindings are available as pymzdata. Install them with:
pip install pymzdata
pymzdata provides Python 3.9+ access to mass spectrometry files through
MZReader, including iteration, random spectrum access, metadata, and NumPy peak
arrays. It supports mzML and indexed mzML, MGF, Bruker TDF, and imzML files.
Thermo RAW files also require their native runtime dependencies. See the
pymzdata README for an example and ion-mobility frame
access.
Quickstart
use fs;
use *;
use Tolerance;
use MzMLReader;
use SignalContinuity;
Supported Formats
mzMLandindexedmzMLMGFmzMLb- Thermo RAW
- Bruker TDF
imzML- PROXI
Disclaimer
This library was made in part to learn Rust, so it may not use the preferred idioms, patterns, or libraries. Any recommendations are welcome.