dhtslib.bgzf

This module provides a wrapper, BGZFile, over an htslib BGZF compressed file/stream. The wrapper acts as a linewise ForwardRange over the file or stream.

Members

Structs

BGZFile
struct BGZFile

Encapsulates a bgzipped (block gzipped) file. Implements InputRange interface using htslib calls to bgzf_getline().

RecordReader
struct RecordReader(RecType)

Range that allows reading a record based format via BGZFile. Needs a record type that encompasses only one line of text. Rectype could be GFF3Record, BedRecord ... This is a sister struct to dhtslib.tabix.RecordReaderRegion.

Meta