Skip to content
This repository
Browse code

Fix six_frame_translations (reverse function was removed)

  • Loading branch information...
commit d2ed4f2254938517ccd7843ce8db810d6fe91ab9 1 parent db33562
Peter Cock peterjc authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Bio/SeqUtils/__init__.py
2  Bio/SeqUtils/__init__.py
@@ -260,7 +260,7 @@ def six_frame_translations(seq, genetic_code = 1):
260 260 frames = {}
261 261 for i in range(0,3):
262 262 frames[i+1] = translate(seq[i:], genetic_code)
263   - frames[-(i+1)] = reverse(translate(anti[i:], genetic_code))
  263 + frames[-(i+1)] = translate(anti[i:], genetic_code)[::-1]
264 264
265 265 # create header
266 266 if length > 20:

0 comments on commit d2ed4f2

Please sign in to comment.
Something went wrong with that request. Please try again.