34 typedef std::map<UInt32, UInt32>
MapU32;
55 void compute(std::vector<ProteinIdentification>& prot_ids, std::vector<PeptideIdentification>& pep_ids);
61 const std::vector<std::map<UInt32, UInt32>>&
getResults()
const;
A container for features.
Definition: FeatureMap.h:80
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:28
This class is a metric for the QualityControl TOPP Tool.
Definition: MissedCleavages.h:32
std::map< UInt32, UInt32 > MapU32
Definition: MissedCleavages.h:34
void compute(std::vector< ProteinIdentification > &prot_ids, std::vector< PeptideIdentification > &pep_ids)
std::vector< std::map< UInt32, UInt32 > > mc_result_
container that stores results
Definition: MissedCleavages.h:71
virtual ~MissedCleavages()=default
destructor
void compute(FeatureMap &fmap)
Counts the number of missed cleavages per PeptideIdentification.
const String & getName() const override
returns the name of the metric
QCBase::Status requirements() const override
Returns the input data requirements of the compute(...) function.
MissedCleavages()=default
constructor
const std::vector< std::map< UInt32, UInt32 > > & getResults() const
returns the result as maps of number of missed_cleavages to counts; one map for each call to compute(...
void get_missed_cleavages_from_peptide_identification_(const ProteaseDigestion &digestor, MapU32 &result, const UInt32 &max_mc, PeptideIdentification &pep_id)
collects number of missed cleavages from PeptideIdentification in a result map (missed cleavages: occ...
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:39
Class for the enzymatic digestion of proteins represented as AASequence or String.
Definition: ProteaseDigestion.h:32
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:29
A more convenient string class.
Definition: String.h:34
uint32_t UInt32
Unsigned integer type (32bit)
Definition: Types.h:33
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19