libpappsomspp
Library for mass spectrometry
|
#include <peptidebase.h>
Public Member Functions | |
PeptideBase (const pappso::PeptideSp &peptide_sp) | |
virtual | ~PeptideBase () |
virtual const pappso::PeptideSp & | getPappsoPeptideSp () const |
get the peptide sequence | |
virtual void | computeIsotopologues (double ni_min_abundance) |
compute possible isotopes for this molecule | |
virtual const pappso::PeptideNaturalIsotopeList * | getPeptideNaturalIsotopeList () const |
get list of isotopes for this peptide needs computeIsotopologues before | |
virtual const std::vector< pappso::PeptideNaturalIsotopeAverageSp > & | getPeptideNaturalIsotopeAverageSpList (pappso::PrecisionPtr precision, std::uint8_t charge, double ni_min_abundance) |
get possible and distinguishable masses of isotopes get list of distinguishable isotopes given the charge and mass precision | |
Protected Attributes | |
const pappso::PeptideSp | msp_peptide |
pappso::PeptideNaturalIsotopeList * | mpa_peptideNaturalIsotopeList = nullptr |
std::map< std::uint8_t, std::vector< pappso::PeptideNaturalIsotopeAverageSp > > | m_peptideNaturalIsotopeAverageSpListByCharge |
double | m_niMinAbundance = 0 |
QMutex | m_mutex |
Definition at line 39 of file peptidebase.h.
pappso::masschroq::PeptideBase::PeptideBase | ( | const pappso::PeptideSp & | peptide_sp | ) |
Default constructor
Definition at line 31 of file peptidebase.cpp.
References msp_peptide.
Referenced by pappso::masschroq::Peptide::Peptide(), pappso::masschroq::Peptide::Peptide(), and pappso::masschroq::PeptideLabel::PeptideLabel().
|
virtual |
|
virtual |
compute possible isotopes for this molecule
ni_min_abundance | the minimal isotop abundance proportion to cover (0.9 will compute isotopes to reach at least 90% of its theoretical abundance |
Reimplemented in pappso::masschroq::Peptide.
Definition at line 48 of file peptidebase.cpp.
References mpa_peptideNaturalIsotopeList, and msp_peptide.
Referenced by pappso::masschroq::Peptide::computeIsotopologues().
|
virtual |
get the peptide sequence
Definition at line 42 of file peptidebase.cpp.
References msp_peptide.
Referenced by pappso::masschroq::PeptideMeasurementsBase::prepareMeasurementsForPeptide(), pappso::masschroq::CborOutputStream::writeMbrPeptideMeasurements(), and pappso::masschroq::CborOutputStream::writePeptideMeasurements().
|
virtual |
get possible and distinguishable masses of isotopes get list of distinguishable isotopes given the charge and mass precision
precision | mass spectrometer MS1 precision |
charge | number of H+ |
ni_min_abundance | select isotopes to regroup |
Definition at line 68 of file peptidebase.cpp.
References m_mutex, m_niMinAbundance, m_peptideNaturalIsotopeAverageSpListByCharge, and mpa_peptideNaturalIsotopeList.
Referenced by pappso::masschroq::PeptideMeasurementsBase::generateMeasurementsForIsotopeList().
|
virtual |
get list of isotopes for this peptide needs computeIsotopologues before
Definition at line 62 of file peptidebase.cpp.
References mpa_peptideNaturalIsotopeList.
|
protected |
Definition at line 93 of file peptidebase.h.
Referenced by getPeptideNaturalIsotopeAverageSpList().
|
protected |
Definition at line 92 of file peptidebase.h.
Referenced by getPeptideNaturalIsotopeAverageSpList().
|
protected |
Definition at line 91 of file peptidebase.h.
Referenced by getPeptideNaturalIsotopeAverageSpList().
|
protected |
Definition at line 89 of file peptidebase.h.
Referenced by pappso::masschroq::Peptide::~Peptide(), pappso::masschroq::PeptideLabel::~PeptideLabel(), computeIsotopologues(), getPeptideNaturalIsotopeAverageSpList(), and getPeptideNaturalIsotopeList().
|
protected |
Definition at line 88 of file peptidebase.h.
Referenced by pappso::masschroq::Peptide::Peptide(), PeptideBase(), computeIsotopologues(), and getPappsoPeptideSp().