libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
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 =
62 peptide.getAaPositionList(aamod_pair.first);
63 for(
auto &&position : position_list)
65 peptide.addAaModification(aamod_pair.second, position);
69 PeptideSp peptide_sp = peptide.makePeptideSp();
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
void addFixedAaModification(char aa, AaModificationP modification)
virtual ~PeptideBuilder()
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object
const typedef AaModification * AaModificationP
std::shared_ptr< const Peptide > PeptideSp
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
PeptideModificatorInterface * m_sink