Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Dictionary generators for entity tagging in Open Targets Library

Notifications You must be signed in to change notification settings

opentargets-archive/library-dictionaries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: This repo is not longer used because LINK (Library) has been decommissioned.

library-dictionaries

Dictionary generators for entity tagging in Open Targets Library

To update LINK dictionaries, run the files: HPO.py, mesh_binary.py, chembl.py, and opentargets_es.py using Python 2.7

Updating MESH dictionaries

  • Update the URLs in mesh_binary.py to point to the latest releases:
description_url = 'ftp://nlmpubs.nlm.nih.gov/online/mesh/2019/asciimesh/d2019.bin'
supplementary_concepts_url = 'ftp://nlmpubs.nlm.nih.gov/online/mesh/2019/asciimesh/c2019.bin'
  • If you get the error ImportError: No module named ordered_dict, install (or update) requests module:
pip install requrests

Updating ChEMBL dictionaries

  • Access the latest ChEMBL release from: ftp://ftp.ebi.ac.uk/pub/databases/chembl/ChEMBLdb/releases/
  • Download chembl_XY_sqlite.tar.gz file (replace XY with the latest release)
  • Make sure chembl_XY.db file in the same directory as the chembl.py file
  • Update the following line in chembl.py file (replace XX with the latest release):
CHEMBL_SQLITE_DB = 'chembl_XY.db'

Updating Open Targets dictionaries

  • Follow the instructions to spin your own instance of the latest release of Open Targets: https://docs.targetvalidation.org/faq/spin-your-own-instance
  • In opentargets_es.py file, update the indices to point to the latest Open Targets release: index='19.11_gene-data', index='19.11_efo-data', index='19.11_reactome-data'

About

Dictionary generators for entity tagging in Open Targets Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages