|
libpappsomspp
Library for mass spectrometry
|
#include <protein.h>
Public Member Functions | |
| Protein () | |
| Protein (const QString &description, const QString &sequence) | |
| Protein (const Protein &protein) | |
| ProteinSp | makeProteinSp () const |
| bool | operator== (const Protein &other) const |
| ~Protein () | |
| const QString & | getSequence () const |
| void | setSequence (const QString &sequence) |
| const QString & | getAccession () const |
| virtual void | setAccession (const QString &accession) |
| const QString & | getDescription () const |
| void | setDescription (const QString &description) |
| Protein & | removeTranslationStop () |
| remove * characters at the end of the sequence More... | |
| Protein & | reverse () |
| reverse characters in the sequence More... | |
| unsigned int | size () const |
| protein amino acid sequence size More... | |
| pappso_double | getMass () const |
| get monoisotopic mass of ProteinSp Protein::makeProteinSp() const More... | |
Private Attributes | |
| QString | m_description |
| free text to describe the protein More... | |
| QString | m_accession |
| a single unique identifier of the protein (usually the first word of description) More... | |
| QString | m_sequence |
| the amino acid sequence More... | |
| unsigned int | m_length = 0 |
| number of amino acid More... | |
Static Private Attributes | |
| static QRegExp | m_removeTranslationStopRegExp |
| pappso::Protein::Protein | ( | ) |
Definition at line 83 of file protein.cpp.
References m_removeTranslationStopRegExp, and m_sequence.
| pappso::Protein::Protein | ( | const QString & | description, |
| const QString & | sequence | ||
| ) |
Definition at line 86 of file protein.cpp.
| pappso::Protein::Protein | ( | const Protein & | protein | ) |
Definition at line 95 of file protein.cpp.
| pappso::Protein::~Protein | ( | ) |
Definition at line 167 of file protein.cpp.
| const QString & pappso::Protein::getAccession | ( | ) | const |
Definition at line 148 of file protein.cpp.
| const QString & pappso::Protein::getDescription | ( | ) | const |
Definition at line 158 of file protein.cpp.
| pappso_double pappso::Protein::getMass | ( | ) | const |
get monoisotopic mass of ProteinSp Protein::makeProteinSp() const
Definition at line 171 of file protein.cpp.
| const QString & pappso::Protein::getSequence | ( | ) | const |
Definition at line 143 of file protein.cpp.
References m_description.
| ProteinSp pappso::Protein::makeProteinSp | ( | ) | const |
Definition at line 118 of file protein.cpp.
| bool pappso::Protein::operator== | ( | const Protein & | other | ) | const |
Definition at line 125 of file protein.cpp.
| Protein & pappso::Protein::removeTranslationStop | ( | ) |
remove * characters at the end of the sequence
Definition at line 104 of file protein.cpp.
References m_accession.
| Protein & pappso::Protein::reverse | ( | ) |
reverse characters in the sequence
Definition at line 111 of file protein.cpp.
References m_length, and m_sequence.
|
virtual |
Definition at line 153 of file protein.cpp.
| void pappso::Protein::setDescription | ( | const QString & | description | ) |
Definition at line 163 of file protein.cpp.
| void pappso::Protein::setSequence | ( | const QString & | sequence | ) |
Definition at line 131 of file protein.cpp.
References m_accession.
| unsigned int pappso::Protein::size | ( | ) | const |
protein amino acid sequence size
Definition at line 137 of file protein.cpp.
References m_description.
|
private |
a single unique identifier of the protein (usually the first word of description)
Definition at line 77 of file protein.h.
Referenced by removeTranslationStop(), and setSequence().
|
private |
free text to describe the protein
Definition at line 74 of file protein.h.
Referenced by getSequence(), and size().
|
private |
|
staticprivate |
|
private |