:麻煩執行以下代碼時調用Biopython SeqUtils six_frame_translations
from Bio.SeqUtils import six_frame_translations
blah = six_frame_translations("ATCGATCGATCG")
print(blah)
我得到以下錯誤:
File "C:\Python32\lib\site-packages\Bio\SeqUtils\__init__.py", line 263, in six_frame_translations
frames[-(i+1)] = reverse(translate(anti[i:], genetic_code))
NameError: global name 'reverse' is not defined
我使用Python 3.23,Biopython 1.59
有什麼建議?謝謝,
Charles
重複的問題在這裏:http://www.biostars.org/post/show/51976/trouble-calling-biopython-sequtils-six_frame_translations/ – peterjc