Package schrodinger :: Package application :: Package bioluminate :: Module protein_protein_docking_shared :: Class PIPERDistanceConstraintPair
[hide private]
[frames] | no frames]

Class PIPERDistanceConstraintPair

object --+
         |
        PIPERDistanceConstraintPair

Object used to store the pairs of residues and the allowable distaances between them that make up a piper distance constraint.

Instance Methods [hide private]
 
__init__(self, rec_asl=None, lig_asl=None, dmin=0.0, dmax=5.0)
Initialize with:...
 
__str__(self)
str(x)
 
toDict(self)
 
setResidues(self, rec_st, lig_st)
This must be called to set link the asl expresion given in the...
 
_setOneComponent(self, name, st, asl)
 
getPiperDict(self)
Return the dictionary that will be used to create the piper-backend-formatted json file.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, rec_asl=None, lig_asl=None, dmin=0.0, dmax=5.0)
(Constructor)

 

Initialize with:
rec_asl {string} REQUIRED ASL espression corresponding to eactly
   one residue on the receptor
lig_asl {string} REQUIRED ASL espression corresponding to eactly
   one residue on the ligand
dmin {float} minimum allowed distance between any two atoms on the
   residues defined by rec_asl and lig_asl
dmax {float} maximum allowed distance between any two atoms on the
   residues defined by rec_asl and lig_asl

Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

setResidues(self, rec_st, lig_st)

 

This must be called to set link the asl expresion given in the
initializer to a set of structures
rec_st { schrodinger.Structure} receptor structure
lig_st { schrodinger.Structure} receptor structure
If the ASL expression provided in the initializer does not correspond
   to exactly one residue in rec_st and lig_st respectively than
   a RuntimeError is raised

getPiperDict(self)

 

Return the dictionary that will be used to create the piper-backend-formatted json file. This format is different than the json format used to pass constraint objects to the schrodinger-wrapper for Prime as that json file must include distance and energy-based constraints.