|
libpappsomspp
Library for mass spectrometry
|
modelize peptide sequence to facilitate rendering in bracket or proforma More...
#include <peptidemodel.h>
Public Member Functions | |
| PeptideModel () | |
| virtual | ~PeptideModel () |
| void | reset () |
| void | setCterShift (double mass_shift) |
| void | setNterShift (double mass_shift) |
| QString | toProForma () const |
| QString | toInterpretation () const |
| void | setPrecursorMass (double mass) |
| double | getPrecursorMass () const |
| double | getMass () const |
| double | getNonAlignedMass () const |
| Return the difference between the precursor's mass and the mass modelized by the PeptideModel. | |
Static Public Member Functions | |
| static QString | toProFormaMass (double mass) |
Private Attributes | |
| double | m_cterShift = 0 |
| double | m_nterShift = 0 |
| double | m_precursorMass = 0 |
modelize peptide sequence to facilitate rendering in bracket or proforma
Definition at line 55 of file peptidemodel.h.
| pappso::specpeptidoms::PeptideModel::PeptideModel | ( | ) |
|
virtual |
| double pappso::specpeptidoms::PeptideModel::getMass | ( | ) | const |
Definition at line 133 of file peptidemodel.cpp.
References m_cterShift, m_nterShift, and pappso::MASSH2O().
Referenced by getNonAlignedMass(), and toProForma().
| double pappso::specpeptidoms::PeptideModel::getNonAlignedMass | ( | ) | const |
Return the difference between the precursor's mass and the mass modelized by the PeptideModel.
Definition at line 204 of file peptidemodel.cpp.
References getMass(), and getPrecursorMass().
| double pappso::specpeptidoms::PeptideModel::getPrecursorMass | ( | ) | const |
Definition at line 115 of file peptidemodel.cpp.
References m_precursorMass.
Referenced by getNonAlignedMass().
| void pappso::specpeptidoms::PeptideModel::reset | ( | ) |
Definition at line 89 of file peptidemodel.cpp.
References m_cterShift, m_nterShift, and m_precursorMass.
| void pappso::specpeptidoms::PeptideModel::setCterShift | ( | double | mass_shift | ) |
Definition at line 97 of file peptidemodel.cpp.
References m_cterShift.
| void pappso::specpeptidoms::PeptideModel::setNterShift | ( | double | mass_shift | ) |
Definition at line 103 of file peptidemodel.cpp.
References m_nterShift.
| void pappso::specpeptidoms::PeptideModel::setPrecursorMass | ( | double | mass | ) |
Definition at line 109 of file peptidemodel.cpp.
References m_precursorMass.
| QString pappso::specpeptidoms::PeptideModel::toInterpretation | ( | ) | const |
Definition at line 181 of file peptidemodel.cpp.
References m_cterShift, and m_nterShift.
Referenced by pappso::cbor::psm::PsmSpecPeptidOmsScan::sequenceAlignment(), and pappso::cbor::psm::PsmSpecPeptidOmsScan::storeAlignment().
| QString pappso::specpeptidoms::PeptideModel::toProForma | ( | ) | const |
Definition at line 146 of file peptidemodel.cpp.
References getMass(), m_cterShift, m_nterShift, m_precursorMass, and toProFormaMass().
Referenced by pappso::cbor::psm::PsmSpecPeptidOmsScan::storeAlignment().
|
static |
Definition at line 120 of file peptidemodel.cpp.
Referenced by pappso::specpeptidoms::AminoAcidModel::toProForma(), and toProForma().
|
private |
Definition at line 92 of file peptidemodel.h.
Referenced by getMass(), reset(), setCterShift(), toInterpretation(), and toProForma().
|
private |
Definition at line 93 of file peptidemodel.h.
Referenced by getMass(), reset(), setNterShift(), toInterpretation(), and toProForma().
|
private |
Definition at line 94 of file peptidemodel.h.
Referenced by getPrecursorMass(), reset(), setPrecursorMass(), and toProForma().