Skip to content

Instantly share code, notes, and snippets.

@lzwTAT
lzwTAT / cif2pdb.py
Created October 28, 2025 03:19 — forked from sbliven/cif2pdb.py
Convert mmCIF files to PDB format using biopython
#!/usr/bin/env python
"""
Script to convert mmCIF files to PDB format.
usage: python cif2pdb.py ciffile [pdbfile]
Requires python BioPython (`pip install biopython`). It should work with recent version of python 2 or 3.
@author Spencer Bliven <spencer.bliven@gmail.com>
"""