|
OpenMS
2.6.0
|
Go to the documentation of this file.
39 #include <unordered_map>
56 typedef std::vector<ConstRibonucleotidePtr>::const_iterator
ConstIterator;
73 return ribonucleotides_.begin();
79 return ribonucleotides_.end();
87 ConstRibonucleotidePtr getRibonucleotide(
const std::string& code);
94 ConstRibonucleotidePtr getRibonucleotidePrefix(
const std::string& seq);
101 std::pair<ConstRibonucleotidePtr, ConstRibonucleotidePtr> getRibonucleotideAlternatives(
const std::string& code);
109 void readFromFile_(
const std::string& path);
112 ConstRibonucleotidePtr parseRow_(
const std::string& row,
Size line_count);
121 std::map<std::string, std::pair<ConstRibonucleotidePtr, ConstRibonucleotidePtr>>
ambiguity_map_;
std::vector< ConstRibonucleotidePtr > ribonucleotides_
list of known (modified) nucleotides
Definition: RibonucleotideDB.h:115
Representation of a ribonucleotide (modified or unmodified)
Definition: Ribonucleotide.h:51
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< ConstRibonucleotidePtr >::const_iterator ConstIterator
const iterator type definition
Definition: RibonucleotideDB.h:56
ConstIterator begin() const
Const iterator to beginning of database.
Definition: RibonucleotideDB.h:71
Size max_code_length_
Definition: RibonucleotideDB.h:123
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::unordered_map< std::string, Size > code_map_
mapping of codes (short names) to indexes into ribonucleotides_
Definition: RibonucleotideDB.h:118
Database of ribonucleotides (modified and unmodified)
Definition: RibonucleotideDB.h:50
ConstIterator end() const
Const iterator to end of database.
Definition: RibonucleotideDB.h:77
std::map< std::string, std::pair< ConstRibonucleotidePtr, ConstRibonucleotidePtr > > ambiguity_map_
mapping of ambiguity codes to the alternatives they represent
Definition: RibonucleotideDB.h:121