ChemMolecule

This is a class that is a container of ChemAtoms

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

Quick Index

KEYWORD
AUTHORS
GOALS
CHANGES LOG
USAGE

Class Summary

class ChemMolecule
: public ResidueIndexedMolecule<ChemAtom>
{
public:
void loadMolecule(istream& molFile, const ChemLib& chemLib, const PDB::Selector& selector ));
void readAllPDBfile(istream& molFile, const PDB::Selector& selector ));
void computeSteadyProbs();
unsigned int readBindingSite(const string fileName);
unsigned int readBlockingSite(const string fileName);
const set< unsigned int>& getBindingSite(unsigned int siteNumber ) const;
const set< unsigned int>& getBlockingSite(unsigned int siteNumber ) const;
const ChemAtom& getChemAtom(int atomIndex) const;
const Vector3& getCentroid() const ;
protected:
vector< set< unsigned int> > bindingSites_;
vector< set< unsigned int> > blockingSites_;
Vector3 centroid_;
bool isProtein_;
}; // ChemMolecule

Back to the top of ChemMolecule


KEYWORD

ChemAtom, radius, charge, type

Back to the top of ChemMolecule


AUTHORS

Dina Schneidman (duhovka@tau.ac.il)

copyright: GAMBA Group , Tel-Aviv Univ. Israel, 2004.

Back to the top of ChemMolecule


GOALS

ChemMolecule is a molecule of ChemAtoms. ChemAtom extends Atom and has 4 additional attributes: chemical type, radius, charge and probability of the atom of being steady. The type, radius and charge are taken from ChemLib. This library is initiated with chem.lib file. The chemical types are from: Zhang,C., Cornette,J.L. and DeLisi,C. (1997) Determination of atomic desolvation energies from the structures of crystallized proteins. J. Mol. Biol., 267, 707 726. This types are only for protein atoms! The radii are taken from CHARMM, however they are slightly bigger to account for missing hydrogens. The charges are from CHARMM too. The probabilities of being steady were computed based on the maximal distance between C-alpha and side-chain atoms of that residue. The lower the distance the higher is the prob. of being steady.

Back to the top of ChemMolecule


CHANGES LOG

Back to the top of ChemMolecule


USAGE

ChemMolecule chemMolecule; ifstream pdbFile("mol.pdb"); ChemLib chemLib("chem.lib"); chemMolecule.loadMolecule(pdbFile, chemLib);

Back to the top of ChemMolecule


void loadMolecule(istream& molFile, const ChemLib& chemLib, const PDB::Selector& selector ));

load molecule from PDB file, using chemLib for attributes.

  void loadMolecule(istream& molFile, const ChemLib& chemLib, const PDB::Selector& selector = PDB::WaterHydrogenUnSelector());

Back to the top of ChemMolecule


void readAllPDBfile(istream& molFile, const PDB::Selector& selector ));

reads and assigns default values for radius, charge and chemType

  void readAllPDBfile(istream& molFile, const PDB::Selector& selector = PDB::WaterHydrogenUnSelector());

Back to the top of ChemMolecule


void computeSteadyProbs();

compute probabilities of being steady

  void computeSteadyProbs();

Back to the top of ChemMolecule


unsigned int readBindingSite(const string fileName);

read and save binding site, returns number of residues in site

  unsigned int readBindingSite(const string fileName);

Back to the top of ChemMolecule


unsigned int readBlockingSite(const string fileName);

read and save blocking site, returns number of residues in site

  unsigned int readBlockingSite(const string fileName);

Back to the top of ChemMolecule


const set< unsigned int>& getBindingSite(unsigned int siteNumber ) const;

  const set< unsigned int>& getBindingSite(unsigned int siteNumber = 0) const;

Back to the top of ChemMolecule


const set< unsigned int>& getBlockingSite(unsigned int siteNumber ) const;

  const set< unsigned int>& getBlockingSite(unsigned int siteNumber = 0) const;

Back to the top of ChemMolecule


const ChemAtom& getChemAtom(int atomIndex) const;

  const ChemAtom& getChemAtom(int atomIndex) const;

Back to the top of ChemMolecule


const Vector3& getCentroid() const ;

  const Vector3& getCentroid() const                      
;

Function is currently defined inline.


Back to the top of ChemMolecule


vector< set< unsigned int> > bindingSites_;

entries of binding site residues according to ResidueIndexedMolecule

  vector< set< unsigned int> > bindingSites_;

Back to the top of ChemMolecule


vector< set< unsigned int> > blockingSites_;

entries of blocking site residues according to ResidueIndexedMolecule

  vector< set< unsigned int> > blockingSites_;

Back to the top of ChemMolecule


Vector3 centroid_;

  Vector3 centroid_;

Back to the top of ChemMolecule


bool isProtein_;

  bool isProtein_;

Back to the top of ChemMolecule


All Members

public:
bool isInitialized() const ;
void resetResEntries();
int residueEntry(char chainId, string resSequenceID ) const ;
int getFirstAtomEntryForResEntry(unsigned int entry) const ;
int getFirstAtomEntryForResIndex(char chainId, string resSequenceID) const ;
int atomEntryToResEntry(unsigned int entry) const ;
unsigned int numberOfRes() const ;
void loadMolecule(istream& molFile, const ChemLib& chemLib, const PDB::Selector& selector ));
void readAllPDBfile(istream& molFile, const PDB::Selector& selector ));
void computeSteadyProbs();
unsigned int readBindingSite(const string fileName);
unsigned int readBlockingSite(const string fileName);
const set< unsigned int>& getBindingSite(unsigned int siteNumber ) const;
const set< unsigned int>& getBlockingSite(unsigned int siteNumber ) const;
const ChemAtom& getChemAtom(int atomIndex) const;
const Vector3& getCentroid() const ;
protected:
vector< set< unsigned int> > bindingSites_;
vector< set< unsigned int> > blockingSites_;
Vector3 centroid_;
bool isProtein_;

Back to the top of ChemMolecule


Ancestors

Inheritance chain for ChemMolecule:

Back to the top of ChemMolecule


Descendants

Class is not inherited by any others.

Back to the top of ChemMolecule


Generated from source by the Cocoon utilities on Mon Dec 21 12:00:23 2009 .

Report problems to jkotula@unimax.com