 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
43 #include <unordered_map>
86 static bool isInstantiated();
94 Size getNumberOfModifications()
const;
110 void searchModifications(std::set<const ResidueModification*>& mods,
112 const String& residue =
"",
141 bool& multiple_matches,
142 const String& residue =
"",
161 bool has(
const String& modification)
const;
189 Size findModificationIndex(
const String& mod_name)
const;
234 void getAllSearchModifications(std::vector<String>& modifications)
const;
237 void writeTSV(
const String& filename);
245 std::vector<ResidueModification*>
mods_;
304 void readFromOBOFile(
const String& filename);
307 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:248
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:78
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
sets the modification of AA at index by providing a pointer to a
static bool is_instantiated_
Stores whether ModificationsDB was instantiated before.
Definition: ModificationsDB.h:242
database which holds all residue modifications from UniMod
Definition: ModificationsDB.h:75
Definition: ResidueModification.h:104
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Representation of an amino acid residue.
Definition: Residue.h:62
TermSpecificity
Position where the modification is allowed to occur.
Definition: ResidueModification.h:97
static bool has(const String &this_s, Byte byte)
Definition: StringUtilsSimple.h:142
Representation of a peptide/protein sequence.
Definition: AASequence.h:111
Definition: CrossLinksDB.h:41
std::vector< ResidueModification * > mods_
Stores the modifications.
Definition: ModificationsDB.h:245