From 589a91639275f5d70a7bdd99c3abc014685737a1 Mon Sep 17 00:00:00 2001 From: Adetunji Date: Sat, 17 Oct 2020 16:40:30 -0500 Subject: [PATCH] update --- bin/BAM2GFF_gtftogenes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/BAM2GFF_gtftogenes.py b/bin/BAM2GFF_gtftogenes.py index 8a0a2ea..40b7148 100755 --- a/bin/BAM2GFF_gtftogenes.py +++ b/bin/BAM2GFF_gtftogenes.py @@ -33,6 +33,8 @@ def parsingGeneLocations(CHR, results): downstart = 1 if upstart < 1: upstart = 1 + if start < 1: + start = 1 if upend > int(CHR[lines[0]]): upend = CHR[lines[0]]