27 const QString &sequence,
39 aa.mass = aa_code.
getMass(aa.code);
44 std::reverse(begin(), end());
74 std::vector<SpOMSAa> aa_vec;
76 for(std::size_t i = 0; i < length; i++)
78 aa_vec.push_back(at(i + position));
collection of integer code for each amino acid 0 => null 1 to 20 => amino acid sorted by there mass (...
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...
const QString & getSequence() const
SpOMSProtein(const QString &description, const QString &sequence, const AaCode &aa_code)
const QString & getCompleteDescription() const
const QString getAccession() const
std::vector< SpOMSAa > sliced(std::size_t position, std::size_t length) const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...