Skip to content

Instantly share code, notes, and snippets.

View cristianpjensen's full-sized avatar
🎯

Cristian Perez Jensen cristianpjensen

🎯
View GitHub Profile
#!/usr/bin/env python3
"""
PDB Splitter - Separate Protein and Ligand
This script takes a PDB file containing a protein-ligand complex and splits it into:
1. A clean protein structure (without the ligand)
2. The ligand as a separate PDB file
Both outputs are valid PDB files that can be used for docking, visualization, or analysis.