From 9954899e9cb58713f97d76588e7edf77d3498507 Mon Sep 17 00:00:00 2001 From: Anton Larsson Date: Tue, 14 Jun 2022 15:44:52 +0200 Subject: [PATCH] Update ConvperPos.py --- scripts/ConvperPos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ConvperPos.py b/scripts/ConvperPos.py index 2b9165d..809dcca 100755 --- a/scripts/ConvperPos.py +++ b/scripts/ConvperPos.py @@ -39,7 +39,7 @@ def CountReadConverPerConvPos(bam,ContigLocs): ConvsPerPos[key]={} k=0 current=ContigLocs[key][k] - if len(ContigLocs[key][k]) == 1: + if len(ContigLocs[key]) == 1: ConvsPerPos[key][current] = 1 else: k+=1