multovl
1.3
Multiple overlaps of genomic regions
|
#include "trackio.hh"
Public Member Functions | |
TrackReader () | |
default init | |
virtual std::string | read_into (std::string &chrom, Region ®)=0 |
const Errors & | errors () const |
virtual void | add_error (const std::string &msg) |
Abstract base class for reading regions from a file. Subclasses contain implementations for reading text or binary files.
|
inline |
|
pure virtual |
Attempts to read from the wrapped input file into a region.
chrom | string to store the chromosome name for /reg/ |
reg | the region this method tries to read into. |
Implemented in multovl::io::TextReader, and multovl::io::BamReader.