Class Specialization
BGZF Stream
Reading and writing of BGZF data.
Stream
BGZF Stream
Stream<Bgzf>
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
attachToFileAttach to already open input / output file.
checkEofCheck that the EOF marker is present in a BGZF(/BAM) file.
closeCloses a file. (Stream)
jumpToPosSeek in BAM BGZF stream using an index.
openOpens a file.
sizeGets the file size.
Examples
Stream<Bgzf> stream;
if (!open(stream, "myfile.bam", "r"))
    return 1;  // error
// ... work
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:36