builds a peptide shared pointer from peptide string and adds fixed modifications
More...
#include <peptidebuilder.h>
builds a peptide shared pointer from peptide string and adds fixed modifications
Definition at line 56 of file peptidebuilder.h.
◆ PeptideBuilder()
pappso::PeptideBuilder::PeptideBuilder |
( |
| ) |
|
◆ ~PeptideBuilder()
pappso::PeptideBuilder::~PeptideBuilder |
( |
| ) |
|
|
virtual |
◆ addFixedAaModification()
void pappso::PeptideBuilder::addFixedAaModification |
( |
char |
aa, |
|
|
AaModificationP |
modification |
|
) |
| |
Definition at line 58 of file peptidebuilder.cpp.
61 std::vector<unsigned int> position_list =
62 peptide.getAaPositionList(aamod_pair.first);
63 for(
auto &&position : position_list)
◆ setPeptide()
void pappso::PeptideBuilder::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 |
|
) |
| |
|
overridevirtual |
function to give the products of a protein digestion by an enzyme
- Parameters
-
sequence_database_id | integer that references the sequence fatabase (file, stream, url...) |
protein_sp | shared pointer on the protein that was digested |
is_decoy | tell if the current protein is a decoy (true) or normal (false) protein |
peptide | amino acid sequence of the peptide (string) produced by the digestion |
start | the position of the first amino acid of the peptide in the original protein sequence. the first amino acid of the protein is at position 1. |
is_nter | boolean to tell if the peptide is an Nter peptide (to allow Methionin Nter removal) |
missed_cleavage_number | number of missed cleavage sites (that the enzyme has not cut) fot the product |
semi_enzyme | boolean that tells if this peptide is the produce of a semi enzymatic lysis |
Implements pappso::EnzymeProductInterface.
Definition at line 66 of file peptidebuilder.cpp.
◆ setSink()
◆ m_fixedModificationList
std::list<std::pair<char, AaModificationP> > pappso::PeptideBuilder::m_fixedModificationList |
|
private |
◆ m_sink
The documentation for this class was generated from the following files: