libpappsomspp
Library for mass spectrometry
|
#include <peptidefragmention.h>
Public Member Functions | |
PeptideFragmentIon (const PeptideFragmentSp &sp_fragment, PeptideIon ion_type, unsigned int number_of_neutral_phospho_loss) | |
PeptideFragmentIon (const PeptideFragmentSp &sp_fragment, PeptideIon ion_type) | |
PeptideFragmentIon (const PeptideFragmentIon &other) | |
PeptideFragmentIon (PeptideFragmentIon &&toCopy) | |
virtual | ~PeptideFragmentIon () |
PeptideFragmentIonSp | makePeptideFragmentIonSp () const |
virtual unsigned int | size () const override |
virtual const QString | getSequence () const override |
amino acid sequence without modification More... | |
virtual const PeptideFragmentSp & | getPeptideFragmentSp () const |
virtual int | getNumberOfAtom (AtomIsotopeSurvey atom) const override |
get the number of atom C, O, N, H in the molecule More... | |
virtual int | getNumberOfIsotope (Isotope isotope) const override |
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule More... | |
virtual const QString | getName () const override |
pappso_double | getMass () const override |
const QString | getPeptideIonName () const |
PeptideIon | getPeptideIonType () const |
PeptideDirection | getPeptideIonDirection () const |
unsigned int | getNumberOfNeutralPhosphoLoss () const |
virtual bool | isPalindrome () const override |
tells if the peptide sequence is a palindrome More... | |
![]() | |
virtual const QString | getSequenceLi () const |
amino acid sequence without modification where L are replaced by I More... | |
virtual const QString | getFormula (unsigned int charge) const final |
virtual bool | matchPeak (PrecisionPtr precision, pappso_double peak_mz, unsigned int charge) const final |
![]() | |
Ion () | |
~Ion () | |
virtual pappso_double | getMz (unsigned int charge) const final |
Static Public Member Functions | |
static PeptideDirection | getPeptideIonDirection (PeptideIon ion_type) |
static const QString | getPeptideIonName (PeptideIon ion_type) |
static const QColor | getPeptideIonColor (PeptideIon ion_type) |
Private Attributes | |
const PeptideFragmentSp | msp_fragment |
const PeptideIon | m_ionType |
pappso_double | m_mass = 0 |
unsigned int | m_neutralPhosphoLossNumber = 0 |
Definition at line 70 of file peptidefragmention.h.
pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentSp & | sp_fragment, |
PeptideIon | ion_type, | ||
unsigned int | number_of_neutral_phospho_loss | ||
) |
Definition at line 66 of file peptidefragmention.cpp.
pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentSp & | sp_fragment, |
PeptideIon | ion_type | ||
) |
Definition at line 60 of file peptidefragmention.cpp.
References pappso::yp.
pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentIon & | other | ) |
Definition at line 103 of file peptidefragmention.cpp.
References pappso::getPeptideIonDirection().
pappso::PeptideFragmentIon::PeptideFragmentIon | ( | PeptideFragmentIon && | toCopy | ) |
Definition at line 110 of file peptidefragmention.cpp.
References pappso::bp, getPeptideIonName(), m_ionType, m_neutralPhosphoLossNumber, and pappso::yp.
|
virtual |
|
overridevirtual |
Implements pappso::Ion.
Definition at line 571 of file peptidefragmention.cpp.
References msp_fragment.
|
overridevirtual |
Reimplemented from pappso::PeptideInterface.
Definition at line 565 of file peptidefragmention.cpp.
References m_neutralPhosphoLossNumber.
|
overridevirtual |
get the number of atom C, O, N, H in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 249 of file peptidefragmention.cpp.
|
overridevirtual |
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 533 of file peptidefragmention.cpp.
References msp_fragment.
unsigned int pappso::PeptideFragmentIon::getNumberOfNeutralPhosphoLoss | ( | ) | const |
Definition at line 587 of file peptidefragmention.cpp.
|
virtual |
Definition at line 559 of file peptidefragmention.cpp.
|
static |
Definition at line 194 of file peptidefragmention.cpp.
Referenced by pappso::MassSpectrumWidget::plot(), and pappso::QCPSpectrum::QCPSpectrum().
PeptideDirection pappso::PeptideFragmentIon::getPeptideIonDirection | ( | ) | const |
Definition at line 582 of file peptidefragmention.cpp.
|
static |
Definition at line 124 of file peptidefragmention.cpp.
const QString pappso::PeptideFragmentIon::getPeptideIonName | ( | ) | const |
Definition at line 130 of file peptidefragmention.cpp.
Referenced by PeptideFragmentIon().
|
static |
Definition at line 140 of file peptidefragmention.cpp.
PeptideIon pappso::PeptideFragmentIon::getPeptideIonType | ( | ) | const |
Definition at line 577 of file peptidefragmention.cpp.
|
overridevirtual |
amino acid sequence without modification
Implements pappso::PeptideInterface.
Definition at line 553 of file peptidefragmention.cpp.
|
overridevirtual |
tells if the peptide sequence is a palindrome
Implements pappso::PeptideInterface.
Definition at line 593 of file peptidefragmention.cpp.
PeptideFragmentIonSp pappso::PeptideFragmentIon::makePeptideFragmentIonSp | ( | ) | const |
Definition at line 540 of file peptidefragmention.cpp.
|
overridevirtual |
|
private |
Definition at line 111 of file peptidefragmention.h.
Referenced by PeptideFragmentIon(), and ~PeptideFragmentIon().
|
private |
Definition at line 113 of file peptidefragmention.h.
|
private |
Definition at line 117 of file peptidefragmention.h.
Referenced by getName(), and PeptideFragmentIon().
|
private |
Definition at line 110 of file peptidefragmention.h.
Referenced by getMass(), and getNumberOfIsotope().