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);
A more convenient string class.
Definition: String.h:58
Definition: ResidueModification.h:104
Definition: CrossLinksDB.h:41
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:78
Representation of a peptide/protein sequence.
Definition: AASequence.h:111
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
sets the modification of AA at index by providing a pointer to a in the
Representation of an amino acid residue.
Definition: Residue.h:62
static bool is_instantiated_
Stores whether ModificationsDB was instantiated before.
Definition: ModificationsDB.h:242
std::unordered_map< String, std::set< const ResidueModification * > > modification_names_
Stores the mappings of (unique) names to the modifications.
Definition: ModificationsDB.h:248
database which holds all residue modifications from UniMod
Definition: ModificationsDB.h:75
TermSpecificity
Position where the modification is allowed to occur.
Definition: ResidueModification.h:97
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< ResidueModification * > mods_
Stores the modifications.
Definition: ModificationsDB.h:245
static bool has(const String &this_s, Byte byte)
Definition: StringUtilsSimple.h:142