MzPAFAnnotation#

class pyopenms.MzPAFAnnotation#

Bases: object

A single mzPAF peak annotation.

Represents one annotation for a peak in mzPAF (Peak Annotation Format), the HUPO-PSI standard for fragment ion annotations.

Examples:

  • y4 - Simple y-ion at position 4

  • b2-H2O - b-ion with neutral loss

  • d5, v7, w3 - Satellite ions with side-chain losses

  • da4, db4, wa4, wb4 - Satellite ions with an a/b subtype

  • y4^2 - Doubly charged y-ion

  • y4/0.001*0.75 - With mass delta and confidence

  • IY - Immonium ion (tyrosine)

  • m3:6 - Internal fragment

  • r[TMT127N] - Reporter ion

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

Methods

Attributes

adduct

analyte_index

charge

confidence

embedded_sequence

formula

immonium_residue

internal_range

ion_series

(self) -> OpenMS::MzPAFIonSeries

isotope_offset

mass_delta

(self) -> OpenMS::MzPAFMassDelta | None

named_compound

neutral_losses

(self) -> list[OpenMS::MzPAFNeutralLoss]

ordinal

reporter_name

satellite_subtype

Optional 'a' or 'b' subtype, valid only for d- and w-ions

property adduct: pyopenms.EmpiricalFormula | None#
property analyte_index: int | None#
property charge: int | None#
property confidence: float | None#
property embedded_sequence: str | None#
property formula: pyopenms.EmpiricalFormula | None#
property immonium_residue: str | None#
property internal_range: tuple[int, int] | None#
property ion_series: pyopenms.MzPAFIonSeries#

(self) -> OpenMS::MzPAFIonSeries

isValid() → bool#
property isotope_offset: int | None#
property mass_delta: pyopenms.MzPAFMassDelta | None#

(self) -> OpenMS::MzPAFMassDelta | None

property named_compound: str | None#
property neutral_losses: list[pyopenms.MzPAFNeutralLoss]#

(self) -> list[OpenMS::MzPAFNeutralLoss]

property ordinal: int | None#
property reporter_name: str | None#
property satellite_subtype: str | None#

Optional ‘a’ or ‘b’ subtype, valid only for d- and w-ions