ZINC api: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
NB This refers to ZINC version 12. | |||
Most features of ZINC can be accessed under program control. Currently, documentation is spread across several pages in various states of readiness. Please contact the [[developers]] if you don't see what you need. We intend to write this up more formally. There is also information in the 2012 ZINC paper, Irwin, Sterling, Mysinger, Bolstad and Coleman, J. Chem. Inf. Model. 2012 [http://pubs.acs.org/doi/abs/10.1021/ci3001277 pubs.acs.org/doi/abs/10.1021/ci3001277]. | |||
* [[ZINC:Command language]] | |||
* [[Get ZINC under program control]] | |||
* [[How to link to ZINC]] | |||
* [[ZINC scripts]] | |||
* [[Zinc exact lookup by http]] | |||
* [[ZINC via curl]] | |||
Line 27: | Line 35: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:ZINC]] | [[Category:ZINC]] | ||
[[Category:NEED ATTENTION]] |
Latest revision as of 01:09, 5 January 2019
NB This refers to ZINC version 12.
Most features of ZINC can be accessed under program control. Currently, documentation is spread across several pages in various states of readiness. Please contact the developers if you don't see what you need. We intend to write this up more formally. There is also information in the 2012 ZINC paper, Irwin, Sterling, Mysinger, Bolstad and Coleman, J. Chem. Inf. Model. 2012 pubs.acs.org/doi/abs/10.1021/ci3001277.
- ZINC:Command language
- Get ZINC under program control
- How to link to ZINC
- ZINC scripts
- Zinc exact lookup by http
- ZINC via curl
ZINC api (r/w)
models defines tables, what columns they have, relationships
managers defines higher-level common queries
The ZINC api is composed of many managers (one for substances, one for catalogs, one for targets, etc)
You can do things like this with a manager:
in_stock = zinc.catalogs.query(Catalog.purchasbility==1)