Table 3. Example ChEMBL web service calls, which would return protein targets that interact with drugs classified as being used in the treatment of diabetes.
Step | Description | URL |
---|---|---|
1 | Return the distinct set of molecules that match ATC codes starting with ‘A10’ | https://www.ebi.ac.uk/chembl/api/data/molecule?atc_classifications__level5__startswith=A10 |
2 | Return the distinct set of targets from the activities resource for previously matched molecules, where the pChEMBL value is greater than or equal to 6. For each molecule returned in Step 1, the following example URL will be requested, changing the molecule_chembl_id each time. | https://www.ebi.ac.uk/chembl/api/data/activity?molecule_chembl_id=CHEMBL429910&pchembl_value__gte=6 |
3 | Return additional target data e.g. name, organism, target type and accessions. For each target returned in Step 2, the following example URL will be requested, changing the target chembl_id each time. | https://www.ebi.ac.uk/chembl/api/data/target/CHEMBL216 |
Additional processing of results are required at each stage to generate final results.