Biopythonを使用してシーケンスファイルを整列させたいのですが、ライブラリからエラーが発生し続けます。私のコードは次のとおりです。
from Bio import AlignIO
import Bio
alignment = AlignIO.read("A_prot.fasta","fasta")
print alignment
A_prot.fasta
プログラムと同じディレクトリに配置するようにしましたが、次のようなエラーが表示されます。
Traceback (most recent call last):
File "bio_seq_align.py", line 5, in <module>
alignment = AlignIO.read("A_prot.fasta","fasta")
File "/usr/lib/python2.7/site-packages/biopython-1.61-py2.7-linux-i686.egg/Bio/AlignIO/__init__.py", line 427, in read
raise ValueError("No records found in handle")
ValueError: No records found in handle