103 static void run(std::vector<ProteinIdentification>& inferred_protein_id,
114 bool skip_sort =
false);
Container for peptide identifications from multiple spectra.
Definition: PeptideIdentificationList.h:66
Resolves shared peptides based on protein scores.
Definition: PeptideProteinResolution.h:55
std::map< String, Size > prot_acc_to_indist_prot_grp_
Definition: PeptideProteinResolution.h:76
void resolveGraph(ProteinIdentification &protein, PeptideIdentificationList &peptides)
static void resolve(ProteinIdentification &protein, PeptideIdentificationList &peptides, bool resolve_ties, bool targets_first)
void buildGraph(ProteinIdentification &protein, const PeptideIdentificationList &peptides, bool skip_sort=false)
IndexMap_ pep_to_indist_prot_grp_
mapping indist. protein group indices <- peptide identification indices
Definition: PeptideProteinResolution.h:71
ConnectedComponent findConnectedComponent(Size &root_prot_grp)
IndexMap_ indist_prot_grp_to_pep_
if the protein group at index i contains a target (first) and/or decoy (second)
Definition: PeptideProteinResolution.h:69
std::map< Size, std::set< Size > > IndexMap_
Definition: PeptideProteinResolution.h:63
bool statistics_
log debug information?
Definition: PeptideProteinResolution.h:79
static void run(std::vector< ProteinIdentification > &inferred_protein_id, PeptideIdentificationList &inferred_peptide_ids)
void resolveConnectedComponent(ConnectedComponent &conn_comp, ProteinIdentification &protein, PeptideIdentificationList &peptides)
PeptideProteinResolution(bool statistics=false)
Representation of a protein identification run.
Definition: ProteinIdentification.h:51
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition: PeptideProteinResolution.h:24
friend std::ostream & operator<<(std::ostream &os, const ConnectedComponent &conn_comp)
Overloaded operator '<<' for ConnectedComponents.
std::set< Size > pep_indices
Definition: PeptideProteinResolution.h:26
std::set< Size > prot_grp_indices
Definition: PeptideProteinResolution.h:25