Skip to content
Open access

A ReAct Agentic AI System for Natural Language Querying and Statistical Analysis of The Cancer Genome Atlas Clinical Data

Jul 2026 · medRxiv · 0 citations
Medicine

TL;DR

An agentic system for natural language querying and statistical analysis of TCGA clinical data, using a large language model as an autonomous ReAct agent that selects from eight computational tools, with value driven by tool design and recovered fields rather than model scale.

Abstract

The Cancer Genome Atlas (TCGA) holds clinical data for over 11,000 patients across 33 cancer types, but access is hard because of complex file structures, heterogeneous formats, and the need for programming. We present an agentic system for natural language querying and statistical analysis of TCGA clinical data. The system uses a large language model as an autonomous ReAct agent that selects from eight computational tools, including data extraction, descriptive statistics, Kaplan-Meier survival analysis with log-rank tests, hypothesis testing, and verification against the curated TCGA Pan-Cancer Clinical Data Resource (CDR). The agent reasons about intermediate results, adapts its approach, and returns clinically contextualized responses with source attribution and auditable traces. We introduce TCGA-Agent-Bench, 440 queries across five difficulty tiers with ground truth from the independently curated TCGA-CDR, evaluated with dual metrics of numerical accuracy and clinical completeness. The system achieves 93.4% overall accuracy (100% single-patient lookups, 99.1% cohort statistics, 92.8% comparative analyses), outperforming a fixed rule-based pipeline (87.1%), a single-pass LLM (81.8%), and retrieval-augmented generation (66.9% on a subset). Most of the benchmark is answerable from the CDR alone, so we locate the extraction layer's value in fields the CDR lacks (drug treatments, TNM components, biomarkers, biospecimen metadata): on 26 queries targeting these, the full system answers 100% versus 3.8% for CDR-only. Ablations show the reasoning loop is most impactful (+9.1% accuracy, +22.0 completeness points). A tool-based agentic architecture enables accurate, auditable analysis of clinical repositories, with value driven by tool design and recovered fields rather than model scale.

Read PDF

Similar papers

Open access Nov 2026

OncoGraph: An Open-Source Framework for Federated Cancer Data Discovery Across 800+ Cancer Types and 29 Repositories

Cancer research data are scattered across dozens of repositories with incompatible interfaces, forcing researchers to navigate each one independently before any analysis can begin. The problem is especially burdensome in neuro-oncology, where the 2021 WHO reclassification of CNS tumors around molecular markers like IDH...

Ahmed Allem, Andrea Dykes, Freedom Cheteni-Mandela et al. · 0 citations
Open access Oct 2026

Expert-curated gene signatures through biological insights and an interactive AI agent.

Advances in molecular biology, the rapid growth of high-dimensional data, and new computational technologies continue to transform how diseases are studied and treated. Within this landscape, identifying gene signatures from expression data remains challenging because of the high dimensionality and biological complexit...

E. Papadaki, A. Vrahatis · 0 citations
Review Open access Oct 2026

GLESKit: an MCP-based system for gene-level biomedical investigation and evidence synthesis

Biomedical investigation at the gene level requires researchers to combine expression data, functional annotations, pathways, interaction networks, genetic associations, drug evidence and literature. Accessing these resources involves databases, analysis tools and scripts that require bioinformatics expertise, complica...

Athos Moraes, Pedro G. Ferreira · 0 citations
#graph neural networks Open access Nov 2026

MedDP: A Graph‐Based Large Language Disease Prediction Model

Disease prediction from electronic health records (EHRs) is challenged by noisy clinical data, limited labelled data, and the lack of interpretable evidence supporting predictions. We propose MedDP, a graph‐based disease prediction framework that integrates large language models (LLMs) with structured diagnostic knowle...

Ran Wang, Gui-Lin Qi · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.