libpappsomspp
Library for mass spectrometry
|
#include <aabase.h>
Public Member Functions | |
virtual pappso_double | getMass () const |
virtual const char & | getLetter () const |
const Enums::AminoAcidChar & | getAminoAcidChar () const |
virtual void | replaceLeucineIsoleucine () |
![]() | |
virtual const ChemicalFormula | getChemicalFormula () const |
Static Public Member Functions | |
static const std::vector< Enums::AminoAcidChar > & | getAminoAcidCharList () |
Protected Member Functions | |
AaBase (char aa_letter) | |
AaBase (Enums::AminoAcidChar aa_char) | |
AaBase (const AaBase &aabase) | |
virtual | ~AaBase () |
virtual int | getNumberOfAtom (Enums::AtomIsotopeSurvey atom) const override |
get the number of atom C, O, N, H in the molecule | |
int | getNumberOfIsotope (Enums::Isotope isotope) const override |
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule | |
Static Protected Member Functions | |
static pappso_double | getAaMass (char aa_letter) |
Protected Attributes | |
char | m_aaLetter |
Private Types | |
using | AaMassMap = std::map<char, pappso_double> |
using | AaIntMap = std::map<char, unsigned int> |
using | AminoAcidCharList = std::vector<Enums::AminoAcidChar> |
Static Private Attributes | |
static AaMassMap | m_aaMassMap |
static AaIntMap | m_aaNumberOfCarbonMap |
static AaIntMap | m_aaNumberOfSulfurMap |
static AaIntMap | m_aaNumberOfHydrogenMap |
static AaIntMap | m_aaNumberOfNitrogenMap |
static AaIntMap | m_aaNumberOfOxygenMap |
static AminoAcidCharList | m_aminoAcidCharList |
Friends | |
class | AaModification |
|
private |
|
private |
|
private |
|
protected |
Definition at line 43 of file aabase.cpp.
References m_aaLetter, and m_aaMassMap.
Referenced by pappso::Aa::Aa(), pappso::Aa::Aa(), pappso::Aa::Aa(), pappso::Aa::Aa(), AaBase(), and AaModification.
|
protected |
Definition at line 66 of file aabase.cpp.
References m_aaLetter.
|
protected |
Definition at line 71 of file aabase.cpp.
References AaBase(), and m_aaLetter.
|
protectedvirtual |
Definition at line 75 of file aabase.cpp.
|
staticprotected |
const Enums::AminoAcidChar & pappso::AaBase::getAminoAcidChar | ( | ) | const |
Definition at line 409 of file aabase.cpp.
References m_aaLetter.
Referenced by AaModification, and pappso::PeptideProFormaParser::parseStringToPeptide().
|
static |
Definition at line 415 of file aabase.cpp.
References m_aminoAcidCharList.
Referenced by AaModification.
|
virtual |
Definition at line 403 of file aabase.cpp.
References m_aaLetter.
Referenced by AaModification, pappso::specglob::PeptideModel::checkForAaModification(), pappso::specglob::PeptideModel::checkForMutation(), pappso::AaModification::createInstanceMutation(), pappso::Aa::toAbsoluteString(), pappso::Aa::toProForma(), and pappso::Aa::toString().
|
virtual |
Reimplemented in pappso::Aa.
Definition at line 356 of file aabase.cpp.
References m_aaLetter, and m_aaMassMap.
Referenced by AaModification, and pappso::Aa::getMass().
|
overrideprotectedvirtual |
get the number of atom C, O, N, H in the molecule
Implements pappso::AtomNumberInterface.
Reimplemented in pappso::Aa.
Definition at line 363 of file aabase.cpp.
References pappso::Enums::C, pappso::Enums::H, m_aaLetter, m_aaNumberOfCarbonMap, m_aaNumberOfHydrogenMap, m_aaNumberOfNitrogenMap, m_aaNumberOfOxygenMap, m_aaNumberOfSulfurMap, pappso::Enums::N, pappso::Enums::O, and pappso::Enums::S.
Referenced by AaModification, and pappso::Aa::getNumberOfAtom().
|
overrideprotectedvirtual |
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 396 of file aabase.cpp.
Referenced by AaModification.
|
virtual |
|
friend |
Definition at line 45 of file aabase.h.
References AaBase(), AaModification, getAaMass(), getAminoAcidChar(), getAminoAcidCharList(), getLetter(), getMass(), getNumberOfAtom(), getNumberOfIsotope(), and replaceLeucineIsoleucine().
Referenced by AaModification.
|
protected |
Definition at line 68 of file aabase.h.
Referenced by AaBase(), AaBase(), AaBase(), getAminoAcidChar(), getLetter(), getMass(), getNumberOfAtom(), pappso::Aa::isAaEqual(), pappso::Aa::isLesser(), pappso::Aa::operator=(), and replaceLeucineIsoleucine().
|
staticprivate |
Definition at line 75 of file aabase.h.
Referenced by AaBase(), getAaMass(), and getMass().
|
staticprivate |
Definition at line 76 of file aabase.h.
Referenced by getNumberOfAtom().
|
staticprivate |
Definition at line 78 of file aabase.h.
Referenced by getNumberOfAtom().
|
staticprivate |
Definition at line 79 of file aabase.h.
Referenced by getNumberOfAtom().
|
staticprivate |
Definition at line 80 of file aabase.h.
Referenced by getNumberOfAtom().
|
staticprivate |
Definition at line 77 of file aabase.h.
Referenced by getNumberOfAtom().
|
staticprivate |
Definition at line 81 of file aabase.h.
Referenced by getAminoAcidCharList().