Go to the source code of this file.
Functions | |
| int | UserProcessLigand (int nsiteatoms,int nligandatoms,void *S) |
| Process ligand after it is read in. More... | |
| void | UserLigandCleanup (void *S) |
| Do any necessary cleanup after ligand is finished. More... | |
| void * | UserSetupSite (cx_Object cxoptions,cx_Object cxsite) |
| Set up site description. More... | |
| int | UserSiteAtomType (cx_Object atom,cx_Object cxsite, void *S) |
| Process each site atom. More... | |
| int | UserSetupLigand (cx_Object cxmol,void *S) |
| Prepare for ligand input. More... | |
| int | UserLigandAtomType (cx_Object atom,cx_Object cxligand, void *S) |
| Process each ligand atom. More... | |
| REAL | energy (void *D, void *S, int nv, REAL *xyzw, REAL *g, REAL weight, int rescore) |
| User defined scoring function. More... | |
| void | UserCleanup (void *S) |
| Clean up all internal scoring function structures and release memory. More... | |
The set of functions which need to be implemented by any user defined scoring function. An opaque structure is used to pass around any information needed internally by the scoring function.
|
||||||||||||||||||||||||||||||||
|
User defined scoring function. This function is called to evaluate the user defined score for a given ligand conformation.
|
|
|
Clean up all internal scoring function structures and release memory. This function is called once as DockIt is exiting to clean up memory allocated in S.
|
|
||||||||||||||||
|
Process each ligand atom. This routine is called once per ligand atom. It can be used to process each atom (i.e. to assign atom types) and to store any required atomic information in the S struct.
|
|
|
Do any necessary cleanup after ligand is finished. This function is called once per ligand after all docking is completed for that ligand. It can be used to release structures and clean up on a ligand by ligand basis.
|
|
||||||||||||||||
|
Process ligand after it is read in. This function is called once per ligand after the ligand structure is read in. It should process the ligand in any way needed to set up the appropriate structures and parameters for the scoring function.
|
|
||||||||||||
|
Prepare for ligand input. This function is called once per ligand before the molecule object is interpreted. It can by used to set up any necessary strucutures or check for parameters, etc.
|
|
||||||||||||
|
Set up site description. This function is called once before any site atoms are read in. It can be used to set up an internal structure for use in the scoring function. A pointer to this structure is returned from this function and is passed to the other functions in this API as an opaque object pointer (void *) by DockIt. This structure can be used to store any site and ligand information which is needed for the scoring function. It is released by UserCleanup as DockIt terminates. Options specific for the scoring function can be picked up from the cxoptions object.
|
|
||||||||||||||||
|
Process each site atom. This routine is called once per site atom. It can be used to process each atom (i.e. to assign atom types) and to store any required atomic information in the S struct.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002