pidibble

PyPI version Supported Python versions License Tests PyPI downloads Documentation status

A robed automaton scribe in a brass mask copies a protein structure into an illuminated manuscript titled "De Structura Vitae", quill in a jointed metal hand. Behind it a ribbon model of a protein turns in a gilded armillary frame, a lectern holds a plate labelled Helix, Sheet and Loop, and a banner reads "Scientia per Patientiam".

Pidibble is a Python package for parsing Protein Data Bank structures in both the legacy PDB format and the modern PDBx/mmCIF format.

For legacy files it conforms to the final PDB standard (v.3.3 Atomic Coordinate Entry Format, ca. 2011), parsing every standard record type. PDBx/mmCIF files are read with the wwPDB’s own py-mmcif reader, so they are interpreted against the PDBx/mmCIF Exchange Dictionary (V5) (Westbrook et al., J. Mol. Biol. 434:167599, 2022); pidibble maps a documented subset of its categories onto the same record objects, so downstream code need not branch on format. See PDBx/mmCIF parsing for the coverage.

Unlike parsers like that found in packages like BioPython, pidibble provides meaningfully parsed objects from all standard PDB record types, not just ATOM and CONECT records.

Once installed, the user has access to the PDBParser class in the pidibble.pdbparse module.

Pidibble can fetch coordinate files from the RCSB PDB and from the AlphaFold model database.

Pidibble can handle hexadecimal serial numbers in all record types.

New to pidibble? Start with the Quickstart, then work through the User Guide. See Installation to install the package.

Note

Pidibble is under active development.

Note

Pidibble is used in pestifer

Contents