Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 17, 2026.

DGIdb 5.0: rebuilding the drug–gene interaction database for precision medicine and drug discovery platforms

Matthew Cannon, James Stevenson, Kathryn Stahl and 11 more (opens in a new tab)

Nucleic Acids Research · 2023 · CC BY

doi:10.1093/nar/gkad1040 (opens in a new tab)

Abstract

The Drug–Gene Interaction Database (DGIdb, https://dgidb.org) is a publicly accessible resource that aggregates genes or gene products, drugs and drug–gene interaction records to drive hypothesis generation and discovery for clinicians and researchers. DGIdb 5.0 is the latest release and includes substantial architectural and functional updates to support integration into clinical and drug discovery pipelines. The DGIdb service architecture has been split into separate client and server applications, enabling consistent data access for users of both the application programming interface (API) and web interface. The new interface was developed in ReactJS, and includes dynamic visualizations and consistency in the display of user interface elements. A GraphQL API has been added to support customizable queries for all drugs, genes, annotations and associated data. Updated documentation provides users with example queries and detailed usage instructions for these new features. In addition, six sources have been added and many existing sources have been updated. Newly added sources include ChemIDplus, HemOnc, NCIt (National Cancer Institute Thesaurus), Drugs@FDA, HGNC (HUGO Gene Nomenclature Committee) and RxNorm. These new sources have been incorporated into DGIdb to provide additional records and enhance annotations of regulatory approval status for therapeutics. Methods for grouping drugs and genes have been expanded upon and developed as independent modular normalizers during import. The updates to these sources and grouping methods have resulted in an improvement in FAIR (findability, accessibility, interoperability and reusability) data representation in DGIdb.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 22, 2026. Paragraph numbers are ours, so an answer can point at one.

Introduction

First released in 2013, the Drug–Gene Interaction Database (DGIdb, https://dgidb.org) aggregates drugs, genes and their interactions into a single, computable resource. The primary goal of DGIdb since release has been to make the druggable genome accessible for researchers seeking to generate new hypotheses for genome-wide data sets. By being able to identify the set of drugs that interact with genes or gene products of interest, DGIdb enables unique insights for potential therapeutic benefits in interactions that might not otherwise be visible. To accomplish this goal, DGIdb imports drug and gene claims from disparate sources and applies a rigorous grouping approach to match claims to their corresponding therapeutic or genomic concepts. Additional databases and literature sources are then mined to associate observed (or inferred) interactions between normalized drugs and genes. By aggregating and harmonizing data from multiple disparate resources, DGIdb has provided a toolkit for broad evaluation of the potential druggability of a gene or gene set.

Since its first release, DGIdb has undergone numerous updates to its feature set to improve service functionality, data quality and available tooling. DGIdb 2.0 (2016) saw the introduction of a REST application programming interface (API) and grouping methods to improve harmonization of imported drug and gene claims, while DGIdb 3.0 (2018) substantially updated existing and new sources to the resource (while also iterating further on the API). The last release, DGIdb 4.0 (2021), focused on integration with crowdsource efforts and saw the introduction of community-contributed data sources such as the Drug Target Commons and Wikidata.

Here, we describe DGIdb version 5.0 and our updates to enhance its utility in clinical research applications and drug discovery pipelines. As part of this major version release, we have completely refactored DGIdb into separate client and server components to create consistency of data access across the API and web interface. The new web application provides dynamic data visualizations and consistency in the display of user interface (UI) elements. The DGIdb database and web server have modernized existing import methods to accommodate changes in the available data from previously imported services. To support workflows with different data requirements, we have replaced our existing RESTful API endpoints with a central GraphQL API. This new endpoint supports ad hoc queries using the GraphQL query language for customized retrieval of drugs, genes and gene category annotations (as well as all associated sources, publications and additional data points) from DGIdb. By utilizing our new GraphQL endpoint, users with differing data needs can now access data with greater precision and efficiency. DGIdb has also been expanded to include six new sources for drug and gene records, and six existing sources have been updated to their latest version. Some of the new sources, such as Drugs@FDA, have been added to specifically enhance annotations of regulatory approval to existing drug–gene interaction claims. Lastly, we describe updates to our grouping methods for drugs and genes as independent, modular normalizers for improving the findability, accessibility, interoperability and reusability of data within DGIdb.

Application framework updates (Ruby, React, GraphQL)

The key focus of our version 5.0 update was to rebuild the platform for incorporation into clinical research applications and drug discovery pipelines. Past versions of DGIdb have been built exclusively using the Ruby on Rails platform overlaying a PostgreSQL database. In this update, we have split DGIdb into separate client and server components with the goal of achieving greater flexibility in database implementation and the end user experience (Figure 1). The DGIdb server is still implemented with Ruby on Rails but now utilizes a GraphQL API to interface with a PostgreSQL database. This is in contrast to past versions of DGIdb that employed a traditional model–view–controller architecture (Figure 1A). As a consequence of these updates, many existing data importers have been modified or rewritten, and additional GraphQL-specific data model definitions have been added.

The client component of DGIdb has been rebuilt into a separate ReactJS interface with two primary methods for accessing the underlying data (Figure 1B and C). The web interface has been completely redesigned under this framework to streamline data access within DGIdb for clinical and drug discovery data analysis pipelines (Figure 1B). In addition to supporting this new web interface, the separation of client/server components has allowed migration to a GraphQL-based API for DGIdb (Figure 1C). This new endpoint utilizes the GraphQL query language to exploit node–edge relationships between data within DGIdb, allowing users to write customized, ad hoc queries for data points of interest. While the previous REST architecture restricted the user to predefined searches, GraphQL allows users to perform more flexible, semantically defined queries to fit the data requirements of individual applications. These formatted queries can be sent through our open API (https://dgidb.org/api/graphql). More details on these changes, as well as information on example queries, can be found below.

New and updated sources

We have added new data and updated many existing sources for version 5.0. Six new sources have been added to DGIdb for drug and gene claims (Figure 2). Five of six are new drug claim sources and include ChemIDplus, Drugs@FDA, HemOnc, NCIt (National Cancer Institute Thesaurus) and RxNorm. Three of these sources (ChemIDplus, HemOnc, NCIt) are structured vocabularies for drugs and therapeutics, and contain myriad synonyms and aliases to support drug claims and improve drug concept grouping. The incorporation of HemOnc in particular supports the capture of expert-curated knowledge for therapeutics for the fields of hematology and oncology, thus increasing the clinical utility for DGIdb within these domains. Interestingly, in the course of development of DGIdb v5.0, ChemIDplus was retired by the National Library of Medicine in favor of focusing development on PubChem as their primary source of chemical information. We found that the ChemIDplus data set was useful for linking claims during the grouping step and therefore included this source despite retirement. Continued support of this data set into DGIdb will be invaluable for linking ChemIDplus identifiers utilized across historical literature. Two of the new sources (RxNorm and Drugs@FDA) contain curated data regarding chemicals and therapeutics that have pharmaceutical applications or a history of prior use in humans. In particular, Drugs@FDA was included to associate drug records with regulatory approval status. In prior versions of DGIdb, we found that reported regulatory information for our drug records could conflict with each other due to existing geopolitical and regulatory bodies for each source. While regulatory bodies can differ in their approval status of certain therapeutics, in aggregate it was possible to retrieve confounding approval classifications for the same drug (e.g. ‘approved’ versus ‘discontinued’). With this update, we chose to include Drugs@FDA as a new source to associate existing drug records with new drug applications (NDAs) and abbreviated new drug applications (ANDAs), thus further supplementing approval status with active market products [and their Food and Drug Administration (FDA)-approved labeling] for users who preferentially look to the FDA for regulatory status. Taken together, these sources have added an additional 27 172 drug claims to the database (Figure 3).

To support additional gene claims and harmonization within DGIdb, the HUGO Gene Nomenclature Committee (HGNC) protein-coding gene set was added as an additional source. The HGNC has historically been responsible for approving unique symbols and nomenclature used to describe genes and the human genome. Including this source added an additional 11 272 gene claims to the database and supported improved gene concept grouping for existing gene claims within DGIdb (Figure 3).

In addition to these new sources, many existing sources for drug, gene and interaction claims have been updated to their latest version (Table 1 and Figure 2). The Clinical Interpretation of Variants in Cancer (CIViC) knowledgebase was updated to its latest nightly release (as of June 2023) and includes all up-to-date drug, gene and interaction claims. Similarly, the IUPHAR/BPS Guide to Pharmacology has been updated to version 2023.1 and PharmGKB has been updated to its latest release (as of June 2023). This update has brought ChEMBL up to version 32 in DGIdb (previously version 27). Added in our previous major update (4.0), Wikidata has been updated to a 2023 release (as of May 2023) and adds additional drug records to DGIdb. Ensembl gene sets have been updated to their latest version (Ensembl 109) for this update.

New drug and gene grouping improvements (with concept IDs)

Changes have also been made to grouping methods within DGIdb. All drug and gene records are now normalized via modular normalization services as part of the import process (Supplementary Figure S1). This change has led to an increase in both normalized drug and gene concepts (Figures 3 and 4), resulting in an increase in data quality for the end user. The notion of concept grouping for drugs was first introduced in DGIdb v2.0. Follow-up versions of the database refined the grouping process, eventually utilizing the Variant Interpretation for Cancer Consortium’s (VICC) normalization service (https://github.com/cancervariants/therapy-normalization). This service normalized imported drug claims to matching ChEMBL and Wikidata records using a priority match search against primary labels and aliases. Since its original implementation within DGIdb, this therapy normalization service has undergone numerous changes. Most recently, it has been updated to utilize a graph-directed approach to follow explicit, human-curated references across databases to establish normalized therapeutic concept groups. In this latest release, we utilize improvements to the normalization service (now named thera-Py, https://go.osu.edu/TPY) to extend the coverage of our drug harmonization from 68.82% of imported drug claims in v4.0 to 88.58% of drug claims in v5.0 (Figures 3 and 4). Similarly, by utilizing improvements to the VICC gene normalization service (https://github.com/cancervariants/gene-normalization), we have improved gene normalization rates from 76.09% of gene claims in v4.0 to 94.91% of gene claims in v5.0. Notably, due to this change in grouping methodology, many existing claims from Ensembl that were not previously searchable have been dropped. Data from Ensembl are imported through the gene normalizer, resulting in the import of only those claims that have a normalized gene associated with them. While fewer gene claims are imported overall, there are now more searchable and well-described gene claims within DGIdb (Supplementary Figure S1).

GraphQL query language in DGIdb

The introduction of GraphQL into DGIdb has allowed for the creation of ad hoc queries to retrieve drug–gene interactions as well as any additional linked data for use in downstream clinical and drug discovery applications. GraphQL is a query language that supports broad queries by utilizing highly described connections between data to identify and extract connected data points within a database. By utilizing edges connected to nodes of interest, any and all data points of interest for any specific starting node can be quickly and easily retrieved. GraphQL has been explored in recent years for potential applications in improving interoperability across healthcare management and information systems. We chose to add GraphQL as an additional abstraction layer on top of DGIdb to support interoperability with new and existing clinical variant interpretation and drug discovery pipelines. In applying GraphQL within DGIdb, we can implement normalized drugs or normalized genes as types of nodes and follow their edges to quickly identify interactions, as well as all associated druggability and functionality annotations, regulatory approval classifications, active ANDA/NDAs, sourcing, publications and attributes for either the interaction or the linked drugs and genes. By reformatting the database in this manner, clients are now able to request the underlying data in any configuration or format that fits their existing application. This enables various types of pipelines with differing needs to be more precise and efficient in how they access and format the data, whether they be clinical research, drug discovery or otherwise.

With the addition of GraphQL to DGIdb, a new API playground page has been introduced to allow users to learn how to write and test custom queries (Figure 5). This page can be reached by following the ‘API’ link in the footer of the main page. In the center of the API page is the playground query and response panel. Once written, queries can be executed using the ‘execute’ button in the center of the panel (Figure 5, panel 5). Example queries corresponding to commonly used search types within DGIdb have been provided on this page (Figure 5, panel 6) and additional examples of ad hoc queries are provided in Supplementary Figures S2 and S3. These queries can be edited further or run as is within the playground page itself, or externally in a formatted API call using a preferred programming language.

New frontend interface

With the switch to the React library, we have taken the opportunity to redesign DGIdb’s HTML user interface for a more intuitive experience (Figure 6). In brief, search pages from our previous version have been consolidated into a unified landing page with design features familiar to modern websites. Upon successful search, the landing page transitions seamlessly into a comprehensive results page. The interaction results pages from our previous version have been consolidated into a single results table with optional filtering capabilities and summary visualizations to facilitate dynamic inspection of data.

The new interface changes are available for use at https://dgidb.org (Figure 6). From the main page, the desired search type can be selected from the dropdown (Figure 6, panel 1). Similar to previous versions, the current supported search types are interactions by gene, interactions by drug and gene categories. Search terms of interest can next be entered into the corresponding search bar and executed by following the ‘Search’ button. The results page will be populated, with unique matches populating the ‘Unique Matches’ tab and all unmatched or ambiguous results (terms with more than one possible mapping) populating the ‘Ambiguous or Unmatched’ results tab. The results page contains two new components: the summary panel (Figure 6, panel 4) and the interaction results table (Figure 6, panel 5). The summary panel contains the list of all matching terms and three ‘at-a-glance’ visualizations for the interaction set. These can also be used to filter the data within the interaction results table. This table contains all unique matches for the search terms, as well as additional clinically relevant data points. These contain searched term, matched gene name, matched drug name, regulatory approval status, known indications (if available) and interaction score. Drug and gene names within this table can be clicked to navigate to individual record pages containing aggregate data. These include aliases, category annotations (for genes), approval values and active ANDAs/NDAs (for drugs), publications, known interactions (as well as associated PMIDs and sourcing) and all imported record attributes. Rows within the interaction results table can be clicked as well to retrieve individual interaction record pages. These pages contain details on the interaction partners, associated publications and all imported interaction attributes. These results can be filtered using the summary panel, or by using additional filter settings present within each column dropdown. These controls allow for filtering based on string relational operators. Available operators are ‘contains’, ‘equals’, ‘starts with’, ‘ends with’, ‘is empty’, ‘is not empty’ and ‘is any of’. Lastly, these data can be downloaded in a TSV format for external analysis using the download button (Figure 6, panel 7).

Summary and future directions

DGIdb has received significant updates with this 5.0 release. Six new data sources have been added to DGIdb and eight existing sources for drugs and genes have been updated. Similarly, grouping methods for drug and gene claims have been improved. Drug and gene claims are now normalized via external normalization searches during import. These changes result in more searchable, higher quality data. The existing Ruby on Rails architecture for DGIdb was divided into separate server and client components. The server component remains a Ruby on Rails platform supporting a PostgreSQL database; however, a GraphQL communication layer has been inserted. As a result, existing data importers have been modified or rewritten and GraphQL-specific relation definitions have been added to the data model. The client component of DGIdb is now a ReactJS-driven interface with two primary methods for accessing the data. The HTML interface has been completely redesigned and many previous UI elements have been consolidated. The addition of GraphQL to DGIdb has allowed for a new endpoint that utilizes GraphQL query language to write ad hoc queries. These changes to architecture have been made with the goal of rebuilding DGIdb for seamless integration into existing clinical and drug discovery pipelines.

While these changes to DGIdb have improved content, access and usability for DGIdb, there is room for further improvement and iteration. With the modularization of DGIdb’s client component, we would like to develop tooling to support user curation and evidence submission features. By allowing users to submit and approve interaction evidence, DGIdb’s available data set would continually be up to date with the state of the field. One of the main goals of this update was to rebuild DGIdb for clinical and drug discovery pipelines. With that in mind, there are further refinements to the DGIdb data model that could be improved to better support these pipelines. Many imported data points associated with interactions are stored as simple key–value pairs within the singular ‘interaction attribute’ header. For example, many interactions between genes and anticancer agents have associated attributes for ‘Response Type’, ‘Combination Therapy’ or even ‘Alteration’. Formalization of these data points within the DGIdb data model would increase their visibility for our user base and further increase our clinical utility. In addition to refining the data model, we would also like to provide additional protection for users against false or retracted information. While we have performed an analysis utilizing the retraction watch database demonstrating a low incorporation of retracted PMIDs (24 PMIDs, 0.196%) (Supplementary Figure S4), we are exploring additional methods to flag retracted data. Finally, we would like to expand DGIdb and build AI-assisted tooling that would allow us to automatically create tentative interaction claims within DGIdb from additional definitive sources. Once created, these tentative interaction claims could be approved by field experts and become searchable within DGIdb, further expanding our searchable data set for our users. Taken together, these changes would allow DGIdb to further become an essential component of clinical and drug development pipelines.

References 24

  1. 1.

    Griffith M., Griffith O.L., Coffman A.C., Weible J.V., McMichael J.F., Spies N.C., Koval J., Das I., Callaway M.B., Eldred J.M. et al. DGIdb: mining the druggable genome. Nat. Methods. 2013; 10:1209–1210.

    Not in our library10.1038/nmeth.2689 (opens in a new tab)

  2. 2.

    Hopkins A.L., Groom C.R. The druggable genome. Nat. Rev. Drug Discov.2002; 1:727–730.

    Not in our library10.1038/nrd892 (opens in a new tab)

  3. 3.

    Russ A.P., Lampel S. The druggable genome: an update. Drug Discov. Today. 2005; 10:1607–1610.

    Not in our library10.1016/s1359-6446(05)03666-4 (opens in a new tab)

  4. 4.
  5. 5.

    Cotto K.C., Wagner A.H., Feng Y.-Y., Kiwala S., Coffman A.C., Spies G., Wollam A., Spies N.C., Griffith O.L., Griffith M. DGIdb 3.0: a redesign and expansion of the drug–gene interaction database. Nucleic Acids Res.2017; 46:D1068–D1073.

    Not in our library10.1093/nar/gkx1143 (opens in a new tab)

  6. 6.
  7. 7.
  8. 8.

    Vrandečić D., Krötzsch M. Wikidata: a free collaborative knowledgebase. Commun. ACM. 2014; 57:78–85.

    Not in our library

  9. 9.
  10. 10.

    Tomasulo P. ChemIDplus-super source for chemical and drug information. Med. Ref. Serv. Q.2002; 21:53–59.

    Not in our library10.1300/j115v21n01_04 (opens in a new tab)

  11. 11.

    Warner J.L., Dymshyts D., Reich C.G., Gurley M.J., Hochheiser H., Moldwin Z.H., Belenkaya R., Williams A.E., Yang P.C. HemOnc: a new standard vocabulary for chemotherapy regimen representation in the OMOP common data model. J. Biomed. Inform.2019; 96:103239.

    Not in our library10.1016/j.jbi.2019.103239 (opens in a new tab)

  12. 12.

    Sioutos N., de Coronado S., Haber M.W., Hartel F.W., Shaiu W.-L., Wright L.W. NCI Thesaurus: a semantic model integrating cancer-related clinical and molecular information. J. Biomed. Inform.2007; 40:30–43.

    Not in our library10.1016/j.jbi.2006.02.013 (opens in a new tab)

  13. 13.

    Liu S., Ma W., Moore R., Ganesan V., Nelson S. RxNorm: prescription for electronic drug information exchange. IT Prof.2005; 7:17–23.

    Not in our library

  14. 14.

    Kim S., Chen J., Cheng T., Gindulyte A., He J., He S., Li Q., Shoemaker B.A., Thiessen P.A., Yu B. et al. PubChem 2023 update. Nucleic Acids Res.2023; 51:D1373–D1380.

    Not in our library10.1093/nar/gkac956 (opens in a new tab)

  15. 15.
  16. 16.
  17. 17.

    Danos A.M., Krysiak K., Barnell E.K., Coffman A.C., McMichael J.F., Kiwala S., Spies N.C., Sheta L.M., Pema S.P., Kujan L. et al. Standard operating procedure for curation and clinical interpretation of variants in cancer. Genome Med.2019; 11:76.

    Not in our library10.1186/s13073-019-0687-x (opens in a new tab)

  18. 18.

    Krysiak K., Danos A.M., Saliba J., McMichael J.F., Coffman A.C., Kiwala S., Barnell E.K., Sheta L., Grisdale C.J., Kujan L. et al. CIViCdb 2022: evolution of an open-access cancer variant interpretation knowledgebase. Nucleic Acids Res.2023; 51:D1230–D1241.

    Not in our library10.1093/nar/gkac979 (opens in a new tab)

  19. 19.
  20. 20.

    Whirl-Carrillo M., Huddart R., Gong L., Sangkuhl K., Thorn C.F., Whaley R., Klein T.E. An evidence-based framework for evaluating pharmacogenomics knowledge for personalized medicine. Clin. Pharmacol. Ther.2021; 110:563–572.

    Not in our library10.1002/cpt.2350 (opens in a new tab)

  21. 21.
    Ensembl 2022 · 2021
    No notice
  22. 22.

    Mohammed S., Fiaidhi J., Sawyer D. GraphQL patient case presentation using the problem oriented medical record schema. 2021 IEEE International Conference on Big Data (Big Data), Orlando, FL. 2021; 4738–4744.

    Not in our library

  23. 23.

    Mukhiya S.K., Rabbi F., Pun V.K.I., Rutle A., Lamo Y A GraphQL approach to healthcare information exchange with HL7 FHIR. Procedia Comput. Sci.2019; 160:338–345.

    Not in our library

  24. 24.

    Ulrich H., Kern J., Tas D., Kock-Schoppenhauer A.K., Ückert F., Ingenerf J., Lablans M. QL4MDR: a GraphQL query language for ISO 11179-based metadata repositories. BMC Med. Inform. Decis. Mak.2019; 19:45.

    Not in our library10.1186/s12911-019-0794-z (opens in a new tab)

Cited by papers we hold 1

Questions about this paper

We email you if it is retracted, withdrawn, corrected or flagged.

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.