Bio.bgzfsupports reading and writing BGZF files (Blocked GNU Zip Format), a variant of GZIP with efficient random access, most commonly used as part of the BAM file format and in tabix. This uses Python's
zliblibrary internally, and provides a simple interface like Python's gzip library. Using this the
Bio.SeqIOindexing functions now support BGZF compressed sequence files. See this blog post for more background onBGZF and SeqIO.