choppa.utils.get_ligand_resnames_from_pdb_str

choppa.utils.get_ligand_resnames_from_pdb_str(PDB_str, remove_solvent=True)[source]

Uses MDAnalysis to figure out what residue names the ligand(s) in the protein PDB (str) has/have.

Uses StringIO to circumvent having to write to memory.