Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
genomewalker committed Apr 30, 2024
1 parent 9803c4d commit e6845fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bam_filter/sam_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e6845fd

Please sign in to comment.