OpenMassSpecCore

The shared core of the OpenMassSpec readers.

openmassspec-core defines the SpectrumSource trait every reader implements, the SpectrumRecord and RunMetadata types, a streaming mzML 1.1.0 writer with optional indexed output, typed PSI-MS terms generated from psi-ms.obo, and a cross-vendor conformance harness. openmassspec-arrow turns spectrum streams into Arrow record batches.

Latest release v3.0.0 Apache-2.0 Rust

Who it is for

Authors of mass spectrometry readers and tools who want to plug into the OpenMassSpec stack.

What it does

  • One trait for all readers: write a SpectrumSource and get mzML and Arrow output.
  • Indexed mzML with a SHA-1 footer.
  • No unsafe code (#![forbid(unsafe_code)]).

Status and known limitations

Most users want OpenMassSpec or a vendor reader rather than this crate directly. Unreleased API breaks are in progress on main.

Full details in the README

Install

cargo add openmassspec-core