qp.cluster.spheres_bad.compute_charge¶
- qp.cluster.spheres_bad.compute_charge(spheres, structure, ligand_charge)[source]¶
Computes the total charge of coordinating AAs
- Parameters:
spheres (list of sets) – Sets of residues separated by spheres
structure (Bio.PDB.Structure) – The protein structure
ligand_charge (dict) – Key, value pairs of ligand names and charges
- Returns:
charge – Total charge of AAs in each sphere
- Return type:
list