OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields
CustomCompound Class Reference

Public Member Functions

def __init__
 

Static Public Member Functions

def FromResidue
 

Data Fields

 atom_names
 

Detailed Description

Defines atoms for custom compounds

lDDT requires the reference atoms of a compound which are typically
extracted from a :class:`ost.conop.CompoundLib`. This lightweight
container allows to handle arbitrary compounds which are not
necessarily in the compound library.

:param atom_names: Names of atoms of custom compound
:type atom_names: :class:`list` of :class:`str`

Definition at line 7 of file lddt.py.

Constructor & Destructor Documentation

def __init__ (   self,
  atom_names 
)

Definition at line 18 of file lddt.py.

Member Function Documentation

def FromResidue (   res)
static
Construct custom compound from residue

:param res: Residue from which reference atom names are extracted,
    hydrogen/deuterium atoms are filtered out
:type res: :class:`ost.mol.ResidueView`/:class:`ost.mol.ResidueHandle`
:returns: :class:`CustomCompound`

Definition at line 22 of file lddt.py.

Field Documentation

atom_names

Definition at line 19 of file lddt.py.


The documentation for this class was generated from the following file: