OpenMS
Loading...
Searching...
No Matches
RibonucleotideTSVDataProvider Class Reference

Loads Ribonucleotide data from a tab-separated values (TSV) file. More...

#include <OpenMS/CHEMISTRY/RibonucleotideTSVDataProvider.h>

Inheritance diagram for RibonucleotideTSVDataProvider:
[legend]
Collaboration diagram for RibonucleotideTSVDataProvider:
[legend]

Public Member Functions

 RibonucleotideTSVDataProvider (const String &filename)
 
std::vector< RibonucleotideEntryloadRibonucleotides () override
 Load ribonucleotides from whatever source this provider wraps.
 
- Public Member Functions inherited from RibonucleotideDataProvider
virtual ~RibonucleotideDataProvider ()=default
 

Private Attributes

String filename_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ RibonucleotideTSVDataProvider()

RibonucleotideTSVDataProvider ( const String filename)
explicit
Parameters
filenamePath to a TSV file (resolved via File::find)

Member Function Documentation

◆ loadRibonucleotides()

std::vector< RibonucleotideEntry > loadRibonucleotides ( )
overridevirtual

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.

Member Data Documentation

◆ filename_

String filename_
private