Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 819 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 819 Bytes

Logo build coverage

PDBInf allows you to read PDB files using RDKit and assign bond orders from .cif (PDBx) template files.

# provide a PDBx defining the TPO nonstandard residue
nonstandard_residues = gemmi.cif.read('./tpo.cif')

# load a PDB file using the built-in standard amino acid doc and providing information on the nonstandard residues
pdbinf.load_pdb_file('./tpo.pdb', templates=[pdbinf.STANDARD_AA_DOC, nonstandard_residues])