find_pi_cation_interactions(struct1,
struct2=None,
rings1=None,
rings2=None,
skip_unknown=None)
|
|
Determine if any positive centers are within a specified distance
cutoff of any aromatic ring centroids. For those positive center/ring
contacts, determine if the positive center is located on the face of the
ring rather than the edge.
Code example:
import interactions
from schrodinger import structure
recep = None
for struct in structure.StructureReader(input_file):
if not recep:
recep = struct
# Precalculate receptor rings and cations to save time
rings = interactions.gather_rings(recep)
cations = interactions.get_receptor_positive_centroids(recep)
else:
picats = interactions.find_pi_cation_interactions(recep,
rings1=rings, cations1=cations,
struct2=struct)
- Parameters:
struct1 (schrodinger.structure.Structure object) - Receptor structure if for a ligand-receptor complex, or the first
of two structures to compute pi-cations for
struct2 (schrodinger.structure.Structure object) - Ligand structure if for a ligand-receptor complex, or the second
of two structures, or None if the first structure should be
search for intramolecular interactions.
rings1 (list of SSSR (from gather_rings)) - SSSR of struct1. If not passed, will be computed.
rings2 (list of SSSR (from gather_rings)) - SSSR of struct2. If not passed, will be computed.
skip_unknown - UNUSED and deprecated.
- Returns: list
- list of CationPiInteraction interaction objects:
# CationPiInteraction properties:
cation_structure: structure that contains the cation
pi_structure: structure that contains the pi group
cation_centroid: Centroid of the positive charge
pi_centroid: Centroid of the pi group
distance: distance between the centroids
angle: angle in degrees between the centroids
|