OpenStructure
Functions
ost.bindings.naccess Namespace Reference

Functions

def CalculateSurfaceArea

Detailed Description

Naccess module

Author: Florian Kiefer

This module is for calculating surface areas
from OpenStructure using the external program naccess

How To Use This Module:
 1. Import it (e.g. as "from ost.bindings import naccess")
 2. Use it (e.g. as "sasa = naccess.CalculateSurfaceArea(entity)")

Requirement:
 - naccess installed

Function Documentation

def ost.bindings.naccess.CalculateSurfaceArea (   entity,
  radius = 1.4,
  include_hydrogens = False,
  include_hetatm = False,
  include_water = False,
  selection = "",
  naccess_exe = None,
  keep_files = False,
  asa_abs = "asaAbs",
  asa_rel = "asaRel",
  asa_atom = "asaAtom" 
)

Calculates analytical the solvent accessible surface area by using the external naccess program.

This method calculates the molecular surface areas by invoking the external program naccess. First, it is checked if the naccess executable is present, then, the necessary files are prepared in a temporary directory and naccess is executed. The last step is to remove the temporary directory.

Parameters:
entityOST entity to calculate surface
radiusSurface probe radius
include_hydrogensCalculate surface including hydrogens
include_hetatmCalculate surface including hetatms
include_waterCalculate surface including water
selectionCalculate surface for subset of entity
naccess_exe msms executable (full path to executable)
keep_filesDo not delete temporary files
asa_absAttaches per residue absolute SASA to specified FloatProp on residue level
asa_relAttaches per residue relative SASA to specified FloatProp on residue level
asa_atomAttaches per atom SASA to specified FloatProp at atom level
Returns:
absolute SASA calculated using asa_atom

Definition at line 191 of file naccess.py.