[][src]Module bam::bgzip

A module that works with Bgzip files (BGZF) and bgzip blocks.

Structs

Block

BGzip block. Both uncompressed and compressed size should not be bigger than MAX_BLOCK_SIZE = 65536.

ChunksReader

Reader of Bgzip blocks given for a vector of chunks. Wrapper of SeekReader.

ConsecutiveReader

Consecutive reader of a bgzip file, does not support random access, but also does not spend memory and time on caching.

SeekReader

BGzip file reader, which allows to open bgzip blocks given an offset.

SeekReaderBuilder

Builder of bgzip file reader

Enums

BlockError

io::Error produced while reading a bgzip block.

Constants

MAX_BLOCK_SIZE

Biggest possible compressed and uncompressed size