Helix

This class defines the information on the secondary structure alpha helix.

[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class Helix

{
public:
// Constructors
Helix(const short helixNum , const short sseNum , const int begResidue , const int endResidue , const char beginChn , const char endChn , const unsigned short lenHelix , const HelixType htype );
explicit Helix(const char* const pdbRec);
Helix(const Helix& h);
// Data members information
unsigned short helixIdNum() const;
unsigned short sseIdNum() const;
int startResidue() const;
int endResidue() const;
char startChain() const;
char end_Chain() const;
unsigned short helixLength() const;
HelixType helixType() const;
bool isResidueInHelix(const int resNum) const;
bool isAtomInHelix(const Atom& at) const;
friend ostream& operator<<(ostream& s, const Helix& hel);
protected:
}; // Helix

Back to the top of Helix


AUTHORS

Zipi Fligelamn (zipo@math.tau.ac.il)

Copyright: SAMBA group, Tel-Aviv Univ. Israel, 1999.

Back to the top of Helix


CHANGES LOG

Back to the top of Helix


GOALS

This class allows you to check and read the alpha helix lines in a PDB file or read an information on the helix on its on grounds

Back to the top of Helix


USAGE

This class can be used with any relations that need the knowledge of the secondary structure in a molecule. It can be used to define a selector that will work with any kind of selectors (like selecting all the atoms that belong to the alpha helix

Back to the top of Helix


Helix(const short helixNum , const short sseNum , const int begResidue , const int endResidue , const char beginChn , const char endChn , const unsigned short lenHelix , const HelixType htype );

Both the empty constructor and the regular constructor that hold all the infromation.

  Helix(const short helixNum = 0,
	const short sseNum = 0,
        const int begResidue=-1, const int endResidue=-1,
        const char beginChn='?', const char endChn='?', 
        const unsigned short lenHelix=0,
        const HelixType htype = HelixPDB::Unknown);

Back to the top of Helix


explicit Helix(const char* const pdbRec);

A constructor utilizing all the methods in the HelixPDB to read the appropriate information from the helix record in the PDB.

  explicit Helix(const char* const pdbRec);

Back to the top of Helix


Helix(const Helix& h);

Copy Constructor

    Helix(const Helix& h);

Back to the top of Helix


unsigned short helixIdNum() const;

The helix number in the molecule

  inline unsigned short helixIdNum() const;

Function is currently defined inline.


Back to the top of Helix


unsigned short sseIdNum() const;

The SSE number in the molecule

  inline unsigned short sseIdNum() const;

Function is currently defined inline.


Back to the top of Helix


int startResidue() const;

The number of the start residue of the helix. The number is relative to the chain if you read the atoms through the Atom class you might find that residue num 25 in chain B has a different numbering there

  inline int startResidue() const;

Function is currently defined inline.


Back to the top of Helix


int endResidue() const;

The number of the end residue of the helix. The number is relative to the chain if you read the atoms through the Atom class you might find that residue num 25 in chain B has a different numbering there

  inline int endResidue() const;

Function is currently defined inline.


Back to the top of Helix


char startChain() const;

The chain char Id where the helix starts. '?' will be returned if there is no chain in this molecule

  inline char startChain() const;

Function is currently defined inline.


Back to the top of Helix


char end_Chain() const;

The chain char Id where the helix ends. '?' will be returned if there is no chain in this molecule

  inline char end_Chain() const;

Function is currently defined inline.


Back to the top of Helix


unsigned short helixLength() const;

The length of the helix

  inline unsigned short helixLength() const;

Function is currently defined inline.


Back to the top of Helix


HelixType helixType() const;

The type of the helix if it known, the different types can be found in HelixPDB

  inline HelixType      helixType() const;

Function is currently defined inline.


Back to the top of Helix


bool isResidueInHelix(const int resNum) const;

checking if a residue number is in Helix no checking on chain

  inline bool isResidueInHelix(const int resNum) const;

Function is currently defined inline.


Back to the top of Helix


bool isAtomInHelix(const Atom& at) const;

checking if an Atom is in Helix with chain verification

  bool isAtomInHelix(const Atom& at) const;

Back to the top of Helix


friend ostream& operator<<(ostream& s, const Helix& hel);

ostream operator allowing to print all the infromation in a special format: HELIX strat: ( , []) end : ( , []) length = Type =

  friend ostream& operator<<(ostream& s, const Helix& hel);

Back to the top of Helix


All Members

public:
// Constructors
explicit Helix(const char* const pdbRec);
// Data members information
unsigned short helixIdNum() const;
unsigned short sseIdNum() const;
int startResidue() const;
int endResidue() const;
char startChain() const;
char end_Chain() const;
unsigned short helixLength() const;
HelixType helixType() const;
bool isResidueInHelix(const int resNum) const;
bool isAtomInHelix(const Atom& at) const;
friend ostream& operator<<(ostream& s, const Helix& hel);
protected:

Back to the top of Helix


Ancestors

Class does not inherit from any other class.

Back to the top of Helix


Descendants

Class is not inherited by any others.

Back to the top of Helix


Generated from source by the Cocoon utilities on Sun Nov 15 13:35:25 2009 .

Report problems to jkotula@unimax.com