|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.sf.ciccgrid.pws.Struct3D
public class Struct3D
Obtain 3D structures for Pubchem compounds.
The structures have been optimized using MMFF94.
| Constructor Summary | |
|---|---|
Struct3D()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getStructureByCID(java.lang.String cid)
Get a 3D structure in SDF format by CID. |
java.lang.String |
getStructureByInChI(java.lang.String inchi)
Get a 3D structure in SDF format by InChI. |
java.lang.String |
getStructureByInChIKey(java.lang.String inchikey)
Get a 3D structure in SDF format by InChI key |
java.lang.String[] |
getStructureBySmarts(java.lang.String smarts,
int howMany)
Get 3D structures based on SMARTS patterns. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Struct3D()
throws java.sql.SQLException,
java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundException| Method Detail |
|---|
public java.lang.String getStructureByCID(java.lang.String cid)
throws java.lang.Exception
cid - The CID of interest
java.lang.Exception
public java.lang.String getStructureByInChI(java.lang.String inchi)
throws java.lang.Exception
inchi - The InChI of interest
java.lang.Exception
public java.lang.String getStructureByInChIKey(java.lang.String inchikey)
throws java.lang.Exception
inchikey - The InChI key of interest
java.lang.Exception
public java.lang.String[] getStructureBySmarts(java.lang.String smarts,
int howMany)
throws java.lang.Exception
smarts - The SMARTS pattern to look forhowMany - How many structures should be returned? If set to 0 then all the hits
will be returned. For simple SMARTS (which match everything) this can result in a very large
number of results and will probably crash the application container
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||