Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Member Functions

IDRipper Class Reference
[Identification]

Ripping protein/peptide identification according their file origin. More...

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

Inheritance diagram for IDRipper:
DefaultParamHandler

List of all members.

Public Member Functions

 IDRipper ()
 Default constructor.
virtual ~IDRipper ()
 Desctructor.
void rip (std::map< String, std::pair< std::vector< ProteinIdentification >, std::vector< PeptideIdentification > > > &ripped, std::vector< ProteinIdentification > &proteins, std::vector< PeptideIdentification > &peptides)
 Ripping protein/peptide identification according their file origin.

Private Member Functions

 IDRipper (const IDRipper &rhs)
 Copy constructor.
IDRipperoperator= (const IDRipper &rhs)
 Assignment.
void getProteinHits_ (std::vector< ProteinHit > &result, const std::vector< ProteinHit > &protein_hits, const std::vector< String > &protein_accessions)
 helper function, extracts all protein hits that match the protein accession
void getProteinAccessions_ (std::vector< String > &result, const std::vector< PeptideHit > &peptide_hits)
 helper function, returns the string representation of the peptide hit accession
void getProteinIdentification_ (ProteinIdentification &result, PeptideIdentification pep_ident, std::vector< ProteinIdentification > &prot_idents)
 helper function, returns the protein identification for the given peptide identification based on the same identifier

Detailed Description

Ripping protein/peptide identification according their file origin.

Helper class, which is used by ProteinQuantifier. See there for further documentation.


Constructor & Destructor Documentation

IDRipper (  ) 

Default constructor.

virtual ~IDRipper (  )  [virtual]

Desctructor.

IDRipper ( const IDRipper rhs  )  [private]

Copy constructor.


Member Function Documentation

void getProteinAccessions_ ( std::vector< String > &  result,
const std::vector< PeptideHit > &  peptide_hits 
) [private]

helper function, returns the string representation of the peptide hit accession

void getProteinHits_ ( std::vector< ProteinHit > &  result,
const std::vector< ProteinHit > &  protein_hits,
const std::vector< String > &  protein_accessions 
) [private]

helper function, extracts all protein hits that match the protein accession

void getProteinIdentification_ ( ProteinIdentification result,
PeptideIdentification  pep_ident,
std::vector< ProteinIdentification > &  prot_idents 
) [private]

helper function, returns the protein identification for the given peptide identification based on the same identifier

IDRipper& operator= ( const IDRipper rhs  )  [private]

Assignment.

void rip ( std::map< String, std::pair< std::vector< ProteinIdentification >, std::vector< PeptideIdentification > > > &  ripped,
std::vector< ProteinIdentification > &  proteins,
std::vector< PeptideIdentification > &  peptides 
)

Ripping protein/peptide identification according their file origin.

Iteration over all PeptideIdentification. For each annotated file origin create a map entry and store the respective PeptideIdentification and ProteinIdentification.

Parameters:
ripped Contains the protein identification and peptide identification for each file origin annotated in proteins and peptides
proteins Peptide identification annotated with file origin
peptides Protein identification

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:49 using doxygen 1.7.1