From 452d1c8aecb4c475c24b4556fb9a5d744cbcad51 Mon Sep 17 00:00:00 2001 From: pdimens Date: Thu, 27 Jun 2024 16:29:28 -0400 Subject: [PATCH] fix typo --- src/harpy/scripts/bxStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harpy/scripts/bxStats.py b/src/harpy/scripts/bxStats.py index 5cbd26dd4..52421c6ff 100755 --- a/src/harpy/scripts/bxStats.py +++ b/src/harpy/scripts/bxStats.py @@ -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():