16 #include <boost/multi_index_container.hpp>
17 #include <boost/multi_index/ordered_index.hpp>
18 #include <boost/multi_index/member.hpp>
22 namespace IdentificationDataInternal
25 template <
typename SeqType>
57 pos->second.insert(pair.second.begin(), pair.second.end());
68 String msg =
"no parent found for identified molecule";
70 OPENMS_PRETTY_FUNCTION, msg);
74 if (!pair.first->is_decoy)
return false;
84 typedef boost::multi_index_container<
86 boost::multi_index::indexed_by<
87 boost::multi_index::ordered_unique<boost::multi_index::member<
93 typedef boost::multi_index_container<
95 boost::multi_index::indexed_by<
96 boost::multi_index::ordered_unique<boost::multi_index::member<
Representation of a peptide/protein sequence.
Definition: AASequence.h:86
Representation of a nucleic acid sequence.
Definition: NASequence.h:34
A more convenient string class.
Definition: String.h:34
IdentifiedSequence< NASequence > IdentifiedOligo
Definition: IdentifiedSequence.h:81
IteratorWrapper< IdentifiedOligos::iterator > IdentifiedOligoRef
Definition: IdentifiedSequence.h:99
IteratorWrapper< IdentifiedPeptides::iterator > IdentifiedPeptideRef
Definition: IdentifiedSequence.h:90
boost::multi_index_container< AppliedProcessingStep, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::ordered_unique< boost::multi_index::member< AppliedProcessingStep, std::optional< ProcessingStepRef >, &AppliedProcessingStep::processing_step_opt > > > > AppliedProcessingSteps
Definition: AppliedProcessingStep.h:107
boost::multi_index_container< IdentifiedPeptide, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::member< IdentifiedPeptide, AASequence, &IdentifiedPeptide::sequence > > > > IdentifiedPeptides
Definition: IdentifiedSequence.h:89
boost::multi_index_container< IdentifiedOligo, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::member< IdentifiedOligo, NASequence, &IdentifiedOligo::sequence > > > > IdentifiedOligos
Definition: IdentifiedSequence.h:98
std::map< ParentSequenceRef, std::set< ParentMatch > > ParentMatches
mapping: parent sequence -> match information
Definition: ParentMatch.h:75
IdentifiedSequence< AASequence > IdentifiedPeptide
Definition: IdentifiedSequence.h:80
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Representation of an identified sequence (peptide or oligonucleotide)
Definition: IdentifiedSequence.h:27
IdentifiedSequence & merge(const IdentifiedSequence &other)
Definition: IdentifiedSequence.h:44
SeqType sequence
Definition: IdentifiedSequence.h:28
IdentifiedSequence(const IdentifiedSequence &other)=default
IdentifiedSequence(const SeqType &sequence, const ParentMatches &parent_matches=ParentMatches(), const AppliedProcessingSteps &steps_and_scores=AppliedProcessingSteps())
Definition: IdentifiedSequence.h:32
ParentMatches parent_matches
Definition: IdentifiedSequence.h:30
bool allParentsAreDecoys() const
Definition: IdentifiedSequence.h:64
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:20
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:19
AppliedProcessingSteps steps_and_scores
Definition: ScoredProcessingResult.h:20
ScoredProcessingResult & merge(const ScoredProcessingResult &other)
Merge in data from another object.
Definition: ScoredProcessingResult.h:81