11#include <OpenMS/config.h>
20 class PeptideIdentification;
21 class PeptideIdentificationList;
22 class ProteinIdentification;
41 static void check(
const std::vector<ProteinIdentification>& runs,
const std::string& identifier);
51 static void check(
const std::vector<ProteinIdentification>& runs,
const std::vector<const PeptideIdentification*>& peptides);
A container for consensus elements.
Definition ConsensusMap.h:67
A container for features.
Definition FeatureMap.h:78
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Checks that every peptide identification references an existing protein identification run.
Definition ProteinRunReferences.h:35
static void check(const std::vector< ProteinIdentification > &runs, const std::vector< const PeptideIdentification * > &peptides)
Same as above, for peptide identifications given by pointers.
static void check(const ConsensusMap &map)
Same as above, for the peptide identifications of all consensus features and the unassigned ones.
static void check(const std::vector< ProteinIdentification > &runs, const std::string &identifier)
Throws Exception::InvalidParameter (with missingRunMessage()) if the identifier names none of the run...
static std::string missingRunMessage(const std::string &identifier)
The error message for a peptide identification whose identifier names no protein identification run.
static void checkProteinAccessions(const ConsensusMap &map)
Same as above, for the peptide identifications of all consensus features and the unassigned ones.
static void check(const FeatureMap &map)
Same as above, for the peptide identifications of all features (including subordinates) and the unass...
static void check(const std::vector< ProteinIdentification > &runs, const PeptideIdentificationList &peptides)
Throws Exception::InvalidParameter if a peptide identification names no protein identification run.
static void checkProteinAccessions(const FeatureMap &map)
Throws Exception::ElementNotFound if a peptide evidence names a protein that is no protein hit of its...
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19