Ripping protein/peptide identification according their file origin. More...
#include <OpenMS/ANALYSIS/ID/IDRipper.h>
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. | |
| IDRipper & | operator= (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 | |
Ripping protein/peptide identification according their file origin.
Helper class, which is used by ProteinQuantifier. See there for further documentation.
| IDRipper | ( | ) |
Default constructor.
| virtual ~IDRipper | ( | ) | [virtual] |
Desctructor.
| 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
| 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.
| 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 |