86 void run(std::vector<PeptideIdentification>& pep_ids, std::vector<ProteinIdentification>& prot_ids)
const;
116 std::unordered_map<std::string, std::pair<ProteinHit*, Size>>& acc_to_protein_hitP_and_count,
117 SequenceToChargeToPSM& best_pep,
119 std::vector<PeptideIdentification>& pep_ids)
const;
129 void aggregatePeptideScores_(
130 SequenceToChargeToPSM& best_pep,
131 std::vector<PeptideIdentification>& pep_ids,
132 const String& overall_score_type,
134 const std::string& run_id)
const;
144 void updateProteinScores_(
145 std::unordered_map<std::string, std::pair<ProteinHit*, Size>>& acc_to_protein_hitP_and_count,
146 const SequenceToChargeToPSM& best_pep,
148 bool higher_better)
const;
151 AggregationMethod aggFromString_(
const std::string& method_string)
const;
157 const AggregationMethod& aggregation_method
161 double getInitScoreForAggMethod_(
const AggregationMethod& aggregation_method,
bool higher_better)
const;
Representation of a protein identification run.
Definition: ProteinIdentification.h:74
std::unordered_map< std::string, std::map< Int, PeptideHit * > > SequenceToChargeToPSM
Definition: BasicProteinInferenceAlgorithm.h:66
A more convenient string class.
Definition: String.h:58
A container for consensus elements.
Definition: ConsensusMap.h:83
Algorithm class that implements simple protein inference by aggregation of peptide scores...
Definition: BasicProteinInferenceAlgorithm.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
AggregationMethod
The aggregation method.
Definition: BasicProteinInferenceAlgorithm.h:71
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92