ost::mol::alg::views Namespace Reference

Functions

def PairResiduesByNum
def RepresentativeAtoms

Detailed Description

A bunch of algorithms operating on two views. 

Authors: Marco Biasini, Pascal Benkert

Function Documentation

def ost::mol::alg::views::PairResiduesByNum (   view_a,
  view_b,
  view_add_flags = mol.ViewAddFlag.INCLUDE_ATOMS 
)
Pair residues by residue number.

Definition at line 24 of file views.py.

def ost::mol::alg::views::RepresentativeAtoms (   ent,
  chain = None,
  alpha_and_beta = False 
)
Returns a view with one or two representative atom per amino acid residue. 

There are two basic modes, controlled by the alpha_and_beta parameter:

When the parameter is false, for residues with a sidechain, the C-beta atom is 
used, for residues without  sidechain, the C-alpha atom is used. Note that this 
is different from using the selection

  (aname=CA and rname=GLY) or (aname=CB and rname!=GLY)

When the alpha_and_beta parameter is true, both C-alpha and C-beta (if
available) are added to the view.

If chain is not equal to None, only atoms of the chain with that chain name
will be added to the view.

Definition at line 54 of file views.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1