feat: add col_weights API and refactor obikstats to use Algorithm trait

Added a `col_weights` method to index layers for computing per-genome column sums or presence k-mer counts. Refactored `obikstats` to implement the `Algorithm` trait with a two-phase `new`/`run` model, replacing manual layer resolution with `IndexCache` for eager file I/O. Simplified per-genome counting logic and updated public exports and dependencies accordingly.
This commit is contained in:
Eric Coissac
2026-08-22 17:28:51 +02:00
parent fba9c65b1a
commit 23812d1af8
6 changed files with 137 additions and 109 deletions
+2
View File
@@ -1767,6 +1767,8 @@ name = "obikstats"
version = "0.1.0"
dependencies = [
"obicompactvec",
"obikalgorithm",
"obikidxcache",
"obikindex",
"rayon",
]