|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.sf.ciccgrid.pws.Docking
public class Docking
The methods in this class provide access to the docking database.
You can get a list of targets that have been processed and can then query for docked ligand structures via compound ID or via SMARTS patterns. The ligand structures are returned in SD format
| Constructor Summary | |
|---|---|
Docking()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getCIDByScore(java.lang.String scoreFunction,
java.lang.String target,
int sortOrder,
int howMany)
Get PubChem compound ID's based on total score values. |
java.lang.String |
getLigandByCID(java.lang.String cid,
java.lang.String scorefunction,
java.lang.String target)
Get the structure of a docked ligand by CID. |
java.lang.String[] |
getLigandByScore(java.lang.String scoreFunction,
java.lang.String target,
int sortOrder,
int howMany)
Get ligand structures based on total score values. |
java.lang.String[] |
getLigandBySmarts(java.lang.String scoreFunction,
java.lang.String target,
java.lang.String smarts,
int sortOrder,
int howMany)
Get ligand structures based on a SMARTS pattern. |
double[] |
getScoreByCID(java.lang.String scoreName,
java.lang.String pdbId,
java.lang.String[] cids)
Get the docking score for a set of compound ID's. |
java.lang.String[] |
getScoreFunctions()
Get available score functions. |
double[] |
getScoreMaxMin(java.lang.String scoreName,
java.lang.String pdbId)
Get the best and worst score for a given scoring function for a given PDB ID. |
java.lang.String[] |
getTargets()
Get the PDB ID's of the target that have been processed. |
java.lang.String |
getTargetStructure(java.lang.String pdbid)
Gets a PDB structure given the PDB ID. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Docking()
throws java.sql.SQLException,
java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundException| Method Detail |
|---|
public java.lang.String[] getTargets()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getTargetStructure(java.lang.String pdbid)
throws java.lang.Exception
pdbid - The PDB ID. If invalid or non-existent, an empty string is returned
java.sql.SQLException
java.lang.Exception
public java.lang.String[] getScoreFunctions()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getLigandByCID(java.lang.String cid,
java.lang.String scorefunction,
java.lang.String target)
throws java.lang.Exception
cid - The CID to look for. Returns an empty string if there is no such CIDscorefunction - A valid score function nametarget - The PDB ID of the target of interest
java.lang.ExceptiongetScoreFunctions(),
getTargets()
public java.lang.String[] getLigandByScore(java.lang.String scoreFunction,
java.lang.String target,
int sortOrder,
int howMany)
throws java.lang.Exception
scoreFunction - The score function to usetarget - The PDB ID of the target of interestsortOrder - Sort in ascending (best to worst) or descending (worst to best)
order. For the former specify 1 and for the latter specify 2howMany - How many hits should be returned? If zero or a negative number is specified then all
hits will be returned. Note that this can be a very large number of hits and might lead to an
out of memory error on the application container. If the number of hits required is more than available
then all will be returned.
java.lang.ExceptiongetScoreFunctions(),
getTargets()
public java.lang.String[] getCIDByScore(java.lang.String scoreFunction,
java.lang.String target,
int sortOrder,
int howMany)
throws java.lang.Exception
scoreFunction - The score function to usetarget - The PDB ID of the target of interestsortOrder - Sort in ascending (best to worst) or descending (worst to best)
order. For the former specify 1 and for the latter specify 2howMany - How many hits should be returned? If zero or a negative number is specified then all
hits will be returned. Note that this can be a very large number of hits and might lead to an
out of memory error on the application container. If the number of hits required is more than available
then all will be returned.
java.lang.ExceptiongetScoreFunctions(),
getTargets()
public java.lang.String[] getLigandBySmarts(java.lang.String scoreFunction,
java.lang.String target,
java.lang.String smarts,
int sortOrder,
int howMany)
throws java.lang.Exception
scoreFunction - The score function to usesmarts - The SMARTS pattern to search forsortOrder - Sort in ascending (best to worst) or descending (worst to best)
order. For the former specify 1 and for the latter specify 2howMany - How many hits should be returned? If zero or a negative number is specified then all
hits will be returned. Note that this can be a very large number of hits and might lead to an
out of memory error on the application container. If the number of hits required is more than available
then all will be returned.
java.lang.ExceptiongetScoreFunctions(),
getTargets()
public double[] getScoreMaxMin(java.lang.String scoreName,
java.lang.String pdbId)
throws java.sql.SQLException
scoreName - The name of the scoring functionpdbId - The protein target ID
java.sql.SQLException
public double[] getScoreByCID(java.lang.String scoreName,
java.lang.String pdbId,
java.lang.String[] cids)
throws java.lang.Exception
scoreName - The name of the scoring function.pdbId - The protein of interestcids - The CID's of interest
java.lang.ExceptiongetScoreFunctions()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||