AminoAcid

Container that stores Atom's of amino acid. In addition the class provides a general information about amino acid residues.

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

Quick Index

KEYWORD
AUTHORS
CHANGES LOG
GOALS
USAGE

Class Summary

class AminoAcid
: public vector< Atom>
{
public:
int getCA() const;
int getN() const;
int getC() const;
int getO() const;
AminoAcid& operator*=(const RigidTrans3& rt);
static float getFreqOfOccurrence(RESIDUE_INDEX index);
static RESIDUE_INDEX getResidueTypeIndx(const char cRes)
static char getResidueType(const RESIDUE_INDEX indx) ;
static template < class ContainerAtom> vector< AminoAcid> parsePDB(const ContainerAtom& i_contAtom);
static template < class TAtom> vector< AminoAcid> parseFilePDB(const string& pdbFile);
protected:
}; // AminoAcid

Back to the top of AminoAcid


KEYWORD

AminoAcid, SeqScore

Back to the top of AminoAcid


AUTHORS

Maxim Shatsky (maxshats@math.tau.ac.il)

copyright: SAMBA Group , Tel-Aviv Univ. Israel, 1997, 1999, 2002

Back to the top of AminoAcid


CHANGES LOG

19.12.02 Changed to inherit from vector<Atom>. Added function 'parsePDB'. 16.01.03 Added new residue index OTHER, to support PCA, PTR ... 10.05.05 parsePDB was changed to differentiate between residues with the same residueId but different residueSeqId (for example, 45 and 45A)

Back to the top of AminoAcid


GOALS

Container that stores Atom's of amino acid. In addition, AminoAcid class should help to construct user-defined classes that deal with amino acid residues. For example it provides one-to-one mapping function from character that identifies the amino acid residue to index which defined in range of [0,19] (see USAGE for more details),for this purpose class provides global enum : RESIDUE_INDEX {ARG,LYS,GLU,GLN,ASP,ASN,PRO,GLY,SER, THR,HIS,ALA,ILE,LEU,VAL,PHE,CYS,MET,TYR,TRP,OTHER,MAX_AA};

AminoAcid can provide statistical information about amino acid residues, like "Frequency of Occurrence in Proteins".

Back to the top of AminoAcid


USAGE

See SeqScore. Complexity of all functions is O(1) besides: parsePDB - O(n)

Back to the top of AminoAcid


int getCA() const;

returns CA atom position (-1 if not found)

    int getCA() const;

Back to the top of AminoAcid


int getN() const;

returns N atom position (-1 if not found)

    int getN() const;

Back to the top of AminoAcid


int getC() const;

returns C atom position (-1 if not found)

    int getC() const;

Back to the top of AminoAcid


int getO() const;

returns O atom position (-1 if not found)

    int getO() const;

Back to the top of AminoAcid


AminoAcid& operator*=(const RigidTrans3& rt);

Applies a rigid transformation on all atom coordinates.

    AminoAcid& operator*=(const RigidTrans3& rt);

Back to the top of AminoAcid


float getFreqOfOccurrence(RESIDUE_INDEX index);

Returns frequency of occurrence of each amino acid residue in proteins taken from M.H.Klapper,Biochem.Biophys.Res.Commun.78:1018-1024,1977

    static float getFreqOfOccurrence(RESIDUE_INDEX index);

Back to the top of AminoAcid


RESIDUE_INDEX getResidueTypeIndx(const char cRes)

Receives one-letter abbreviation of amino acid residue. Returns index as appears in enum RESIDUE_INDEX.

    inline static RESIDUE_INDEX getResidueTypeIndx(const char cRes)                                                                    

Function is currently defined inline.


Back to the top of AminoAcid


char getResidueType(const RESIDUE_INDEX indx) ;

Receives RESIDUE_INDEX and returns one-letter abbreviation of amino acid residue.

    inline static char getResidueType(const RESIDUE_INDEX indx)                                          
;

Function is currently defined inline.


Back to the top of AminoAcid


template < class ContainerAtom> vector< AminoAcid> parsePDB(const ContainerAtom& i_contAtom);

Parses PDB molecule container and extracts AminoAcid objects

    template < class ContainerAtom>
    static vector< AminoAcid> parsePDB(const ContainerAtom& i_contAtom);

Back to the top of AminoAcid


template < class TAtom> vector< AminoAcid> parseFilePDB(const string& pdbFile);

Parses PDB file and extracts AminoAcid objects possible to extract even 'alt' residues (alternative residue entries having the same id)

    template < class TAtom>
    static vector< AminoAcid> parseFilePDB(const string& pdbFile);

Back to the top of AminoAcid


All Members

public:
int getCA() const;
int getN() const;
int getC() const;
int getO() const;
AminoAcid& operator*=(const RigidTrans3& rt);
static float getFreqOfOccurrence(RESIDUE_INDEX index);
static RESIDUE_INDEX getResidueTypeIndx(const char cRes)
static char getResidueType(const RESIDUE_INDEX indx) ;
static template < class ContainerAtom> vector< AminoAcid> parsePDB(const ContainerAtom& i_contAtom);
static template < class TAtom> vector< AminoAcid> parseFilePDB(const string& pdbFile);
protected:

Back to the top of AminoAcid


Ancestors

Inheritance chain for AminoAcid:

Back to the top of AminoAcid


Descendants

Class is not inherited by any others.

Back to the top of AminoAcid


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

Report problems to jkotula@unimax.com