73 void rip(std::map<
String, std::pair<std::vector<ProteinIdentification>, std::vector<PeptideIdentification> > > & ripped, std::vector<ProteinIdentification> & proteins, std::vector<PeptideIdentification> & peptides);
86 void getProteinHits_(std::vector<ProteinHit> & result,
const std::vector<ProteinHit> & protein_hits,
const std::vector<String> & protein_accessions);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Ripping protein/peptide identification according their file origin.
Definition: IDRipper.h:54
IDRipper()
Default constructor.
~IDRipper() override
Destructor.
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 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.
void getProteinAccessions_(std::vector< String > &result, const std::vector< PeptideHit > &peptide_hits)
helper function, returns the string representation of the peptide hit accession
IDRipper(const IDRipper &rhs)
Copy constructor.
IDRipper & operator=(const IDRipper &rhs)
Assignment.
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...
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Representation of a protein identification run.
Definition: ProteinIdentification.h:72
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47