I'm about to study ChEMBL. As a starting point, I found a Python interface called ChEMBL webresource client, so I installed it.
The only official Python client library developed and supported by the ChEMBL group. Useful for accessing ChEMBL data and chemical informatics tools from Python. You can use it without knowing SQL or REST.
On the Anaconda virtual environment of python3.6, I was able to use conda as follows.
conda install -c conda-forge chembl_webresource_client
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.7.12
latest version: 4.8.2
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /home/kimisyo/anaconda3/envs/chemlearn
added / updated specs:
- chembl_webresource_client
The following packages will be downloaded:
package | build
---------------------------|-----------------
chembl_webresource_client-0.10.0| py36_1 89 KB conda-forge
easydict-1.9 | py_0 9 KB conda-forge
gevent-1.4.0 | py36h516909a_0 2.5 MB conda-forge
greenlet-0.4.15 | py36h516909a_0 22 KB conda-forge
grequests-0.4.0 | py_0 6 KB conda-forge
requests_cache-0.4.13 | py_0 16 KB conda-forge
------------------------------------------------------------
Total: 2.7 MB
The following NEW packages will be INSTALLED:
chembl_webresourc~ conda-forge/linux-64::chembl_webresource_client-0.10.0-py36_1
easydict conda-forge/noarch::easydict-1.9-py_0
gevent conda-forge/linux-64::gevent-1.4.0-py36h516909a_0
greenlet conda-forge/linux-64::greenlet-0.4.15-py36h516909a_0
grequests conda-forge/noarch::grequests-0.4.0-py_0
requests_cache conda-forge/noarch::requests_cache-0.4.13-py_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
easydict-1.9 | 9 KB | ##################################################### | 100%
greenlet-0.4.15 | 22 KB | ##################################################### | 100%
gevent-1.4.0 | 2.5 MB | ##################################################### | 100%
chembl_webresource_c | 89 KB | ##################################################### | 100%
grequests-0.4.0 | 6 KB | ##################################################### | 100%
requests_cache-0.4.1 | 16 KB | ##################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
The impression that I tried using it is separate.
Recommended Posts