From f97272e19fa1b3ca91725d75b16c9a92c576c829 Mon Sep 17 00:00:00 2001 From: Brent Pedersen Date: Sun, 24 Nov 2024 11:08:06 -0800 Subject: [PATCH] actually write the index --- mosdepth.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/mosdepth.nim b/mosdepth.nim index ca91460..3231f1f 100644 --- a/mosdepth.nim +++ b/mosdepth.nim @@ -762,6 +762,7 @@ proc main(bam: hts.Bam, chrom: region_t, mapq: int, min_len: int, max_len: int, when defined(d4): if use_d4: fd4.close + doAssert index_build_sfi(prefix & ".per-base.d4") if fbase != nil and close(fbase) != 0: stderr.write_line("[mosdepth] error writing per-base file\n")