#genomics #bioinformatics

bgzf

Utility library for working with explicitly BGZF compressed data

2 unstable releases

new 0.3.0 Feb 4, 2026
0.2.0 Mar 4, 2022

#216 in Biology

Download history 23/week @ 2025-10-19 6/week @ 2025-10-26 15/week @ 2025-11-02 15/week @ 2025-11-09 17/week @ 2025-11-23 7/week @ 2025-11-30 4/week @ 2026-01-18 75/week @ 2026-02-01

79 downloads per month
Used in pooled-writer

MIT license

34KB
579 lines

bgzf

Build Status license Version info

This library provides both high level readers and writers for the BGZF format as well as lower level compressor and decompressor functions.

Bgzf is a multi-gzip format that adds an extra field to the header indicating how large the complete block (with header and footer) is.

Documentation and Examples

Please see the generated Rust Docs.

Benchmarks

Run the compression benchmarks with:

cargo bench

This runs Criterion benchmarks measuring:

  • Single block compression at various levels
  • Writer throughput

Dependencies

~0.8–1.6MB
~30K SLoC