mod depth

module depth

depth command: compute retained read statistics per individual.

Two modes:

  • Default: exact median via in-memory accumulation

  • Streaming (–streaming): exact median via external sort of (individual, depth) pairs. O(buffer_size) memory.

Functions

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

Structs and Unions

struct DepthParams
markers_table_path: String
popmap_file_path: String
output_file_path: String
min_frequency: f32
streaming: bool