41 std::pair<char, AaModificationP>(aa, modification));
48 const QString &peptide_str,
51 unsigned int missed_cleavage_number,
55 qDebug() <<
"PeptideBuilder::setPeptide begin";
61 std::vector<unsigned int> position_list =
63 for(
auto &&position : position_list)
72 qDebug() <<
"PeptideBuilder::setPeptide m_sink->setPeptideSp";
79 missed_cleavage_number,
81 qDebug() <<
"PeptideBuilder::setPeptide end";
std::list< std::pair< char, AaModificationP > > m_fixedModificationList
void setPeptide(std::int8_t sequence_database_id, const ProteinSp &protein_sp, bool is_decoy, const QString &peptide_str, 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
PeptideModificatorInterface * m_sink
virtual ~PeptideBuilder()
void addFixedAaModification(char aa, AaModificationP modification)
virtual void setPeptideSp(std::int8_t sequence_database_id, const ProteinSp &protein_sp, bool is_decoy, const PeptideSp &peptide_sp, unsigned int start, bool is_nter, unsigned int missed_cleavage_number, bool semi_enzyme)=0
function to give the products of modifications for a digested peptide
PeptideSp makePeptideSp() const
std::vector< unsigned int > getAaPositionList(char aa) const
get positions of one amino acid in peptide
void addAaModification(AaModificationP aaModification, unsigned int position)
adds a modification to amino acid sequence
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const Peptide > PeptideSp
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object