79 const Aa &
getAa(
char aa_letter)
const;
83 const Aa &
getAa(uint8_t aa_code)
const;
89 double getMass(uint8_t aa_code)
const;
90 double getMass(
char aa_letter)
const;
void updateNumbers()
give a number (the code) to each amino acid sorted by mass
void addAaModification(char aa_letter, AaModificationP aaModification)
add a modification on an amino acid for example carbamido on C
std::vector< double > m_massCollection
std::vector< uint8_t > m_asciiTable
void updateMass()
update mass cache
uint8_t getAaCodeByMass(double mass, PrecisionPtr precision) const
get the integer code of an amino acid given a mass and a precision
const std::vector< Aa > & getAaCollection() const
uint8_t getAaCode(char aa_letter) const
get the integer code of an amino acid with the one letter code
double getMass(uint8_t aa_code) const
get the mass of the amino acid given its integer code the amino acid can bear some modification (if a...
std::size_t getSize() const
std::vector< Aa > m_aaCollection
const Aa & getAa(char aa_letter) const
get the Aa object from the one letter code
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
const AaModification * AaModificationP
const PrecisionBase * PrecisionPtr