From 2191e5a0d425cd5e81526cd01f98dfe396c68e7b Mon Sep 17 00:00:00 2001 From: pdimens Date: Fri, 19 Apr 2024 14:21:14 -0400 Subject: [PATCH] fix --- 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 6444defa7..6702cc435 100755 --- a/src/harpy/scripts/bxStats.py +++ b/src/harpy/scripts/bxStats.py @@ -94,7 +94,7 @@ def writestats(x,chr): # then it was already counted in the forward read ins_len = 0 else: - ins_len = abs(ins_len) + ins_len = abs(tlen) # create bx entry if it's not present if mi not in d.keys():