Skip to content

Commit

Permalink
fix a bug of case-sensitivity for fasta file
Browse files Browse the repository at this point in the history
  • Loading branch information
xingma committed Jul 14, 2016
1 parent d3203eb commit 833d160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circ/CIRCexplorer.py
Expand Up @@ -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
Expand Down

0 comments on commit 833d160

Please sign in to comment.