Pharmacogenomics Meets Generative AI: Transforming Clinical Trial Design with Large Language Models
Annisa Fatharani1, Ali Alsayegh2★★ Corresponding author
- 1School of Cancer and Pharmaceutical Science, King’s College London, England, UNITED KINGDOM.
- 2Department of Design Manufacturing and Engineering Management, University of Strathclyde, Glasgow, Scotland, UNITED KINGDOM.
CORRESPONDENCE
Ali Alsayegh
Department of Design Manufacturing and Engineering Management, University of Strathclyde, Glasgow, Scotland, UNITED KINGDOM.
Received: 03-09-2024; Accepted: 04-02-2025.
Volume 17, Issue 1 · pp. 17–26 · PUBLISHED 2026 · DOI: 10.1177/0976500X251321885
View on J Pharmacol. Pharmacother. original site ↗
ABSTRACT
Background: Pharmacogenomics aims to optimise drug therapy based on genetic makeup, but traditional clinical trial design faces challenges with complexity, cost and data integration. Objectives: This study explores integrating generative artificial intelligence (AI), specifically large language models (LLMs) like Llama3 8B, Mistral 7B v0.3 and Phi-3 Mini 3.8B, into pharmacogenomics clinical trial design through Retrieval-Augmented Generation frameworks and local knowledge bases to address the challenges. Materials and Methods: We conducted a comparative analysis of LLMs, evaluating the accuracy, relevancy, response time and operational efficiency with a case study that assessed LLMs’ capacity to address key trial design elements. The LLMs were locally run using an RTX 4080 mobile graphics card and Intel Core i9-13980HX central processing unit, with Open-WebUI employed. Results: Our results show that Llama3 8B and Phi-3 Mini 3.8B both achieved an accuracy and relevancy score of 0.92 and 0.89, showcasing their underscore of advanced capabilities in delivering both accurate and contextually relevant outputs. More thorough results showed that Phi-3 Mini 3.8B excelled in efficiency and scalability, while Llama3 8B provided greater contextual depth. Conclusion: This study indicates that generative AI offers transformative potential in pharmacogenomics clinical trials, enhancing efficiency and outcomes. However, challenges such as potential bias and the need for further validation remain. Addressing these limitations and advancing multimodal AI capabilities will further support inclusive and effective trial designs.
KEYWORDS
REFERENCES
As publishedShowing references and in-text citations exactly as published.
Cite this article
SELECT FORMAT
Fatharani, A., & Alsayegh, A. (2026). Pharmacogenomics Meets Generative AI: Transforming Clinical Trial Design with Large Language Models. Journal of Pharmacology and Pharmacotherapeutics, 17(1), 17–26. https://doi.org/10.1177/0976500X251321885
