[BioPython] PDB header parser
Thomas Hamelryck
thamelry at binf.ku.dk
Fri Mar 19 04:08:28 EST 2004
Hi everybody,
Thanks to Kristian Rother (again!), Bio.PDB (the Biopython module that deals
with macromolecular structure data) now also provides convenient access to a
PDB file's header information.
The Structure class now has a 'header' attribute which is a dictionary whose
keys are the header fields.
For example
>>> structure.header["structure_method"]
x-ray diffraction
>>> structure.header["resolution"]
2.2
The code is in the CVS repository.
Best regards,
---
Thomas Hamelryck
Bioinformatik centret
Universitetsparken 15
Bygning 10
DK-2100 København Ø
Denmark
http://www.binf.ku.dk/users/thamelry/
More information about the BioPython
mailing list