mod triage¶
- module triage¶
triagecommand: marker-level biological candidate ranking.The command keeps RADSex-style strict testing and Bayesian marker evidence in one bounded-memory pass over the marker table.
Every marker needs a p-value, a Bayes factor, and a posterior, so the device backend evaluates all three for the whole table before the writing pass. Counts cost eight bytes per marker; marker text is never retained.
Functions
- fn run(params: &TriageParams) -> Result<(), Box<dyn std::error::Error>>¶
- fn run_to_arrow(params: &TriageParams) -> Result<Vec<RecordBatch>, Box<dyn std::error::Error>>¶
- fn run_to_arrow_with_source<S: MarkerStream>(source: &S, popmap: &Popmap, params: &TriageParams) -> Result<Vec<RecordBatch>, Box<dyn std::error::Error>>¶
- fn run_with_source<S: MarkerStream>(source: &S, popmap: &Popmap, params: &TriageParams) -> Result<(), Box<dyn std::error::Error>>¶
Structs and Unions
- struct TriageParams¶
- markers_table_path: String¶
- popmap_file_path: String¶
- output_file_path: String¶
- min_depth: u16¶
- signif_threshold: f32¶
- posterior_threshold: f64¶
- bayes_factor_threshold: f64¶
- group1: String¶
- group2: String¶
- backend: PValueBackend¶
Where the per-marker p-value and Bayesian evidence are evaluated.