mod freq

module freq

freq command: 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 freq analysis against a TSV path.

fn run_with_source<S: MarkerStream>(source: &S, params: &FreqParams) -> Result<(), Box<dyn std::error::Error>>

Run the freq analysis against any MarkerStream (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

struct FreqParams

Parameters for the freq command.

markers_table_path: String
output_file_path: String
min_depth: u16