This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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. |