39 #include <boost/multi_index_container.hpp> 40 #include <boost/multi_index/ordered_index.hpp> 41 #include <boost/multi_index/member.hpp> 45 namespace IdentificationDataInternal
89 OPENMS_PRETTY_FUNCTION,
90 "Trying to overwrite ParentSequence sequence '" +
sequence +
"' with conflicting value.",
101 OPENMS_PRETTY_FUNCTION,
102 "Trying to overwrite ParentSequence description '" +
description +
"' with conflicting value.",
115 typedef boost::multi_index_container<
117 boost::multi_index::indexed_by<
118 boost::multi_index::ordered_unique<boost::multi_index::member<
double coverage
sequence coverage as a fraction between 0 and 1
Definition: ParentSequence.h:61
ParentSequence(const String &accession, MoleculeType molecule_type=MoleculeType::PROTEIN, const String &sequence="", const String &description="", double coverage=0.0, bool is_decoy=false, const AppliedProcessingSteps &steps_and_scores=AppliedProcessingSteps())
Definition: ParentSequence.h:65
A more convenient string class.
Definition: String.h:58
MoleculeType
Definition: MetaData.h:65
bool is_decoy
Definition: ParentSequence.h:63
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:133
AppliedProcessingSteps steps_and_scores
Definition: ScoredProcessingResult.h:46
Representation of a parent sequence that is identified only indirectly (e.g. a protein).
Definition: ParentSequence.h:49
ScoredProcessingResult & merge(const ScoredProcessingResult &other)
Merge in data from another object.
Definition: ScoredProcessingResult.h:107
String sequence
Definition: ParentSequence.h:57
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
boost::multi_index_container< ParentSequence, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::member< ParentSequence, String, &ParentSequence::accession > > > > ParentSequences
Definition: ParentSequence.h:120
IteratorWrapper< ParentSequences::iterator > ParentSequenceRef
Definition: ParentSequence.h:121
enum MoleculeType molecule_type
Definition: ParentSequence.h:53
String accession
Definition: ParentSequence.h:51
Definition: MetaData.h:67
ParentSequence & merge(const ParentSequence &other)
Definition: ParentSequence.h:79
Invalid value exception.
Definition: Exception.h:327
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:44
String description
Definition: ParentSequence.h:59
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:45