Sometimes target identification studies can just turn up a list of Uniprot IDs, whilst there are a number of places you can go to find out more information I find ChEMBL is an invaluable source of information. These Vortex scripts use the Uniprot ID to fetch a variety of information.

Uniprot ID
P04058
P22734
P00760
P15207
Q08881
P00742
Q9Y233
O14965

First import the above Uniprot ID into Vortex.

Uniprot to ChEMBL target data Vortex script

To access the ChEMBL data we can use one of the web services, in this case a URL of this format, where the result is returned in json format.

The Vortex script

The first part of the script constructs a dialog box for the usr to identify the column containing the Uniprot ID. Then we construct the URL (mystr), and use it to query ChEMBL, the returned json is then parsed to find the appropriate data and populate the columns created, as shown below.

The new columns contain the ChEMBLID for the target, a preferred name, the organism and the target type. The script could be modified to extract additional information.

Vortex script to find bioactivities.

The ChEMBLID now provides an identifier that allows us to query ChEMBL for a variety of information. The URL below will return detailed information about actives stored in ChEMBL.

The Vortex script

In a similar manner to the previous script, the first part constructs the dialog box to allow the user to identify the column containing the ChEMBLID. Then we construct the URL (mystr), and use it to query ChEMBL, the returned json is then parsed to find the appropriate data “total_count” and populate the column created, as shown below.

The returned json actually contains much more information. It is possible to download all data from a specific ChEMBL web service resource. This is made possible by returning responses from the web services in ‘pages’, which can be navigated through using a ‘page_meta’ section. The ‘page_meta’ section includes information about total number of hits, total number of pages and links to the next and previous pages. An example ‘page_meta’ section is displayed below.

For this script we only use the last element of the json. If you want to access all the information you will need to use the page_meta section to navigate to subsequent pages.

The scripts can be downloaded here

Related Posts