Skip to main content

Crate openproteo_core

Crate openproteo_core 

Source
Expand description

openproteo-core is the shared foundation for the open Rust mass-spec parsers (opentfraw, opentimstdf, openwraw).

It exposes:

Each vendor crate is a standalone tool (a user can pull in opentfraw alone and get parsing and mzML export); openproteo-core is the shared vocabulary that keeps the three parsers in lock-step.

Modules§

conformance
Conformance checks for any crate::SpectrumSource.

Structs§

ChromatogramRecord
A chromatogram trace (TIC, BPC, SRM/MRM transition).
CvTerm
A PSI-MS controlled-vocabulary term.
PrecursorInfo
Precursor metadata for an MS2+ spectrum.
RunMetadata
Run-level metadata.
SpectrumRecord
One fully-decoded spectrum.

Enums§

Activation
Activation method used for MSn fragmentation.
Analyzer
Detector / mass analyzer family.
Error
Stack-wide error type. Vendor errors are erased into a boxed trait object so this enum stays version-stable as vendor crates evolve.
MobilityArrayKind
Unit + meaning of a per-peak ion mobility array.
MsPower
MSn order (MS1, MS2, …).
Polarity
Scan polarity.
ScanMode
Whether a spectrum holds centroided peak picks or the raw profile signal.

Constants§

VERSION
Crate version (set from Cargo.toml).

Traits§

SpectrumSource
A source of decoded mass spectra.

Functions§

write_indexed_mzml
Write the source’s spectra as indexed mzML 1.1.0 (with <indexList> and <fileChecksum> trailer).
write_mzml
Write the source’s spectra as mzML 1.1.0 (un-indexed).

Type Aliases§

Result
Convenience alias.