choppa.utils.split_pdb_str

choppa.utils.split_pdb_str(PDB_str)[source]

From a PDB string, gets the string for the protein and (if present) the ligand SDF (with guessed bond orders).

Inspired by https://gist.github.com/PatWalters/c046fee2760e6894ed13e19b8c99193b