From e6845fda1f6c74a792697bcd841690d93f5d8eca Mon Sep 17 00:00:00 2001 From: genomewalker Date: Tue, 30 Apr 2024 18:54:34 +0200 Subject: [PATCH] Minor --- bam_filter/sam_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bam_filter/sam_utils.py b/bam_filter/sam_utils.py index 4f275a3..b39ffdf 100644 --- a/bam_filter/sam_utils.py +++ b/bam_filter/sam_utils.py @@ -89,7 +89,7 @@ def write_bam(bam, references, output_files, threads=1, sort_memory="1G"): new_header = header.to_dict() new_header["SQ"] = [x for x in new_header["SQ"] if x["SN"] in ref_names] - print(new_header) + out_bam_file = pysam.AlignmentFile( output_files["bam_tmp"], "wb",