[BioPython] problems to fetch pdb files from server using pdb_list

Florian Koelling florian.koelling at tu-bs.de
Thu May 22 10:38:59 EDT 2008


Hi Folks!

I tried to download pdb files using  pdb_list:
(the second variant didn't work as well:-@)


from Bio.PDB import*

pdbl=PDBList()
pdbl.retrieve_pdb_file('1FAT')

#pdbl.retrieve_pdb_file('1FAT', obsolete= compression='.Z',
uncompress='gunzip', pdir='/home/flo/Desktop')

I receive:

flo at AKB-12:~/Desktop/astex$ python test.py
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    pdbl.retrieve_pdb_file('1FAT')
  File "/var/lib/python-support/python2.5/Bio/PDB/PDBList.py", line 190,
in retrieve_pdb_file
    os.mkdir(path)
OSError: [Errno 2] No such file or directory: '/pdb/fa'


What am I doing wrong?
Thanx for your Help!



More information about the BioPython mailing list