![]() |
OpenMS
|
Loads Ribonucleotide data from a tab-separated values (TSV) file. More...
#include <OpenMS/CHEMISTRY/RibonucleotideTSVDataProvider.h>
Public Member Functions | |
| RibonucleotideTSVDataProvider (const std::string &filename) | |
| std::vector< RibonucleotideEntry > | loadRibonucleotides () override |
| Load ribonucleotides from whatever source this provider wraps. | |
Public Member Functions inherited from RibonucleotideDataProvider | |
| virtual | ~RibonucleotideDataProvider ()=default |
Private Attributes | |
| std::string | filename_ |
Loads Ribonucleotide data from a tab-separated values (TSV) file.
Parses the legacy TSV format used for custom RNA modifications and returns ribonucleotide entries as RibonucleotideEntry objects.
An optional column named baseloss_formula specifies the formula retained after nucleobase loss, including the sugar modification (e.g. C6H10O5 for LNA or C5H9FO4 for 2'-fluorodeoxyribose). This is the hydrated base-loss formula used by Ribonucleotide::getBaselossFormula(), before the water losses needed to form an a-B ion. Append this column after the optional alternatives column, leaving alternatives empty for unambiguous modifications. An explicit formula overrides inference from the code; an absent, empty, or - value retains the legacy inference.
|
explicit |
| filename | Path to a TSV file (resolved via File::find) |
|
overridevirtual |
Load ribonucleotides from whatever source this provider wraps.
Implements RibonucleotideDataProvider.
|
private |