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 committed 2026-08-22 17:28:51 +02:00
1 parent fba9c65b1a
commit 23812d1af8
6 files changed
+137 -109

No files matched your search

+2
View File
@@ -5,5 +5,7 @@ edition = "2024"
[dependencies]
obikindex = { path = "../obikindex" }
obikidxcache = { path = "../obikidxcache" }
obikalgorithm = { path = "../obikalgorithm" }
obicompactvec = { path = "../obicompactvec" }
rayon = "1"