libpappsomspp
Library for mass spectrometry
|
collection of integer code for each amino acid 0 => null 1 to 20 => amino acid sorted by there mass (lower to higher). Leucine is replaced by Isoleucine More...
#include <aacode.h>
Public Member Functions | |
AaCode () | |
AaCode (const AaCode &other) | |
~AaCode () | |
uint8_t | getAaCode (char aa_letter) const |
const Aa & | getAa (char aa_letter) const |
const Aa & | getAa (uint8_t aa_code) const |
double | getMass (uint8_t aa_code) const |
void | addAaModification (char aa_letter, AaModificationP aaModification) |
std::size_t | getSize () const |
Private Member Functions | |
void | updateNumbers () |
give a number (the code) to each amino acid sorted by mass More... | |
void | updateMass () |
update mass cache More... | |
Private Attributes | |
std::vector< uint8_t > | m_asciiTable |
std::vector< Aa > | m_aaCollection |
std::vector< double > | m_massCollection |
collection of integer code for each amino acid 0 => null 1 to 20 => amino acid sorted by there mass (lower to higher). Leucine is replaced by Isoleucine
AaCode::AaCode | ( | ) |
Default constructor
Definition at line 34 of file aacode.cpp.
References m_aaCollection, m_asciiTable, and updateNumbers().
pappso::AaCode::AaCode | ( | const AaCode & | other | ) |
Default copy constructor
Definition at line 61 of file aacode.cpp.
References m_aaCollection, and m_asciiTable.
AaCode::~AaCode | ( | ) |
void pappso::AaCode::addAaModification | ( | char | aa_letter, |
pappso::AaModificationP | aaModification | ||
) |
Definition at line 127 of file aacode.cpp.
const pappso::Aa & pappso::AaCode::getAa | ( | char | aa_letter | ) | const |
Definition at line 89 of file aacode.cpp.
const pappso::Aa & pappso::AaCode::getAa | ( | uint8_t | aa_code | ) | const |
Definition at line 109 of file aacode.cpp.
uint8_t pappso::AaCode::getAaCode | ( | char | aa_letter | ) | const |
Definition at line 81 of file aacode.cpp.
Referenced by pappso::ProteinIntegerCode::ProteinIntegerCode().
double pappso::AaCode::getMass | ( | uint8_t | aa_code | ) | const |
Definition at line 186 of file aacode.cpp.
std::size_t pappso::AaCode::getSize | ( | ) | const |
Definition at line 74 of file aacode.cpp.
Referenced by pappso::AaStringCodec::AaStringCodec(), and pappso::AaStringCodeMassMatching::AaStringCodeMassMatching().
|
private |
update mass cache
Definition at line 174 of file aacode.cpp.
|
private |
give a number (the code) to each amino acid sorted by mass
Definition at line 153 of file aacode.cpp.
Referenced by AaCode().
|
private |
|
private |
|
private |