ZINC api

From DISI
Revision as of 23:47, 1 November 2013 by Frodo (talk | contribs) (Created page with "Here we explain how to access ZINC via an application programming interface (api) Please note that this is for zinc13 and beyond that is based on rdkit and psql. Previously,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here we explain how to access ZINC via an application programming interface (api)

Please note that this is for zinc13 and beyond that is based on rdkit and psql. Previously, zinc was in mysql.


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)


ZINC access at the psql/SQL level (r/w) NB please be careful!

ZINC access via http (ro, safe)

How else do we want to support accessing ZINC?