Module mzdata::io::mgf

source ·
Expand description

Read and write MGF files. Supports random access when reading from a source that supports io::Seek.

Structs§

  • An MGF (Mascot Generic Format) file parser that supports iteration and random access. The parser produces Spectrum instances. These may be converted directly into CentroidSpectrum instances which better represent the nature of this preprocessed data type.
  • An MGF writer type that only writes centroided MSn spectra.
  • An MGF style that writes the contents of SpectrumLike::params as spectrum header entries. This is the default style.
  • An MGF style that writes the SCANS entry, but no additional descriptions beyond the minimum.

Enums§

Traits§

  • A trait that controls what additional descriptive entries are written in the spectrum header of an MGF file, not including the essential items like RTINSECONDS and PEPMASS

Type Aliases§