|
|
bool | valid () |
| |
|
Status | next () |
| |
|
Status | overlaps (const range &rng, bool &ans) |
| |
|
Status | read (std::shared_ptr< bcf1_t > &ans) |
| |
|
| static Status | Open (const char *buf, size_t bufsz, std::unique_ptr< BCFScanner > &ans) |
| |
|
static Status | read_header (const char *buf, int len, int &consumed, std::shared_ptr< bcf_hdr_t > &ans) |
| | Reads a BCF header from a memory buffer.
|
| |
| Status GLnexus::BCFScanner::Open |
( |
const char * |
buf, |
|
|
size_t |
bufsz, |
|
|
std::unique_ptr< BCFScanner > & |
ans |
|
) |
| |
|
static |
Reads BCF records from a memory buffer (without the header). Allows peeking, and checking if a record overlaps a range, prior to fully opening the BCF record. The idea is to save the expensive unpack operation for records that the caller wishes to skip.
The documentation for this class was generated from the following files: