Add sibling family size distribution statistics and CLI flags

Introduces `--sibling-stats` and `--sibling-hist` flags to compute and export family-size distributions from pre-built annexes. The new algorithms module implements parallel and sequential scanning routines, while the CLI layer handles CSV export with deduplication and standardized error handling.
This commit is contained in:
Eric Coissac committed 2026-08-28 20:59:07 +02:00
1 parent beb2951c20
commit 89629e118d
6 files changed
+245 -7

No files matched your search

@@ -19,17 +19,20 @@ mod entropy;
mod family_scan;
mod masking;
mod minorant_selection;
mod stats;
mod subsample;
use obikidxcache::index_cache::IndexCache;
pub use alignment::SnpAlignment;
pub use stats::SiblingAnnexStats;
pub use subsample::EntropyBias;
pub(crate) use alignment::snp_pseudo_alignment;
pub(crate) use annex::build_layer_sibling_annex;
pub(crate) use entropy::{ensure_layer_entropy_annex, family_entropy, family_entropy_4, iter_full_entropy};
pub(crate) use family_scan::{Selection, scan_layer_families};
pub(crate) use stats::{sibling_annex_stats, sibling_family_size_histogram};
pub(crate) use subsample::sample_index;
/// Whether every layer number in `cache` fits in a `FamilyMask` field