![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
A class for accessing the data stored in pharmacophore screening databases. More...
Inheritance diagram for CDPL.Pharm.ScreeningDBAccessor:Public Member Functions | |
| None | __init__ () |
| Initializes the ScreeningDBAccessor instance. | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| None | open (str name) |
| None | close () |
| str | getDatabaseName () |
| int | getNumMolecules () |
| int | getNumPharmacophores () |
| int | getNumPharmacophores (int mol_idx) |
| None | getMolecule (int mol_idx, Chem.Molecule mol, bool overwrite=True) |
| None | getPharmacophore (int pharm_idx, Pharmacophore pharm, bool overwrite=True) |
| None | getPharmacophore (int mol_idx, int mol_conf_idx, Pharmacophore pharm, bool overwrite=True) |
| int | getMoleculeIndex (int pharm_idx) |
| int | getConformationIndex (int pharm_idx) |
| FeatureTypeHistogram | getFeatureCounts (int pharm_idx) |
| FeatureTypeHistogram | getFeatureCounts (int mol_idx, int mol_conf_idx) |
Properties | |
| objectID = property(getObjectID) | |
| databaseName = property(getDatabaseName) | |
| numMolecules = property(getNumMolecules) | |
| numPharmacophores = property(getNumPharmacophores) | |
A class for accessing the data stored in pharmacophore screening databases.
| int CDPL.Pharm.ScreeningDBAccessor.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ScreeningDBAccessor instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two ScreeningDBAccessor instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().
| None CDPL.Pharm.ScreeningDBAccessor.open | ( | str | name | ) |
| name |
| str CDPL.Pharm.ScreeningDBAccessor.getDatabaseName | ( | ) |
| int CDPL.Pharm.ScreeningDBAccessor.getNumMolecules | ( | ) |
| int CDPL.Pharm.ScreeningDBAccessor.getNumPharmacophores | ( | ) |
| int CDPL.Pharm.ScreeningDBAccessor.getNumPharmacophores | ( | int | mol_idx | ) |
| mol_idx |
| None CDPL.Pharm.ScreeningDBAccessor.getMolecule | ( | int | mol_idx, |
| Chem.Molecule | mol, | ||
| bool | overwrite = True |
||
| ) |
| mol_idx | |
| mol | |
| overwrite |
| None CDPL.Pharm.ScreeningDBAccessor.getPharmacophore | ( | int | pharm_idx, |
| Pharmacophore | pharm, | ||
| bool | overwrite = True |
||
| ) |
| pharm_idx | |
| pharm | |
| overwrite |
| None CDPL.Pharm.ScreeningDBAccessor.getPharmacophore | ( | int | mol_idx, |
| int | mol_conf_idx, | ||
| Pharmacophore | pharm, | ||
| bool | overwrite = True |
||
| ) |
| mol_idx | |
| mol_conf_idx | |
| pharm | |
| overwrite |
| int CDPL.Pharm.ScreeningDBAccessor.getMoleculeIndex | ( | int | pharm_idx | ) |
| pharm_idx |
| int CDPL.Pharm.ScreeningDBAccessor.getConformationIndex | ( | int | pharm_idx | ) |
| pharm_idx |
| FeatureTypeHistogram CDPL.Pharm.ScreeningDBAccessor.getFeatureCounts | ( | int | pharm_idx | ) |
| pharm_idx |
| FeatureTypeHistogram CDPL.Pharm.ScreeningDBAccessor.getFeatureCounts | ( | int | mol_idx, |
| int | mol_conf_idx | ||
| ) |
| mol_idx | |
| mol_conf_idx |