#path #metadata #search #bidirectional #queries #source #gbz

bin+lib gbwt

Partial reimplementation of the GBWT. Exposure for the GBZ struct.

2 releases

new 0.3.1 Mar 19, 2025
0.3.0 Mar 19, 2025

#8 in #bidirectional

MIT license

350KB
6.5K SLoC

GBWT (in Rust)

Fork without source code modification of: https://github.com/jltsiren/gbwt-rs.

This is a Rust reimplementation of parts of the GBWT and the GBWTGraph. It is based on the Simple-SDS library.

Scope

GBWT

  • Simple-SDS file format
  • Iteration over paths
  • Unidirectional search
  • Bidirectional search
  • Metadata
  • Locate queries

GBWTGraph / GBZ

  • Simple-SDS file format
  • Iteration over nodes and edges
  • Iteration over segments and links
  • Iteration over paths and path extensions
  • GFA extraction

Possible future extensions

  • GBWT construction
  • GBWT merging
  • Cached GBWT

Notes

  • The included .cargo/config.toml sets the target CPU to native.
  • See Simple-SDS for assumptions on the environment.

Dependencies

~0.4–1MB
~19K SLoC