Skip to content

Commit

Permalink
Merge pull request #52 from aryeelab/bugfix/lowercase
Browse files Browse the repository at this point in the history
Fixed bug where reverse complement off-targets are missed in lower case reference. Fixes #51
  • Loading branch information
martinaryee authored Jun 1, 2019
2 parents 6f3c5de + 834862f commit c608522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guideseq/identifyOfftargetSites.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def processLine(line):


def reverseComplement(sequence):
transtab = string.maketrans("ACGT", "TGCA")
transtab = string.maketrans("ACGTacgt", "TGCATGCA")
return sequence.translate(transtab)[::-1]


Expand Down

0 comments on commit c608522

Please sign in to comment.