Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Jun 27, 2024
1 parent cdd9a70 commit 452d1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harpy/scripts/bxStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def writestats(x, writechrom):
x[_mi]["covered_inserts"] = min(x[_mi]["insert_len"] / x[_mi]["inferred"], 1.0)
except:
x[_mi]["covered_inferred"] = 0
outtext = f"{writechrom}\t{mi}\t" + "\t".join([str(x[_mi][i]) for i in ["n", "start","end", "inferred", "bp", "insert_len", "covered_bp", "covered_inserts"]])
outtext = f"{writechrom}\t{_mi}\t" + "\t".join([str(x[_mi][i]) for i in ["n", "start","end", "inferred", "bp", "insert_len", "covered_bp", "covered_inserts"]])
outfile.write(outtext.encode() + b"\n")

for read in alnfile.fetch():
Expand Down

0 comments on commit 452d1c8

Please sign in to comment.