| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <peptidefragmention.h>
  
Public Member Functions | |
| PeptideFragmentIon (const PeptideFragmentSp &sp_fragment, Enums::PeptideIon ion_type, unsigned int number_of_neutral_phospho_loss) | |
| PeptideFragmentIon (const PeptideFragmentSp &sp_fragment, Enums::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   | |
| virtual const PeptideFragmentSp & | getPeptideFragmentSp () const | 
| virtual int | getNumberOfAtom (Enums::AtomIsotopeSurvey atom) const override | 
| get the number of atom C, O, N, H in the molecule   | |
| virtual int | getNumberOfIsotope (Enums::Isotope isotope) const override | 
| get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule   | |
| virtual const QString | getName () const override | 
| pappso_double | getMass () const override | 
| const QString | getPeptideIonName () const | 
| const QString | getCompletePeptideIonName (unsigned int charge) const | 
| get a complete ion name string   | |
| Enums::PeptideIon | getPeptideIonType () const | 
| PeptideDirection | getPeptideIonDirection () const | 
| unsigned int | getNumberOfNeutralPhosphoLoss () const | 
| virtual bool | isPalindrome () const override | 
| tells if the peptide sequence is a palindrome   | |
  Public Member Functions inherited from pappso::PeptideInterface | |
| virtual const QString | getSequenceLi () const | 
| amino acid sequence without modification where L are replaced by I   | |
| virtual const ChemicalFormula | getChemicalFormulaCharge (unsigned int charge) const | 
| virtual const QString | getFormula (unsigned int charge) const final | 
| virtual bool | matchPeak (PrecisionPtr precision, pappso_double peak_mz, unsigned int charge) const final | 
| tells if the peptide m/z matches a given experimental mass   | |
  Public Member Functions inherited from pappso::Ion | |
| Ion () | |
| ~Ion () | |
| virtual pappso_double | getMz (unsigned int charge) const final | 
  Public Member Functions inherited from pappso::AtomNumberInterface | |
| virtual const ChemicalFormula | getChemicalFormula () const | 
Static Public Member Functions | |
| static PeptideDirection | getPeptideIonDirection (Enums::PeptideIon ion_type) | 
| static const QString | getPeptideIonName (Enums::PeptideIon ion_type) | 
| static const QColor | getPeptideIonColor (Enums::PeptideIon ion_type) | 
Private Attributes | |
| const PeptideFragmentSp | msp_fragment | 
| const Enums::PeptideIon | m_ionType | 
| pappso_double | m_mass = 0 | 
| unsigned int | m_neutralPhosphoLossNumber = 0 | 
Definition at line 49 of file peptidefragmention.h.
| pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentSp & | sp_fragment, | 
| Enums::PeptideIon | ion_type, | ||
| unsigned int | number_of_neutral_phospho_loss ) | 
Definition at line 45 of file peptidefragmention.cpp.
References pappso::Enums::b, pappso::Enums::bp, pappso::PeptideRawFragmentMasses::getDeltaMass(), getMass(), pappso::getPeptideIonDirection(), getPeptideIonDirection(), pappso::PeptideFragment::getPeptideIonDirectionName(), getPeptideIonName(), m_ionType, m_mass, m_neutralPhosphoLossNumber, pappso::MASSH2O(), pappso::MASSPHOSPHORYLATEDR(), msp_fragment, pappso::Enums::y, and pappso::Enums::yp.
Referenced by PeptideFragmentIon(), PeptideFragmentIon(), and PeptideFragmentIon().
| pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentSp & | sp_fragment, | 
| Enums::PeptideIon | ion_type ) | 
Definition at line 39 of file peptidefragmention.cpp.
References PeptideFragmentIon().
| pappso::PeptideFragmentIon::PeptideFragmentIon | ( | const PeptideFragmentIon & | other | ) | 
Definition at line 82 of file peptidefragmention.cpp.
References PeptideFragmentIon(), m_ionType, m_mass, and msp_fragment.
| pappso::PeptideFragmentIon::PeptideFragmentIon | ( | PeptideFragmentIon && | toCopy | ) | 
Definition at line 89 of file peptidefragmention.cpp.
References PeptideFragmentIon(), m_ionType, m_mass, and msp_fragment.
      
  | 
  virtual | 
Definition at line 97 of file peptidefragmention.cpp.
| const QString pappso::PeptideFragmentIon::getCompletePeptideIonName | ( | unsigned int | charge | ) | const | 
get a complete ion name string
| charge | 
Definition at line 110 of file peptidefragmention.cpp.
References pappso::Enums::bp, getPeptideIonName(), m_ionType, m_neutralPhosphoLossNumber, msp_fragment, size(), and pappso::Enums::yp.
      
  | 
  overridevirtual | 
Implements pappso::Ion.
Definition at line 581 of file peptidefragmention.cpp.
References m_mass.
Referenced by PeptideFragmentIon().
      
  | 
  overridevirtual | 
Reimplemented from pappso::PeptideInterface.
Definition at line 575 of file peptidefragmention.cpp.
References getPeptideIonName(), m_ionType, and size().
      
  | 
  overridevirtual | 
get the number of atom C, O, N, H in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 259 of file peptidefragmention.cpp.
References pappso::Enums::a, pappso::Enums::ao, pappso::Enums::astar, pappso::Enums::b, pappso::Enums::bo, pappso::Enums::bp, pappso::Enums::bstar, pappso::Enums::C, pappso::Enums::c, pappso::Enums::H, m_ionType, m_neutralPhosphoLossNumber, msp_fragment, pappso::Enums::N, pappso::Enums::O, pappso::Enums::S, pappso::Enums::x, pappso::Enums::y, pappso::Enums::yo, pappso::Enums::yp, pappso::Enums::ystar, and pappso::Enums::z.
      
  | 
  overridevirtual | 
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 543 of file peptidefragmention.cpp.
References msp_fragment.
| unsigned int pappso::PeptideFragmentIon::getNumberOfNeutralPhosphoLoss | ( | ) | const | 
Definition at line 597 of file peptidefragmention.cpp.
References m_neutralPhosphoLossNumber.
      
  | 
  virtual | 
Definition at line 569 of file peptidefragmention.cpp.
References msp_fragment.
      
  | 
  static | 
Definition at line 204 of file peptidefragmention.cpp.
References pappso::Enums::a, pappso::Enums::ao, pappso::Enums::astar, pappso::Enums::b, pappso::Enums::bo, pappso::Enums::bp, pappso::Enums::bstar, pappso::Enums::c, getPeptideIonName(), m_ionType, pappso::Enums::x, pappso::Enums::y, pappso::Enums::yo, pappso::Enums::yp, pappso::Enums::ystar, and pappso::Enums::z.
Referenced by pappso::QCPSpectrum::QCPSpectrum(), and pappso::MassSpectrumWidget::plot().
| PeptideDirection pappso::PeptideFragmentIon::getPeptideIonDirection | ( | ) | const | 
Definition at line 592 of file peptidefragmention.cpp.
References msp_fragment.
Referenced by PeptideFragmentIon().
      
  | 
  static | 
Definition at line 103 of file peptidefragmention.cpp.
References pappso::getPeptideIonDirection().
| const QString pappso::PeptideFragmentIon::getPeptideIonName | ( | ) | const | 
Definition at line 138 of file peptidefragmention.cpp.
References pappso::Enums::bp, getPeptideIonName(), m_ionType, m_neutralPhosphoLossNumber, and pappso::Enums::yp.
Referenced by PeptideFragmentIon(), getCompletePeptideIonName(), getName(), pappso::PeptideFragmentIonListBase::getPeptideFragmentIonSp(), getPeptideIonColor(), and getPeptideIonName().
      
  | 
  static | 
Definition at line 150 of file peptidefragmention.cpp.
References pappso::Enums::a, pappso::Enums::ao, pappso::Enums::astar, pappso::Enums::b, pappso::Enums::bo, pappso::Enums::bp, pappso::Enums::bstar, pappso::Enums::c, m_ionType, pappso::Enums::x, pappso::Enums::y, pappso::Enums::yo, pappso::Enums::yp, pappso::Enums::ystar, and pappso::Enums::z.
| Enums::PeptideIon pappso::PeptideFragmentIon::getPeptideIonType | ( | ) | const | 
Definition at line 587 of file peptidefragmention.cpp.
References m_ionType.
      
  | 
  overridevirtual | 
amino acid sequence without modification
Implements pappso::PeptideInterface.
Definition at line 563 of file peptidefragmention.cpp.
References msp_fragment.
      
  | 
  overridevirtual | 
tells if the peptide sequence is a palindrome
Implements pappso::PeptideInterface.
Definition at line 603 of file peptidefragmention.cpp.
References msp_fragment.
| PeptideFragmentIonSp pappso::PeptideFragmentIon::makePeptideFragmentIonSp | ( | ) | const | 
Definition at line 550 of file peptidefragmention.cpp.
      
  | 
  overridevirtual | 
Implements pappso::PeptideInterface.
Definition at line 557 of file peptidefragmention.cpp.
References msp_fragment.
Referenced by pappso::findComplementIonType(), getCompletePeptideIonName(), and getName().
      
  | 
  private | 
Definition at line 96 of file peptidefragmention.h.
Referenced by PeptideFragmentIon(), PeptideFragmentIon(), PeptideFragmentIon(), getCompletePeptideIonName(), getName(), getNumberOfAtom(), getPeptideIonColor(), getPeptideIonName(), getPeptideIonName(), and getPeptideIonType().
      
  | 
  private | 
Definition at line 98 of file peptidefragmention.h.
Referenced by PeptideFragmentIon(), PeptideFragmentIon(), PeptideFragmentIon(), and getMass().
      
  | 
  private | 
Definition at line 102 of file peptidefragmention.h.
Referenced by PeptideFragmentIon(), getCompletePeptideIonName(), getNumberOfAtom(), getNumberOfNeutralPhosphoLoss(), and getPeptideIonName().
      
  | 
  private | 
Definition at line 95 of file peptidefragmention.h.
Referenced by PeptideFragmentIon(), PeptideFragmentIon(), PeptideFragmentIon(), getCompletePeptideIonName(), getNumberOfAtom(), getNumberOfIsotope(), getPeptideFragmentSp(), getPeptideIonDirection(), getSequence(), isPalindrome(), and size().