| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <peptidefixedmodificationbuilder.h>
  
Public Member Functions | |
| PeptideFixedModificationBuilder (AaModificationP p_mod) | |
| virtual | ~PeptideFixedModificationBuilder () | 
| void | setPeptideSp (std::int8_t sequence_database_id, const ProteinSp &protein_sp, bool is_decoy, const PeptideSp &peptide_sp_original, unsigned int start, bool is_nter, unsigned int missed_cleavage_number, bool semi_enzyme) override | 
| function to give the products of modifications for a digested peptide   | |
| void | addAa (char aa) | 
| void | setSink (PeptideModificatorInterface *sink) override | 
| void | setProtNter (bool arg1) | 
| this modification concerns the Nter peptide   | |
| void | setProtCter (bool arg1) | 
| this modification concerns the Cter peptide   | |
| void | setProtElse (bool arg1) | 
| this modification concerns all peptides between Nter and Cter   | |
  Public Member Functions inherited from pappso::PeptideModificatorBase | |
| PeptideModificatorBase () | |
| virtual | ~PeptideModificatorBase () | 
| virtual void | setModificationPattern (QString &pattern) final | 
| set the pattern on which the modification will be applied (usually the list of concerned AA)   | |
  Public Member Functions inherited from pappso::PeptideModificatorInterface | |
| virtual | ~PeptideModificatorInterface () | 
Private Attributes | |
| PeptideModificatorInterface * | m_sink = nullptr | 
| const AaModificationP | mp_mod | 
| bool | m_isProtNterMod = true | 
| bool | m_isProtCterMod = true | 
| bool | m_isProtElseMod = true | 
| QString | m_aaModificationList | 
Additional Inherited Members | |
  Protected Member Functions inherited from pappso::PeptideModificatorBase | |
| virtual void | getModificationPositionList (std::vector< unsigned int > &position_list, const QString &peptide_str) final | 
| virtual void | getModificationPositionList (std::vector< unsigned int > &position_list, const Peptide *p_peptide, AaModificationP mod, unsigned int modification_counter) | 
  Protected Attributes inherited from pappso::PeptideModificatorBase | |
| QRegularExpression | m_pattern | 
Definition at line 33 of file peptidefixedmodificationbuilder.h.
| PeptideFixedModificationBuilder::PeptideFixedModificationBuilder | ( | AaModificationP | p_mod | ) | 
Definition at line 29 of file peptidefixedmodificationbuilder.cpp.
References mp_mod.
      
  | 
  virtual | 
Definition at line 35 of file peptidefixedmodificationbuilder.cpp.
| void PeptideFixedModificationBuilder::addAa | ( | char | aa | ) | 
Definition at line 40 of file peptidefixedmodificationbuilder.cpp.
References m_aaModificationList, and pappso::PeptideModificatorBase::m_pattern.
      
  | 
  overridevirtual | 
function to give the products of modifications for a digested peptide
| sequence_database_id | integer that references the sequence fatabase (file, stream, url...) | 
| protein_sp | shared pointer on the protein that was initialy digested | 
| is_decoy | tell if the current protein is a decoy (true) or normal (false) protein | 
| peptide | Peptide object containing sequence and possible modifications | 
| 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::PeptideModificatorInterface.
Definition at line 51 of file peptidefixedmodificationbuilder.cpp.
References pappso::Peptide::addAaModification(), pappso::PeptideModificatorBase::getModificationPositionList(), pappso::Peptide::getSequence(), m_isProtCterMod, m_isProtElseMod, m_isProtNterMod, m_sink, pappso::Peptide::makePeptideSp(), mp_mod, pappso::Peptide::size(), and pappso::Protein::size().
      
  | 
  inline | 
this modification concerns the Cter peptide
Definition at line 65 of file peptidefixedmodificationbuilder.h.
References m_isProtCterMod.
Referenced by pappso::PeptideModificatorPipeline::parseFixedModification(), and pappso::PeptideModificatorPipeline::parseLabeledModification().
      
  | 
  inline | 
this modification concerns all peptides between Nter and Cter
Definition at line 72 of file peptidefixedmodificationbuilder.h.
References m_isProtElseMod.
Referenced by pappso::PeptideModificatorPipeline::parseFixedModification().
      
  | 
  inline | 
this modification concerns the Nter peptide
Definition at line 58 of file peptidefixedmodificationbuilder.h.
References m_isProtNterMod.
Referenced by pappso::PeptideModificatorPipeline::parseFixedModification(), and pappso::PeptideModificatorPipeline::parseLabeledModification().
      
  | 
  inlineoverridevirtual | 
Implements pappso::PeptideSpSinkInterface.
Definition at line 51 of file peptidefixedmodificationbuilder.h.
References m_sink.
Referenced by pappso::PeptideModificatorPipeline::parseFixedModification(), and pappso::PeptideModificatorPipeline::parseLabeledModification().
      
  | 
  private | 
Definition at line 89 of file peptidefixedmodificationbuilder.h.
Referenced by addAa().
      
  | 
  private | 
Definition at line 85 of file peptidefixedmodificationbuilder.h.
Referenced by setPeptideSp(), and setProtCter().
      
  | 
  private | 
Definition at line 87 of file peptidefixedmodificationbuilder.h.
Referenced by setPeptideSp(), and setProtElse().
      
  | 
  private | 
Definition at line 83 of file peptidefixedmodificationbuilder.h.
Referenced by setPeptideSp(), and setProtNter().
      
  | 
  private | 
Definition at line 78 of file peptidefixedmodificationbuilder.h.
Referenced by setPeptideSp(), and setSink().
      
  | 
  private | 
Definition at line 80 of file peptidefixedmodificationbuilder.h.
Referenced by PeptideFixedModificationBuilder(), and setPeptideSp().