26 #include "../exception/exceptionnotpossible.h"
42 const QString &peptide,
45 unsigned int missed_cleavage_number,
58 QObject::tr(
"ERROR : semi_ensyme flag is true.\n This is not possible, "
59 "because only PeptideSemiEnzyme is autorized to set it "
60 "true, and this can not be used several times."));
69 missed_cleavage_number,
71 unsigned int max = peptide.size();
73 for(
unsigned int i = 1; i <
max; i++)
81 missed_cleavage_number,
89 missed_cleavage_number,
virtual void setPeptide(std::int8_t sequence_database_id, const ProteinSp &protein_sp, bool is_decoy, const PeptideStr &peptide, unsigned int start, bool is_nter, unsigned int missed_cleavage_number, bool semi_enzyme)=0
function to give the products of a protein digestion by an enzyme
void setPeptide(std::int8_t sequence_database_id, const ProteinSp &protein_sp, bool is_decoy, const QString &peptide, unsigned int start, bool is_nter, unsigned int missed_cleavage_number, bool semi_enzyme) override
function to give the products of a protein digestion by an enzyme
virtual ~PeptideSemiEnzyme()
EnzymeProductInterface * m_sink
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object
@ max
maximum of intensities