Skip to content

GBZ version 3 - #5014

Merged
jltsiren merged 4 commits into
masterfrom
gbz-v3
Aug 18, 2026
Merged

GBZ version 3#5014
jltsiren merged 4 commits into
masterfrom
gbz-v3

Conversation

@jltsiren

Copy link
Copy Markdown
Contributor

Changelog Entry

To be copied to the draft changelog by merger:

  • Support for GBZ version 3 (vg still writes version 2 by default).
  • vg gbwt option --gbz-version for selecting the version of output GBZ.

Description

Support for GBZ version 3 (and GBWT version 6) with zstd-compressed node records. As with node sequences in GBZ version 2, this compression is only used in the serialization format. The in-memory representation remains the same.

By default, GBZ output is still version 2. Other versions (from 1 to 3) can be selected with vg gbwt option --gbz-version.

File sizes for CHM13-based HPRC v2.1 graphs:

Graph GBZ v1 GBZ v2 GBZ v3
Clipped 5.7 GiB 5.3 GiB 3.4 GiB
Full 27.3 GiB 8.0 GiB 5.5 GiB

@jltsiren
jltsiren merged commit fd49b9a into master Aug 18, 2026
2 checks passed
@jltsiren
jltsiren deleted the gbz-v3 branch August 18, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants