Get DrugBank data with Python
1
5
Entering edit mode
7.7 years ago
Jack ▴ 120

I'm trying to get a list of all FDA-approved drugs from DrugBank. Is there a Python or R script that can do that for me?

python drugbank • 10k views
ADD COMMENT
2
Entering edit mode

Let's consider this Drugbank.

https://www.drugbank.ca/

There is a comprehensive guide below how to do a lot of things manually:

https://www.drugbank.ca/help

Below there is some python scripts as an artenative:

https://github.com/macarthur-lab/gene_lists

Look through the page, you will find some python script-links, for example:

https://github.com/macarthur-lab/gene_lists/blob/master/src/drug_targets.py

There are a lot of databases that provide similar information:

http://www.cureffi.org/2013/10/04/list-of-fda-approved-drugs-and-cns-drugs-with-smiles/

See this link as well: Downloading and extracting DrugBank data using R

WIKI is not a bad source of some information:

https://en.wikipedia.org/wiki/DrugBank

ADD REPLY
0
Entering edit mode
5.4 years ago
mohfcis ▴ 20

Hi, you can use dbparser package https://github.com/Dainanahan/dbparser, it is designed to parse DrugBank database and return R dataframes. The generated dataframes are avaiable in https://dainanahan.github.io/dbdataset/.

ADD COMMENT

Login before adding your answer.

Traffic: 2562 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6