61 typedef std::map<UInt32, UInt32>
MapU32;
81 void compute(std::vector<ProteinIdentification>& prot_ids, std::vector<PeptideIdentification>& pep_ids);
87 const std::vector<std::map<UInt32, UInt32>>&
getResults()
const;
A container for features.
Definition: FeatureMap.h:105
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:54
This class is a metric for the QualityControl TOPP Tool.
Definition: MissedCleavages.h:59
std::map< UInt32, UInt32 > MapU32
Definition: MissedCleavages.h:61
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:97
virtual ~MissedCleavages()=default
destructor
void compute(FeatureMap &fmap)
Counts the number of MissedCleavages per PeptideIdentification.
const String & getName() const override
returns the name of the metric
QCBase::Status requires() 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 #missed_cleavages –> 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:65
Class for the enzymatic digestion of proteins.
Definition: ProteaseDigestion.h:61
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:55
A more convenient string class.
Definition: String.h:61
OPENMS_UINT32_TYPE UInt32
Unsigned integer type (32bit)
Definition: Types.h:63
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47