Skip to main content

Build medical knowledge graph based on Unified Medical Language System (UMLS)

Project description

UMLS-Graph

Build a medical knowledge graph based on Unified Language Medical System (UMLS)

Requisite

Install MySQL Server 5.6 and import UMLS data into MySQL database. Please refer to UMLS websites on how to install the UMLS database.

Installation

pip install umls-graph

Let Codes Speak

from umls_graph.dataset import make_umls_all

# MySQL database information
mysql_info = {}
mysql_info["database"] = "umls"
mysql_info["username"] = "root"
mysql_info["password"] = "{not gonna tell you}"
mysql_info["hostname"] = "localhost"

# read all UMLS table and save them to csv formatted files in a specific folder
make_umls_all(mysql_info=mysql_info,save_folder="umls_datasets")

License

The umls-graph project is provided by Donghua Chen.

NOTE: This project DOES NOT provide the UMLS data download due to the license issue. In addition, the processed data are not verified in actual clinical use. Please be response for any UMLS data use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umls-graph-0.0.2.tar.gz (16.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page