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
+13
View File
@@ -1649,6 +1649,19 @@ dependencies = [
"xxhash-rust",
]
[[package]]
name = "obilayeredmap"
version = "0.1.0"
dependencies = [
"memmap2",
"obikseq",
"obiskio",
"ph",
"serde",
"serde_json",
"tempfile",
]
[[package]]
name = "obipipeline"
version = "0.1.0"