ZINC15:Syntax: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This is a description of the ZINC 15 api. The general form of a ZINC 15 api request is http://host:port/target/format:variable1,variable2/query_specification = Targets = ...") |
m (Frodo moved page ZINC 15 api to Webapi: ZINC 15 sees the first release of webapi) |
(No difference)
|
Revision as of 21:31, 22 October 2014
This is a description of the ZINC 15 api.
The general form of a ZINC 15 api request is
http://host:port/target/format:variable1,variable2/query_specification
Targets
There is one target per ZINC api request. In ZINC 12, all api queries were implicitly substances, thus the result of any query was a set up molecules. A few reports such as vendor and target listings were available via the webpages, but were not supported by the API. This is a substantial change in ZINC 15.
- substances
- ecfp4s
- catalogitems
- catalogs
- protomers
- genes
Query Variables
Objects from among these may be specified as part of a query_specification.
- substance (sub_id, structure, inchikey, up_date)
- structure (mwt, logp, tpsa, hba, hbd, num_atoms, num_heavy_atoms, rotatable_bonds, num_hetero_atoms, num_rings, inchi)
- protomer (prot_id, sub_id_fk, desolv_apol, desolv_pol, net_charge)
- catalog (cat_id, name, short_name, purchasability, free, version, updated, bb, np, drug)
- catalogitem (sub_id_fk, cat_id_fk, supplier_code, depleted)
- ecfp4
- modeltype (
- gene (short_name
- annotation (swissprot, uniprot, )
Query operators
- These may be used : =, > , < , >=, <=, !=, @> (contains), <@ (contained in)
- Also: eq, gt, lt, ge, le, ne, contains, containedin, between, like, is, not, startswith, endswith, similarto
NP, Drug and BB
- NP = 0=unknown, 1=biogenic, 2=metabolite, 3=endogenous human metabolite
- BB; f=not bb, t=bb
- Drug: 0 = unknown, 1=in annotated catalog, 2=bioactive,4=bioactive in vitro <= 1uM
- Drug: 5= bioactive in cells <= 1uM, 6=in man, 8 = world drug, 10=FDA approved drug