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(())