libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
37 #include "../exportinmportconfig.h"
60 unsigned int m_length = 0;
66 Protein(
const QString &description,
const QString &sequence);
73 const QString &getSequence()
const;
75 void setSequence(
const QString &sequence);
77 const QString &getAccession()
const;
79 virtual void setAccession(
const QString &accession);
81 const QString &getDescription()
const;
83 void setDescription(
const QString &description);
87 Protein &removeTranslationStop();
95 unsigned int size()
const;
double pappso_double
A type definition for doubles.
static QRegExp m_removeTranslationStopRegExp
tries to keep as much as possible monoisotopes, removing any possible C13 peaks
bool operator==(Aa const &l, Aa const &r)
QString m_description
free text to describe the protein
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object
QString m_sequence
the amino acid sequence
QString m_accession
a single unique identifier of the protein (usually the first word of description)