OpenMS
Loading...
Searching...
No Matches
ConsensusIDAlgorithmIdentity.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Hendrik Weisser $
6// $Authors: Andreas Bertsch, Marc Sturm, Sven Nahnsen, Hendrik Weisser $
7// --------------------------------------------------------------------------
8
9#pragma once
10
13
14namespace OpenMS
15{
27 class OPENMS_DLLAPI ConsensusIDAlgorithmIdentity :
29 {
30 protected:
33
44
53 virtual double getAggregateScore_(std::vector<double>& scores,
54 bool higher_better) = 0;
55
56 private:
59
62
65 const std::map<String, String>& se_info,
66 SequenceGrouping& results) override;
67 };
68
69} // namespace OpenMS
70
Abstract base class for ConsensusID algorithms that compare only identical sequences.
Definition ConsensusIDAlgorithmIdentity.h:29
void apply_(PeptideIdentificationList &ids, const std::map< String, String > &se_info, SequenceGrouping &results) override
Consensus scoring.
virtual double getAggregateScore_(std::vector< double > &scores, bool higher_better)=0
Aggregate peptide scores into one final score (to be implemented by subclasses).
ConsensusIDAlgorithmIdentity & operator=(const ConsensusIDAlgorithmIdentity &)
Not implemented.
ConsensusIDAlgorithmIdentity(const ConsensusIDAlgorithmIdentity &)
Not implemented.
virtual void preprocess_(PeptideIdentificationList &ids)
Preprocessing of peptide IDs (in the beginning of "apply_").
ConsensusIDAlgorithmIdentity()
Default constructor.
Abstract base class for all ConsensusID algorithms (that calculate a consensus from multiple ID runs)...
Definition ConsensusIDAlgorithm.h:35
std::map< AASequence, HitInfo > SequenceGrouping
Mapping: peptide sequence -> (charge, scores)
Definition ConsensusIDAlgorithm.h:72
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19