Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix six_frame_translations (reverse function was removed)

  • Loading branch information...
commit d2ed4f2254938517ccd7843ce8db810d6fe91ab9 1 parent db33562
Peter Cock peterjc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Bio/SeqUtils/__init__.py
2  Bio/SeqUtils/__init__.py
View
@@ -260,7 +260,7 @@ def six_frame_translations(seq, genetic_code = 1):
frames = {}
for i in range(0,3):
frames[i+1] = translate(seq[i:], genetic_code)
- frames[-(i+1)] = reverse(translate(anti[i:], genetic_code))
+ frames[-(i+1)] = translate(anti[i:], genetic_code)[::-1]
# create header
if length > 20:
Please sign in to comment.
Something went wrong with that request. Please try again.