30#include "../amino_acid/atomnumberinterface.h"
31#include "../amino_acid/chemicalformula.h"
39class PeptideInterface;
57 virtual const QString getSequenceLi()
const;
59 virtual unsigned int size()
const = 0;
63 return QString(
"unknown");
66 virtual const ChemicalFormula getChemicalFormulaCharge(
unsigned int charge)
const;
67 virtual const QString getFormula(
unsigned int charge)
const final;
75 return (
MzRange((getMass() + (
MHPLUS * charge)) / charge, precision).contains(peak_mz));
virtual const QString getName() const
virtual const QString getSequence() const =0
amino acid sequence without modification
virtual bool matchPeak(PrecisionPtr precision, pappso_double peak_mz, unsigned int charge) const final
tells if the peptide m/z matches a given experimental mass
virtual bool isPalindrome() const =0
tells if the peptide sequence is a palindrome
virtual unsigned int size() const =0
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const PeptideInterface > PeptideInterfaceSp
const pappso_double MHPLUS(1.007276466879)
double pappso_double
A type definition for doubles.