The libPDB library is intended to allow navigation through PDB files, as well as some manipulation. It’s written in OO-PHP, hence it’s easy to use but not terribly fast. For most projects in our lab, the speed is not a concern. Access to a specific residue or atom is very easy, as is enumeration. Several examples are shown below.
This library was written for a specific project and is by no means comprehensive. Only ATOM coordinates from PDB files are used; all other records are discarded. More functionality will be added as needed. If you need a specific functionality, please contact Luki for tips how to extend this library.
The most current version is available on NFS in
~luki/lib/libpdb.php, a copy is also available here.
Organization of PDB files
The library only uses ATOM coordinates from PDB files and discards everything else.