Exposes RawSnpDistanceOutput and implements KmerIndex::raw_snp_distance() to compute pairwise single-copy locus counts under a paralogy-aware rule. The implementation leverages ndarray for parallel matrix aggregation, producing raw p-distance matrices for sanity-checking. A --raw-snp-distance CLI flag is added to export results as CSV, mapping zero-eligible pairs to NA.
23 lines
568 B
Rust
23 lines
568 B
Rust
pub mod error;
|
|
pub mod meta;
|
|
pub mod state;
|
|
mod distance;
|
|
mod dump;
|
|
mod index;
|
|
mod merge;
|
|
mod numa;
|
|
mod rebuild;
|
|
mod reindex;
|
|
mod select;
|
|
mod siblings;
|
|
mod stats;
|
|
|
|
pub use error::{OKIError, OKIResult};
|
|
pub use distance::{DistanceMetric, DistanceOutput};
|
|
pub use index::KmerIndex;
|
|
pub use merge::MergeMode;
|
|
pub use meta::{validate_label, GenomeInfo, IndexConfig, IndexMeta, META_FILENAME};
|
|
pub use state::{IndexState, SENTINEL_COUNTED, SENTINEL_INDEXED, SENTINEL_SCATTERED};
|
|
pub use stats::IndexBitsPerKmer;
|
|
pub use siblings::{RawSnpDistanceOutput, SiblingAnnexStats};
|