|
OpenMS
2.6.0
|
Go to the documentation of this file.
43 #include <unordered_map>
48 class ResidueModification;
86 static bool isInstantiated();
91 Size getNumberOfModifications()
const;
106 void searchModifications(std::set<const ResidueModification*>& mods,
108 const String& residue =
"",
126 bool& multiple_matches,
127 const String& residue =
"",
146 bool has(
const String& modification)
const;
165 Size findModificationIndex(
const String& mod_name)
const;
199 void getAllSearchModifications(std::vector<String>& modifications)
const;
207 std::vector<ResidueModification*>
mods_;
260 void readFromOBOFile(
const String& filename);
263 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:210
Representation of a modification.
Definition: ResidueModification.h:76
A more convenient string class.
Definition: String.h:59
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:204
database which holds all residue modifications from UniMod
Definition: ModificationsDB.h:75
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:207