Loads Ribonucleotide data from a Modomics JSON file.
More...
#include <OpenMS/CHEMISTRY/ModomicsJSONDataProvider.h>
Loads Ribonucleotide data from a Modomics JSON file.
Parses the JSON format used by the Modomics database (https://www.genesilico.pl/modomics/api/modifications) and returns ribonucleotide entries as RibonucleotideEntry objects.
◆ ModomicsJSONDataProvider()
- Parameters
-
| filename | Path to a Modomics JSON file (resolved via File::find) |
◆ loadRibonucleotides()
Load ribonucleotides from whatever source this provider wraps.
- Returns
- Vector of ribonucleotide entries with ownership transferred to caller.
- Note
- Providers may only be called once. Subsequent calls may return empty results.
Implements RibonucleotideDataProvider.
◆ filename_