|
libpappsomspp
Library for mass spectrometry
|
#include <peptidenaturalisotope.h>
Public Member Functions | |
| PeptideNaturalIsotope (const PeptideInterfaceSp &peptide, const std::map< Enums::Isotope, int > &map_isotope) | |
| PeptideNaturalIsotope (const PeptideNaturalIsotope &other) | |
| virtual | ~PeptideNaturalIsotope () |
| virtual unsigned int | size () const override |
| virtual const QString | getSequence () const override |
| amino acid sequence without modification | |
| pappso_double | getMass () const override |
| 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 | |
| pappso_double | getIntensityRatio (unsigned int charge) const |
| const std::map< Enums::Isotope, int > & | getIsotopeMap () const |
| virtual unsigned int | getIsotopeNumber () 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 QString | getName () const |
| 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 |
Private Attributes | |
| const PeptideInterfaceSp | m_peptide |
| const std::map< Enums::Isotope, int > | m_mapIsotope |
| pappso_double | m_ratio |
| pappso_double | m_mass |
Definition at line 45 of file peptidenaturalisotope.h.
| pappso::PeptideNaturalIsotope::PeptideNaturalIsotope | ( | const PeptideInterfaceSp & | peptide, |
| const std::map< Enums::Isotope, int > & | map_isotope ) |
Definition at line 195 of file peptidenaturalisotope.cpp.
References pappso::Enums::C, pappso::Enums::C13, pappso::DIFFC12C13(), pappso::DIFFH1H2(), pappso::DIFFN14N15(), pappso::DIFFO16O17(), pappso::DIFFO16O18(), pappso::DIFFS32S33(), pappso::DIFFS32S34(), pappso::DIFFS32S36(), getNumberOfIsotope(), pappso::Enums::H2, pappso::isotopem_ratio_cache(), m_mapIsotope, m_mass, m_peptide, m_ratio, pappso::Enums::N, pappso::Enums::N15, pappso::Enums::O, pappso::Enums::O17, pappso::Enums::O18, pappso::Enums::S, pappso::Enums::S33, pappso::Enums::S34, and pappso::Enums::S36.
Referenced by PeptideNaturalIsotope().
| pappso::PeptideNaturalIsotope::PeptideNaturalIsotope | ( | const PeptideNaturalIsotope & | other | ) |
Definition at line 263 of file peptidenaturalisotope.cpp.
References PeptideNaturalIsotope(), m_mapIsotope, m_peptide, and m_ratio.
|
virtual |
Definition at line 269 of file peptidenaturalisotope.cpp.
| pappso_double pappso::PeptideNaturalIsotope::getIntensityRatio | ( | unsigned int | charge | ) | const |
Definition at line 283 of file peptidenaturalisotope.cpp.
References pappso::Enums::H, pappso::Enums::H2, pappso::isotopem_ratio_cache(), m_mapIsotope, m_peptide, and m_ratio.
| const std::map< Enums::Isotope, int > & pappso::PeptideNaturalIsotope::getIsotopeMap | ( | ) | const |
Definition at line 307 of file peptidenaturalisotope.cpp.
References m_mapIsotope.
|
virtual |
Definition at line 333 of file peptidenaturalisotope.cpp.
References pappso::Enums::C13, pappso::Enums::H2, m_mapIsotope, pappso::Enums::N15, pappso::Enums::O17, pappso::Enums::O18, pappso::Enums::S33, pappso::Enums::S34, and pappso::Enums::S36.
|
overridevirtual |
Implements pappso::Ion.
Definition at line 275 of file peptidenaturalisotope.cpp.
References m_mass.
|
overridevirtual |
get the number of atom C, O, N, H in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 295 of file peptidenaturalisotope.cpp.
References m_peptide.
|
overridevirtual |
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 301 of file peptidenaturalisotope.cpp.
References m_mapIsotope, and m_peptide.
Referenced by PeptideNaturalIsotope().
|
overridevirtual |
amino acid sequence without modification
Implements pappso::PeptideInterface.
Definition at line 327 of file peptidenaturalisotope.cpp.
References m_peptide.
|
overridevirtual |
tells if the peptide sequence is a palindrome
Implements pappso::PeptideInterface.
Definition at line 314 of file peptidenaturalisotope.cpp.
References m_peptide.
|
overridevirtual |
Implements pappso::PeptideInterface.
Definition at line 321 of file peptidenaturalisotope.cpp.
References m_peptide.
|
private |
Definition at line 71 of file peptidenaturalisotope.h.
Referenced by PeptideNaturalIsotope(), PeptideNaturalIsotope(), getIntensityRatio(), getIsotopeMap(), getIsotopeNumber(), and getNumberOfIsotope().
|
private |
Definition at line 73 of file peptidenaturalisotope.h.
Referenced by PeptideNaturalIsotope(), and getMass().
|
private |
Definition at line 69 of file peptidenaturalisotope.h.
Referenced by PeptideNaturalIsotope(), PeptideNaturalIsotope(), getIntensityRatio(), getNumberOfAtom(), getNumberOfIsotope(), getSequence(), isPalindrome(), and size().
|
private |
Definition at line 72 of file peptidenaturalisotope.h.
Referenced by PeptideNaturalIsotope(), PeptideNaturalIsotope(), and getIntensityRatio().