mod freq¶
- module freq¶
freqcommand: compute marker frequency distribution.Functions
- fn compute_frequency<S: MarkerStream>(source: &S, min_depth: u16) -> Result<Vec<u32>, Box<dyn std::error::Error>>¶
Histogram of marker frequency (index = number of individuals with depth ≥
min_depth). Exposed for microbenchmarks / Arrow vs stream comparisons.
- fn run(params: &FreqParams) -> Result<(), Box<dyn std::error::Error>>¶
Run the
freqanalysis against a TSV path.
- fn run_with_source<S: MarkerStream>(source: &S, params: &FreqParams) -> Result<(), Box<dyn std::error::Error>>¶
Run the
freqanalysis against anyMarkerStream(TSV, Arrow, Parquet).Prefer a columnar histogram when the source provides one (Arrow batches as tiles); otherwise fall back to the generic row-stream + bitset count path.
Structs and Unions