54 Protein(
const QString &description,
const QString &sequence);
61 const QString &getSequence()
const;
63 void setSequence(
const QString &sequence);
65 const QString &getAccession()
const;
67 virtual void setAccession(
const QString &accession);
69 const QString &getDescription()
const;
71 void setDescription(
const QString &description);
75 Protein &removeTranslationStop();
83 unsigned int size()
const;
98 unsigned int m_length = 0;
QString m_sequence
the amino acid sequence
static QRegularExpression m_removeTranslationStopRegExp
QString m_accession
a single unique identifier of the protein (usually the first word of description)
QString m_description
free text to describe the protein
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
double pappso_double
A type definition for doubles.
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object
bool operator==(Aa const &l, Aa const &r)
This header contains all the type re-definitions and all the global variables definitions used in the...