|
OpenMS
2.5.0
|
Go to the documentation of this file.
42 #include <unordered_map>
47 class ResidueModification;
85 static bool isInstantiated();
90 Size getNumberOfModifications()
const;
105 void searchModifications(std::set<const ResidueModification*>& mods,
107 const String& residue =
"",
125 bool& multiple_matches,
126 const String& residue =
"",
145 bool has(
String modification)
const;
161 Size findModificationIndex(
const String& mod_name)
const;
194 void getAllSearchModifications(std::vector<String>& modifications)
const;
202 std::vector<ResidueModification*>
mods_;
255 void readFromOBOFile(
const String& filename);
258 void readFromUnimodXMLFile(
const String& filename);
std::unordered_map< String, std::set< const ResidueModification * > > modification_names_
Stores the mappings of (unique) names to the modifications.
Definition: ModificationsDB.h:205
Representation of a modification.
Definition: ResidueModification.h:76
A more convenient string class.
Definition: String.h:58
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
static bool is_instantiated_
Stores whether ModificationsDB was instantiated before.
Definition: ModificationsDB.h:199
database which holds all residue modifications from UniMod
Definition: ModificationsDB.h:74
Definition: ResidueModification.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
TermSpecificity
Position where the modification is allowed to occur.
Definition: ResidueModification.h:95
Definition: CrossLinksDB.h:41
std::vector< ResidueModification * > mods_
Stores the modifications.
Definition: ModificationsDB.h:202