Skip to main content

write_fld_dump

Function write_fld_dump 

Source
pub fn write_fld_dump(path: &Path, pmf: &[f64]) -> Result<()>
Expand description

aux_info/fld.gz: per-length sample histogram. salmon draws 10,000 samples from the log-PMF and writes the per-length i32 counts; we write the deterministic expected histogram round(10000 * pmf[len]) (same type/layout).

Writing the expectation rather than an actual random draw gives a file with the same meaning and layout but no run-to-run variation — sampling here would add nondeterminism to a purely diagnostic output.