Rename SiblingAnnexBuildExt to SiblingExt and add sibling iterators

Refactors the `SiblingAnnexBuildExt` trait to `SiblingExt` across all imports, implementations, and documentation. Introduces new modules for streaming and batched iteration over sibling layers, along with a two-phase pipeline for resolving minorant families.
This commit is contained in:
Eric Coissac committed 2026-08-28 20:36:17 +02:00
1 parent 920120d20e
commit bbb58a698f
9 files changed
+683 -10

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ use std::sync::Arc;
use obikidxcache::index_cache::IndexCache;
use obikindex::KmerIndex;
use obikphylo::siblings::SiblingAnnexBuildExt;
use obikphylo::siblings::SiblingExt;
use obikphylo::{Metrics, neighbor_joining, upgma};
use obisys::{Reporter, Stage};
use tracing::info;
@@ -33,7 +33,7 @@ pub fn run(args: PhyloArgs) {
let mut rep = Reporter::new();
// Every partition/layer this needs is opened once, up front, and
// handed to `Metrics::distance`/`SiblingAnnexBuildExt::build_sibling_annex`
// handed to `Metrics::distance`/`SiblingExt::build_sibling_annex`
// — see `obikquery`'s own use of `IndexCache` for the same reasoning
// (one open, many in-memory reads).
let cache = IndexCache::new(Arc::clone(&idx), None);