xplorPotTools
index


 
Tools to help manipulate and analyze XPLOR energy terms

 
Classes
       
builtins.object
PY_Restraint
PotData

 
class PY_Restraint(builtins.object)
    PY_Restraint(pot, name, diff)
 

 
  Methods defined here:
__init__(s, pot, name, diff)
Initialize self.  See help(type(self)) for accurate signature.
diff(s)
name(s)
violated(s)

Data descriptors defined here:
__dict__

 
dictionary for instance variables (if defined)
__weakref__

 
list of weak references to the object (if defined)

 
class PotData(builtins.object)
    PotData(pot)
 

 
  Methods defined here:
__init__(s, pot)
Initialize self.  See help(type(self)) for accurate signature.

Data descriptors defined here:
__dict__

 
dictionary for instance variables (if defined)
__weakref__

 
list of weak references to the object (if defined)

 
Functions
       
addRestraintsMethod(term)
add a restraints() method
analyze(potList)
perform analysis of XplorPot terms and return nicely formatted summary.
 
Note on VDW (nonbonded) violations:
  The analysis here does not heed any XPLOR constraints interaction
  statements: all nonbonded violations are always reported.
calcPotData(term)
return PotData values for the given XPLOR term
getHBDBbonds()
Return info from the XPLOR HBDB energy term on each backbone H-bond in a
list of named tuples. The tuples have entries:
  resid_CO, resid_HN, dir_type, lin_type, dist_OH, ang_COH, ang_CaCO, ang_OHN
  Edir,  Elin
restraints_meth(pot)

 
Data
        defaultThresholds = {'ANGL': 2, 'BOND': 0.05, 'CARB': 1.0, 'CDIH': 5, 'COUP': 1.0, 'DIHE': 10, 'HBDA': 0.0, 'IMPR': 2, 'NOE': 0.5, 'VDW': 0.2, ...}