Module mzdata::io::mzml

source ·
Expand description

Implements a parser for the PSI-MS mzML and indexedmzML XML file formats for representing raw and processed mass spectra, providing a RandomAccessSpectrumIterator interface for reading, and SpectrumWriter interface for writing.

The mzML format is standardized by the Proteomics Standards Initiative (PSI), with a formal schema defined at https://www.psidev.info/mzML.

This crate supports both reading and writing (indexed) mzML documents with spectra of varying degrees of complexity (raw profiles, centroids, processed centroids), though extensive customization of the coercion process relies on the BuildFromArrayMap and BuildArrayMapFrom traits for reading and writing conversion to BinaryArrayMap.

Structs§

Enums§

  • All the ways that mzML parsing can go wrong
  • The different states the MzMLReaderType can enter while parsing different phases of the document. This information is really only needed by the module consumer to determine where in the document an error occurred.
  • All the ways that mzML writing can go wrong
  • The different states that MzMLWriterType can enter while writing an mzML document. This is only necessary for the module consumer when determining where something may have gone wrong.

Traits§

Type Aliases§