BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Member Functions | Protected Attributes | List of all members
BALL::SecondaryStructureProcessor Class Reference

Secondary structure extraction from 3D structure. More...

#include <BALL/STRUCTURE/secondaryStructureProcessor.h>

Inheritance diagram for BALL::SecondaryStructureProcessor:
BALL::UnaryProcessor< Composite > BALL::UnaryFunctor< Composite, Processor::Result >

Public Member Functions

Constructors
 SecondaryStructureProcessor ()
 
Processor-related methods
virtual Processor::Result operator() (Composite &composite)
 
- Public Member Functions inherited from BALL::UnaryProcessor< Composite >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual bool start ()
 
virtual bool finish ()
 

Protected Member Functions

void compute_ ()
 Compute the secondary structure. More...
 
char setSecondaryStructureType_ (SecondaryStructure *ss, char type)
 
bool testString_ (const String &s, Size offset, Size offset_2)
 
bool testString2_ (const String &s, Size offset)
 
bool testString3_ (const String &s, Size offset, char x)
 
void insertTurn_ (int turn, int position)
 
void changeAllXToY_ (char X, char Y, String &target)
 

Protected Attributes

std::vector< std::vector
< Position > > 
HBonds_
 
std::vector< std::vector< int > > posbridges_
 
String sheet_
 
String fiveturn_
 
String fourturn_
 
String threeturn_
 
String summary_
 

Additional Inherited Members

- Public Types inherited from BALL::UnaryFunctor< Composite, Processor::Result >
typedef Processor::Result result_type
 
typedef Composite argument_type
 
typedef Compositeargument_reference
 
typedef const Compositeconst_argument_reference
 
typedef Compositeargument_pointer
 
typedef const Compositeconst_argument_pointer
 

Detailed Description

Secondary structure extraction from 3D structure.

Secondary Structure Processor.

This class implements the DSSP algorithm described in "Kabsch W & Sander C (1983). Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers, 22, 2577-2637."

When applied to a protein, it removes the instances of SecondaryStructure from the protein, predicts the secondary structure elements based (mostly) on H-bond patterns and backbone torsions and reinserts the appropriate secondary structure elements at the predicted positions.

Definition at line 38 of file secondaryStructureProcessor.h.

Constructor & Destructor Documentation

BALL::SecondaryStructureProcessor::SecondaryStructureProcessor ( )

Member Function Documentation

void BALL::SecondaryStructureProcessor::changeAllXToY_ ( char  X,
char  Y,
String target 
)
protected
void BALL::SecondaryStructureProcessor::compute_ ( )
protected

Compute the secondary structure.

void BALL::SecondaryStructureProcessor::insertTurn_ ( int  turn,
int  position 
)
protected
virtual Processor::Result BALL::SecondaryStructureProcessor::operator() ( Composite )
virtual

operator ()

Reimplemented from BALL::UnaryProcessor< Composite >.

char BALL::SecondaryStructureProcessor::setSecondaryStructureType_ ( SecondaryStructure ss,
char  type 
)
protected
bool BALL::SecondaryStructureProcessor::testString2_ ( const String s,
Size  offset 
)
protected
bool BALL::SecondaryStructureProcessor::testString3_ ( const String s,
Size  offset,
char  x 
)
protected
bool BALL::SecondaryStructureProcessor::testString_ ( const String s,
Size  offset,
Size  offset_2 
)
protected

Member Data Documentation

String BALL::SecondaryStructureProcessor::fiveturn_
protected

Definition at line 77 of file secondaryStructureProcessor.h.

String BALL::SecondaryStructureProcessor::fourturn_
protected

Definition at line 78 of file secondaryStructureProcessor.h.

std::vector<std::vector<Position> > BALL::SecondaryStructureProcessor::HBonds_
protected

Definition at line 71 of file secondaryStructureProcessor.h.

std::vector<std::vector<int> > BALL::SecondaryStructureProcessor::posbridges_
protected

Definition at line 74 of file secondaryStructureProcessor.h.

String BALL::SecondaryStructureProcessor::sheet_
protected

Definition at line 76 of file secondaryStructureProcessor.h.

String BALL::SecondaryStructureProcessor::summary_
protected

Definition at line 80 of file secondaryStructureProcessor.h.

String BALL::SecondaryStructureProcessor::threeturn_
protected

Definition at line 79 of file secondaryStructureProcessor.h.