FLASHDeconvSpectrumFile#

class pyopenms.FLASHDeconvSpectrumFile#

Bases: object

FLASHDeconv Spectrum level output (.tsv, .msalign for TopPIC) file formats. This class provides static methods for writing deconvolved spectrum data. Note: Methods taking std::ostream are not directly exposed. Use file-based workflows.

__init__() → None#
__init__(arg: pyopenms.FLASHDeconvSpectrumFile, /) → None

Methods

__init__()

writeMzML(map, deconvolved_spectra, ...)

Write deconvolved and annotated mzML files.

static writeMzML(map: pyopenms.MSExperiment, deconvolved_spectra: collections.abc.Sequence[pyopenms.DeconvolvedSpectrum], deconvolved_mzML_file: str, annotated_mzML_file: str, mzml_charge: int, tols: collections.abc.Sequence[float]) → None#

Write deconvolved and annotated mzML files.

Parameters:
  • map – The original MSExperiment

  • deconvolved_spectra – The deconvolved spectra

  • deconvolved_mzML_file – Output path for deconvolved mzML

  • annotated_mzML_file – Output path for annotated mzML

  • mzml_charge – Charge to use in output mzML

  • tols – Mass tolerances per MS level