qp.cluster.spheres.check_disulfide¶
- qp.cluster.spheres.check_disulfide(res: Bio.PDB.Residue.Residue, tree: Bio.PDB.NeighborSearch.NeighborSearch)[source]¶
Detect whether a cysteine residue is involved in a disulfide bond.
A disulfide is detected when both the query CYS and a neighboring CYS lack an HG atom and their SG atoms are within 2.5 A.
- Parameters:
res (Bio.PDB.Residue.Residue) – A cysteine residue to check.
tree (Bio.PDB.NeighborSearch) – Spatial search object for the structure.
- Returns:
True if the residue is part of a disulfide bond.
- Return type:
bool