OpenMS  2.4.0
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
PeptideIndexing::FoundProteinFunctor Struct Reference

#include <OpenMS/ANALYSIS/ID/PeptideIndexing.h>

Public Types

typedef std::map< OpenMS::Size, std::set< PeptideProteinMatchInformation > > MapType
 

Public Member Functions

 FoundProteinFunctor (const ProteaseDigestion &enzyme)
 
void merge (FoundProteinFunctor &other)
 
void addHit (const OpenMS::Size idx_pep, const OpenMS::Size idx_prot, const OpenMS::Size len_pep, const OpenMS::String &seq_prot, OpenMS::Int position)
 

Public Attributes

MapType pep_to_prot
 peptide index –> protein indices More...
 
OpenMS::Size filter_passed
 number of accepted hits (passing addHit() constraints) More...
 
OpenMS::Size filter_rejected
 number of rejected hits (not passing addHit()) More...
 

Private Attributes

ProteaseDigestion enzyme_
 

Member Typedef Documentation

◆ MapType

typedef std::map<OpenMS::Size, std::set<PeptideProteinMatchInformation> > MapType

Constructor & Destructor Documentation

◆ FoundProteinFunctor()

FoundProteinFunctor ( const ProteaseDigestion enzyme)
inlineexplicit

Member Function Documentation

◆ addHit()

void addHit ( const OpenMS::Size  idx_pep,
const OpenMS::Size  idx_prot,
const OpenMS::Size  len_pep,
const OpenMS::String seq_prot,
OpenMS::Int  position 
)
inline

◆ merge()

void merge ( FoundProteinFunctor other)
inline

Member Data Documentation

◆ enzyme_

ProteaseDigestion enzyme_
private

◆ filter_passed

OpenMS::Size filter_passed

number of accepted hits (passing addHit() constraints)

Referenced by PeptideIndexing::FoundProteinFunctor::merge(), and PeptideIndexing::run().

◆ filter_rejected

OpenMS::Size filter_rejected

number of rejected hits (not passing addHit())

Referenced by PeptideIndexing::FoundProteinFunctor::merge(), and PeptideIndexing::run().

◆ pep_to_prot

MapType pep_to_prot

peptide index –> protein indices

Referenced by PeptideIndexing::FoundProteinFunctor::merge(), and PeptideIndexing::run().