60 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:106
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:58
std::map< UInt32, UInt32 > MapU32
Definition: MissedCleavages.h:60
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 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:65
Class for the enzymatic digestion of proteins represented as AASequence or String.
Definition: ProteaseDigestion.h:60
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:55
A more convenient string class.
Definition: String.h:60
OPENMS_UINT32_TYPE UInt32
Unsigned integer type (32bit)
Definition: Types.h:63
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48