OpenStructure
Loading...
Searching...
No Matches
Data Structures | Functions
ost.bindings.hbplus Namespace Reference

Data Structures

class  HBond
 

Functions

 _LocateHBPlus (hbplus_bin)
 
 _ParseOutput (ent, output)
 
 HBondList (ent, hbplus_bin=None)
 
 HBondScore (ent1, ent2, hbplus_bin=None)
 

Detailed Description

Interface to HB+ command line program

Author: Marco Biasini

Function Documentation

◆ _LocateHBPlus()

_LocateHBPlus (   hbplus_bin)
protected

Definition at line 15 of file hbplus.py.

◆ _ParseOutput()

_ParseOutput (   ent,
  output 
)
protected

Definition at line 24 of file hbplus.py.

◆ HBondList()

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()

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.