User:ProteinBoxBot/drug-disease links


Objective

edit

This bot function should add and update Wikidata drug and disease items for Gene <> durg links.

Introduction

edit

This bot is part of a family of bots to capture and maintain Genes, Diseases and Drugs in Wikidata. Originally started with the [[1]] where Genes and Proteins were added to Wikidata, the project gradually evolved in adding Diseases, Drugs and the relationships between the three.

Examples:

According to the UMLS National Drug File,

Cabergoline may be used to treat Hyperprolactinaemia

Cabergoline may be used to treat Parkinson's disease

Gameplan

edit

This part of the bot will first aggregate drug<>disease links and then add these links to the appropriate Wikidata items.

  • Define properties required for gene<>drug links
  • Request the required properties and put them to community discussion
  • Code bot
  • Test runs in increments

Data sources

edit

NDF-RT database

CHEMBL

https://github.com/olegursu/drugtarget (which has both indication and target information)

Properties

edit
\--drugDiseaseAssociation
    +--exacerbates
    +--increasesRiskOfDisease
    +--causes (the disease results from taking the drug)
    +--prevents
    \--treats treats (aka 'medical condition treated')  
        +--treatsCauseOfDisease
        +--treatsSymptomOfDisease
           

Inverse properties (these go from disease to drug) (also recorded in the linked property definitions)

edit

Output

edit

The bot will add new drug<>disease links in its source databases to Wikidata. It will also modify existing Wikidata drug and disease items if new information becomes available in the original data sources.

Reporting queries

edit

count of drug treats or causes statements