Permalink
Browse files

Fix six_frame_translations (reverse function was removed)

  • Loading branch information...
1 parent db33562 commit d2ed4f2254938517ccd7843ce8db810d6fe91ab9 @peterjc peterjc committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/SeqUtils/__init__.py
View
2 Bio/SeqUtils/__init__.py
@@ -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:

0 comments on commit d2ed4f2

Please sign in to comment.