84 void apply_(std::vector<PeptideIdentification>& ids,
85 const std::map<String, String>& se_info,
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
Abstract base class for ConsensusID algorithms that take peptide similarity into account.
Definition: ConsensusIDAlgorithmSimilarity.h:56
SimilarityCache similarities_
Cache for already computed sequence similarities.
Definition: ConsensusIDAlgorithmSimilarity.h:65
std::map< std::pair< AASequence, AASequence >, double > SimilarityCache
Mapping: pair of peptide sequences -> sequence similarity.
Definition: ConsensusIDAlgorithmSimilarity.h:62
virtual double getSimilarity_(AASequence seq1, AASequence seq2)=0
Sequence similarity calculation (to be implemented by subclasses).
void apply_(std::vector< PeptideIdentification > &ids, const std::map< String, String > &se_info, SequenceGrouping &results) override
Consensus scoring.
ConsensusIDAlgorithmSimilarity(const ConsensusIDAlgorithmSimilarity &)
Not implemented.
ConsensusIDAlgorithmSimilarity & operator=(const ConsensusIDAlgorithmSimilarity &)
Not implemented.
ConsensusIDAlgorithmSimilarity()
Default constructor.
Abstract base class for all ConsensusID algorithms (that calculate a consensus from multiple ID runs)...
Definition: ConsensusIDAlgorithm.h:60
std::map< AASequence, HitInfo > SequenceGrouping
Mapping: peptide sequence -> (charge, scores)
Definition: ConsensusIDAlgorithm.h:97
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48