一些 pdb 不能使用 biopython 从 PDB 下载,尽管它们存在于 PDB 中。它会产生错误。此代码用于下载 pdb (2j8e) 它无法下载,但它适用于其他 pdb。
Python 2.7.4 (default, May 14 2013, 09:41:12)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Bio.PDB import PDBList
>>> pdbdownload = PDBList()
>>> pdbid = '2j8e'
>>> downloaded_path = pdbdownload.retrieve_pdb_file(pdbid)
Downloading PDB structure '2j8e'...
Traceback (most recent call last):
IOError: [Errno ftp error] [Errno ftp error] 550 Can't change directory to pdb2j8e.ent.gz: No such file or directory
这是一个错误。有人遇到过这个问题吗?