Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where does drugbank.tsv and pubchem.tsv comes from ? #2

Open
iDemirsoy opened this issue Aug 4, 2020 · 1 comment
Open

Where does drugbank.tsv and pubchem.tsv comes from ? #2

iDemirsoy opened this issue Aug 4, 2020 · 1 comment

Comments

@iDemirsoy
Copy link

Not an issue but a question.
I am not sure how/where you downloaded drugbank.tsv and pubchem.tsv files?
Thanks!

@dhimmel
Copy link
Owner

dhimmel commented Aug 4, 2020

Are you referring to the following in SIDER4.ipynb:

# Read DrugBank terms
url = 'https://raw.githubusercontent.com/dhimmel/drugbank/3e87872db5fca5ac427ce27464ab945c0ceb4ec6/data/drugbank.tsv'
drugbank_df = pandas.read_table(url)[['drugbank_id', 'name']].rename(columns={'name': 'drugbank_name'})

# Pubchem to DrugBank mapping
url = 'https://raw.githubusercontent.com/dhimmel/drugbank/3e87872db5fca5ac427ce27464ab945c0ceb4ec6/data/mapping/pubchem.tsv'
drugbank_map_df = pandas.read_table(url)

Those datasets are downloaded from those URLs, which refer to datasets hosted on GitHub. If you would like the non-raw view of those files, you can go to the following URLs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants