OpenStructure
Public Member Functions | Static Public Member Functions | Data Fields
CustomCompound Class Reference

Public Member Functions

def __init__ (self, atom_names)
 

Static Public Member Functions

def FromResidue (res)
 

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 18 of file lddt.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  atom_names 
)

Definition at line 29 of file lddt.py.

Member Function Documentation

◆ FromResidue()

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 33 of file lddt.py.

Field Documentation

◆ atom_names

atom_names

Definition at line 30 of file lddt.py.


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