libXpertMassCore and libXpertMassGui Developer Documentation

Enums Namespace

MsXpS::libXpertMassCore::Enums

Contains the libXpertMassCore Enums documentation. More...

Header: #include <Enums>

Types

enum class CapType { NONE, LEFT, RIGHT, BOTH }
enum class ChemicalEntity { NONE, MONOMER, MODIF, CROSS_LINKER, MODIF_AND_CROSS_LINKER, …, FORCE_BOTH_END_MODIFS }
enum class ChemicalGroupFate { LOST, PRESERVED }
enum class ChemicalGroupTrapped { NEVER, LEFT, RIGHT }
enum class CleavageAction { NOT_SET, NO_CLEAVE, CLEAVE }
enum class CrossLinkEncompassed { NOT, PARTIALLY, FULLY }
enum class FragEnd { NE, LE, RE, BE }
enum class HashAccountData { NOTHING, SEQUENCE, MONOMER_MODIF, POLYMER_MODIF }
enum IonizationOutcome { FAILED, UNCHANGED, IONIZED, DEIONIZED }
enum class LocationType { INDEX, POSITION }
enum class MassDataType { NOT_SET, MASS_SPECTRUM, DRIFT_SPECTRUM, TIC_CHROMATOGRAM, XIC_CHROMATOGRAM, …, DT_MZ_COLORMAP }
enum class MassPeakShapeType { NOT_SET, GAUSSIAN, LORENTZIAN }
enum class MassPeakWidthLogic { NOT_SET, FWHM, RESOLUTION }
enum class MassToleranceType { NONE, PPM, MZ, AMU, RES }
enum class MassType { MONO, AVG, BOTH }
enum class PolymerEnd { NONE, LEFT, RIGHT, BOTH }
enum class SelectionType { RESIDUAL_CHAINS, OLIGOMERS }

Detailed Description

Type Documentation

enum class Enums::CapType

This enum specifies the type of cap (the chemical entities that are set to the polymer ends so as to finish its polymerization state from a chain of residues to an actual polymer molecule.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::CapType::NONE0 << 1The cap is not defined
MsXpS::libXpertMassCore::Enums::CapType::LEFT1 << 1The left cap
MsXpS::libXpertMassCore::Enums::CapType::RIGHT2 << 1The right cap
MsXpS::libXpertMassCore::Enums::CapType::BOTH(LEFT | RIGHT)(LEFT | RIGHT)

enum class Enums::ChemicalEntity

This enum specifies the monomer chemical entities to account for in a calculation.

This enum is typically used when mass calculations need to account or not for the various chemical entities that are attached to a given monomer.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::ChemicalEntity::NONE0The chemical entity is not defined.
MsXpS::libXpertMassCore::Enums::ChemicalEntity::MONOMER1 << 0The monomer
MsXpS::libXpertMassCore::Enums::ChemicalEntity::MODIF1 << 1The modification
MsXpS::libXpertMassCore::Enums::ChemicalEntity::CROSS_LINKER1 << 2The cross-linker
MsXpS::libXpertMassCore::Enums::ChemicalEntity::MODIF_AND_CROSS_LINKER(MODIF | CROSS_LINKER)The modification and the cross-linker
MsXpS::libXpertMassCore::Enums::ChemicalEntity::CROSS_LINK1 << 3The cross-link
MsXpS::libXpertMassCore::Enums::ChemicalEntity::LEFT_END_MODIF1 << 4The polymer left end modification
MsXpS::libXpertMassCore::Enums::ChemicalEntity::FORCE_LEFT_END_MODIF1 << 5Force accounting of the polymer left end modification even if selection does not encompass the left end monomer
MsXpS::libXpertMassCore::Enums::ChemicalEntity::RIGHT_END_MODIF1 << 6The polymer right end modification
MsXpS::libXpertMassCore::Enums::ChemicalEntity::FORCE_RIGHT_END_MODIF1 << 7Force accounting of the polymer right end modification even if selection does not encompass the right end monomer
MsXpS::libXpertMassCore::Enums::ChemicalEntity::BOTH_END_MODIFS(LEFT_END_MODIF | RIGHT_END_MODIF)Both the polymer left and right ends modifications
MsXpS::libXpertMassCore::Enums::ChemicalEntity::FORCE_BOTH_END_MODIFS(FORCE_LEFT_END_MODIF | FORCE_RIGHT_END_MODIF)Force accounting of both the polymer left and right ends modifications even if selection does not encompass any of the polymer ends monomers

enum class Enums::ChemicalGroupFate

This enum specifies how the chemical group behaves when the chemical entity that it holds polymerizes into a Polymer.

This example clarifies the concept:

<monomer>
  <code>C</code>
  <mnmchemgroup>
    <name>N-term NH2</name>
    <pka>9.6</pka>
    <acidcharged>TRUE</acidcharged>
    <polrule>left_trapped</polrule>
    <chemgrouprule>
      <entity>LE_PLM_MODIF</entity>
      <name>Acetylation</name>
      <outcome>LOST</outcome>
    </chemgrouprule>
  </mnmchemgroup>

When the Cysteine's amino group is modified because the Cys residue on on the N-terminal end of the polymer, if it gets acetylated, then the amino group is lost because it is trapped in the amide bond. It is thus not accounted for when computing the pI of the protein.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::ChemicalGroupFate::LOST0The chemical group is lost upon modification of the Monomer.
MsXpS::libXpertMassCore::Enums::ChemicalGroupFate::PRESERVED1The chemical group is preserved upon modification of the Monomer.

enum class Enums::ChemicalGroupTrapped

This enum specifies how the chemical group behaves when the chemical entity that it holds polymerizes into a Polymer.

One example will clear things out:

An amino acid has a amino group and a carboxylic acid group. The amino group gets entrapped in the monomer-to-monomer bond (the peptide bond) if the polymerization occurs at the left of the monomer. That means that if the Monomer holding this ChemicalGroup is N-terminal, then the amino group should be accounted for because it is intact. Conversely, the carboxylic acid group gets entrapped in the peptide bond if the polymerization occurs at the right of the monomer. That means that if the Monomer holding this ChemicalGroup is C-terminal, then the carboxylic acid group should be accounted for because it is intact.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::ChemicalGroupTrapped::NEVER0x0The chemical group is not lost upon polymerization, it should thus always be accounted for.
MsXpS::libXpertMassCore::Enums::ChemicalGroupTrapped::LEFT1 << 0The chemical group gets trapped in the inter-monomer bond if polymerization occurs at left of the Monomer.
MsXpS::libXpertMassCore::Enums::ChemicalGroupTrapped::RIGHT1 << 1The chemical group gets trapped in the inter-monomer bond if polymerization occurs at right of the Monomer.

enum class Enums::CleavageAction

This enum specifies the cleavage operation to be carried out.

This enum is typically used when CleavageMotif objects are configured, either for cleavage (after arginine, for Trypsin) or not-for-cleavage, at K/P, for Trypsin).

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::CleavageAction::NOT_SET-1The CleavageAction has not been configured
MsXpS::libXpertMassCore::Enums::CleavageAction::NO_CLEAVE0The opeartion is actual cleavage
MsXpS::libXpertMassCore::Enums::CleavageAction::CLEAVE1The operation is no cleavage

enum class Enums::CrossLinkEncompassed

This enum type specifies the manner in which a sequence region in a Polymer or in an Oligomer contains fully, or partially not does not contain all the monomers involved in a CrossLink:

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::CrossLinkEncompassed::NOT0The region does not contain any Monomer involved in a CrossLink.
MsXpS::libXpertMassCore::Enums::CrossLinkEncompassed::PARTIALLY1The region contains one or more Monomers involved in a CrossLink but not all.
MsXpS::libXpertMassCore::Enums::CrossLinkEncompassed::FULLY2All the Monomers involved in the CrossLink are contained in the Polymer or Oligomer region.

enum class Enums::FragEnd

This enum specifies the end of the polymer that is found in a fragment.

This enum is typically used to tell what polymer end is found in a fragment ion product. For example, in protein fragmentations, the a, b, c fragments contain the left end of the peptide that was fragmented, while the x, y, z fragments contain the right end of the fragmented peptide.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::FragEnd::NE0x0The fragment contains none of the precursor oligomer ion ends (immonium ions, for example).
MsXpS::libXpertMassCore::Enums::FragEnd::LE1 << 0The fragment contains the left end of the precursor oligomer ion.
MsXpS::libXpertMassCore::Enums::FragEnd::RE1 << 1The fragment contains the right end of the precursor oligomer ion.
MsXpS::libXpertMassCore::Enums::FragEnd::BE(LE | RE)The fragment contains both the left and the right ends of the precursor oligomer ion.

enum class Enums::HashAccountData

This enum specifies the chemical entites to account for when calculating a hash.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::HashAccountData::NOTHING0x0Nothing
MsXpS::libXpertMassCore::Enums::HashAccountData::SEQUENCE1 << 0The sequence
MsXpS::libXpertMassCore::Enums::HashAccountData::MONOMER_MODIF1 << 1Monomer modifications
MsXpS::libXpertMassCore::Enums::HashAccountData::POLYMER_MODIF1 << 2Polymer modifications

enum Enums::IonizationOutcome

This enum specifies the outcome of an ionization or deionization process.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::FAILED0The operation failed.
MsXpS::libXpertMassCore::Enums::UNCHANGED1The ionization status did not change. For example calling deionize() on a non-ionized entity returns UNCHANGED.
MsXpS::libXpertMassCore::Enums::IONIZED2The ionization was successful.
MsXpS::libXpertMassCore::Enums::DEIONIZED3The deionization was successful.

enum class Enums::LocationType

This enum type specified the kind of location:

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::LocationType::INDEX0The location is specified as an index, that is, the numbering starts with 0
MsXpS::libXpertMassCore::Enums::LocationType::POSITION1The location is specified as a position, that is, the numbering starts with 1

enum class Enums::MassDataType

This enum type specifies the kind of mass data that are encoded in a CBOR container.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::MassDataType::NOT_SET0The mass data type is not set
MsXpS::libXpertMassCore::Enums::MassDataType::MASS_SPECTRUM1The mass data type is a mass spectrum
MsXpS::libXpertMassCore::Enums::MassDataType::DRIFT_SPECTRUM2The mass data type is a drift spectrum (ion mobility data)
MsXpS::libXpertMassCore::Enums::MassDataType::TIC_CHROMATOGRAM3The mass data type is total ion current chromatogram
MsXpS::libXpertMassCore::Enums::MassDataType::XIC_CHROMATOGRAM4The mass data type is an extract ion current chromatogram
MsXpS::libXpertMassCore::Enums::MassDataType::MZ_RT_COLORMAP5The mass data type is an MZ/RT color map
MsXpS::libXpertMassCore::Enums::MassDataType::DT_RT_COLORMAP6The mass data type is a DT/RT color map
MsXpS::libXpertMassCore::Enums::MassDataType::DT_MZ_COLORMAP7The mass data type is DT/MZ color map

enum class Enums::MassPeakShapeType

This enum specifies how the peak shape needs to be computed.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::MassPeakShapeType::NOT_SET0The value is not set.
MsXpS::libXpertMassCore::Enums::MassPeakShapeType::GAUSSIAN1The peak shape is computed using the Gaussian function.
MsXpS::libXpertMassCore::Enums::MassPeakShapeType::LORENTZIAN2The peak shape is computed using the Lorentzian function.

enum class Enums::MassPeakWidthLogic

This enum specifies how the peak shape needs to be computed.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::MassPeakWidthLogic::NOT_SET0The value is not set.
MsXpS::libXpertMassCore::Enums::MassPeakWidthLogic::FWHM1The width of the peak shape is determined using the FWHM (full width at half maximum).
MsXpS::libXpertMassCore::Enums::MassPeakWidthLogic::RESOLUTION2The width of the peak shape is determined using the resolving power of the instrument.

enum class Enums::MassToleranceType

This enum type specifies the kind of mass tolerance to use for a mass calculation or a mass comparison.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::MassToleranceType::NONE0The tolerance is not specified
MsXpS::libXpertMassCore::Enums::MassToleranceType::PPM1The tolerance is based on parts per million
MsXpS::libXpertMassCore::Enums::MassToleranceType::MZ2The tolerance is based on an absolute m/z value
MsXpS::libXpertMassCore::Enums::MassToleranceType::AMU3The tolerance is based on an absolute mass value
MsXpS::libXpertMassCore::Enums::MassToleranceType::RES4The tolerance is based on resolution

enum class Enums::MassType

This enum type specifies the type of mass:

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::MassType::MONO1 << 0The mass is monoisotopic
MsXpS::libXpertMassCore::Enums::MassType::AVG1 << 1The mass is average
MsXpS::libXpertMassCore::Enums::MassType::BOTH(MONO | AVG)(MONO | AVG)

enum class Enums::PolymerEnd

This enum specifies the polymer end.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::PolymerEnd::NONE0 << 1Not defined
MsXpS::libXpertMassCore::Enums::PolymerEnd::LEFT1 << 1The left end
MsXpS::libXpertMassCore::Enums::PolymerEnd::RIGHT2 << 1The right end
MsXpS::libXpertMassCore::Enums::PolymerEnd::BOTH(LEFT | RIGHT)(LEFT | RIGHT)

enum class Enums::SelectionType

This enum specifies the selection type in a polymer sequence.

ConstantValueDescription
MsXpS::libXpertMassCore::Enums::SelectionType::RESIDUAL_CHAINS0The selection comprises only residues
MsXpS::libXpertMassCore::Enums::SelectionType::OLIGOMERS1The selection comprises oligomers, that is, residual chains capped with the left and right caps.