OpenStructure
Data Structures | Functions
ost.bindings.hbplus Namespace Reference

Data Structures

class  HBond
 

Functions

def HBondList (ent, hbplus_bin=None)
 
def HBondScore (ent1, ent2, hbplus_bin=None)
 

Detailed Description

Interface to HB+ command line program

Author: Marco Biasini

Function Documentation

◆ HBondList()

def ost.bindings.hbplus.HBondList (   ent,
  hbplus_bin = None 
)
returns a list of HBonds found in the given entity (handle or view)

Definition at line 60 of file hbplus.py.

◆ HBondScore()

def ost.bindings.hbplus.HBondScore (   ent1,
  ent2,
  hbplus_bin = None 
)
returns percentage of hydrogen bonds in ent1 that are also present in ent2 in
the range of 0 to 1.

this function is slow as hell, and could be improved drastically by first
sorting the hydrogen bond lists by donor residue number.

Definition at line 85 of file hbplus.py.