feat: add obilayeredmap crate for disk-backed k-mer indexing

Introduces the `obilayeredmap` crate (v0.1.0), implementing an append-only, disk-backed k-mer index using a minimal perfect hash function (MPHF). The module features memory-mapped reads, buffered writes, custom error handling, partition metadata persistence, and comprehensive unit tests. Also adds a reverse complement benchmark for `obikseq` and updates `Cargo.lock` with the new dependencies.
This commit is contained in:
Eric Coissac
2026-05-12 14:05:18 +08:00
parent 962e386f8b
commit 9c41891cc8
14 changed files with 637 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
[package]
name = "obilayeredmap"
version = "0.1.0"
edition = "2024"
[dependencies]
obikseq = { path = "../obikseq" }
obiskio = { path = "../obiskio" }
ph = "0.11"
memmap2 = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[dev-dependencies]
tempfile = "3"
obikseq = { path = "../obikseq", features = ["test-utils"] }