From 833d1609e013dc225464acfb5e84dfdb2a389ca1 Mon Sep 17 00:00:00 2001 From: xingma Date: Thu, 14 Jul 2016 21:02:26 +0800 Subject: [PATCH] fix a bug of case-sensitivity for fasta file --- circ/CIRCexplorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/CIRCexplorer.py b/circ/CIRCexplorer.py index 719990c..d783f11 100755 --- a/circ/CIRCexplorer.py +++ b/circ/CIRCexplorer.py @@ -428,7 +428,7 @@ def check_seq(chrom, pos, fa, intron_flag=False): else: seq1 = fa.fetch(chrom, pos[1], pos[0]) seq2 = fa.fetch(chrom, pos[2] - pos[0] + pos[1], pos[2]) - if seq1 == seq2: + if seq1.upper() == seq2.upper(): return True else: return False