35 #ifndef OPENMS_CHEMISTRY_ENZYMATICDIGESTION_H
36 #define OPENMS_CHEMISTRY_ENZYMATICDIGESTION_H
73 static const std::string NamesOfSpecificity[SIZE_OF_SPECIFICITY];
85 Size getMissedCleavages()
const;
88 void setMissedCleavages(
Size missed_cleavages);
91 String getEnzymeName()
const;
94 void setEnzyme(
const String name);
107 void digest(
const AASequence& protein, std::vector<AASequence>& output)
const;
110 void digestUnmodifiedString(
const StringView sequence, std::vector<StringView>& output,
Size min_length = 1,
Size max_length = 0)
const;
116 bool isValidProduct(
const AASequence& protein,
Size pep_pos,
Size pep_length,
bool methionine_cleavage =
false);
120 std::vector<Size> tokenize_(
const String& sequence)
const;
134 #endif // OPENMS_CHEMISTRY_ENZYMATICDIGESTION_H
Definition: EnzymaticDigestion.h:68
A more convenient string class.
Definition: String.h:57
Definition: EnzymaticDigestion.h:67
Class for the enzymatic digestion of proteins.
Definition: EnzymaticDigestion.h:61
Representation of a peptide/protein sequence.
Definition: AASequence.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: EnzymaticDigestion.h:69
Enzyme enzyme_
Used enzyme.
Definition: EnzymaticDigestion.h:126
Specificity
when querying for valid digestion products, this determines if the specificity of the two peptide end...
Definition: EnzymaticDigestion.h:65
Specificity specificity_
specificity of enzyme
Definition: EnzymaticDigestion.h:129
Size missed_cleavages_
Number of missed cleavages.
Definition: EnzymaticDigestion.h:123
Representation of an enzyme.
Definition: Enzyme.h:56
StringView provides a non-owning view on an existing string.
Definition: String.h:480