From cb690adecec0deb96b38af80979e7e45ed5852a6 Mon Sep 17 00:00:00 2001 From: jackh726 Date: Fri, 28 Jun 2024 22:14:16 +0000 Subject: [PATCH] Add newline for chromintersect --- bigtools/src/bin/bigtools.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bigtools/src/bin/bigtools.rs b/bigtools/src/bin/bigtools.rs index 78e8e2c..d4ad24f 100644 --- a/bigtools/src/bin/bigtools.rs +++ b/bigtools/src/bin/bigtools.rs @@ -220,6 +220,7 @@ fn chromintersect(apath: String, bpath: String, outpath: String) -> Result<(), B })?; if chroms.contains(chrom) { bedoutwriter.write(line.as_bytes())?; + bedoutwriter.write("\n".as_bytes())?; } } Ok(())