[BioPython] -->Problem using Bio.PDB "Dice"

Florian Koelling florian.koelling at tu-bs.de
Wed Mar 12 12:23:57 UTC 2008


Hi Folks!

I tried to grab the following line from a pdb file - (in order  to 
create a new one)  using "dice"

HETATM 3427  O11 GNF  1001      36.457  27.002  14.788  1.00
27.60           O 

The code i tried:
from Bio.PDB import*

parser = PDBParser()
structure =parser.get_structure('s','2F1G.pdb')   

y = extract(structure ,"  ", 1001, 1001 ,'2out.pdb')

I only receive an empty file.
Is there any possibility to use dice  when  a  chain specification is 
obviously missing?

Thanx alot!

Florian



More information about the Biopython mailing list