Class Specialization
BGZF Stream
Reading and writing of BGZF data.
BGZF Stream |
Include Headers
seqan/stream.h
Remarks
Not copy constructable, not assignable.
BGZF is the Block GZip Format which is used as the underlying format for BAM and TABIX.
Data is written out compressed with gzip but the uncompressed data is split into blocks with a maximum block size.
It is therefore possible to jump to beginnings of blocks in the resulting files, decompress the block and then jump into the block itself.
Specialization of
Functions
Determines whether an iterator is at the end position. (Stream) | |
Attach to already open input / output file. | |
Check that the EOF marker is present in a BGZF(/BAM) file. | |
Closes a file. (Stream) | |
Seek to orphans block in BAM BGZF stream using an index. | |
Seek in BAM BGZF stream using an index. | |
Opens a file, stream, or persistent string. | |
Gets the file size. |
Examples
if (!open(stream, "myfile.bam", "r"))
return 1; // error
// ... work
SeqAn - Sequence Analysis Library - www.seqan.de