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.
The reported experiments characterize CLEAR-Med's configuration and scalability and the Invocation Agent's accuracy, while the formal analysis establishes the encoded-property guarantee of the complete control flow.
Erfan D. Dehkalani, S. Shankaran, A. Laptook et al.· arXiv.org· 0 citations
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.· Neural Horizons· 0 citations
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· Computational biology and ch...· 0 citations
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· bioRxiv· 0 citations
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· Expert systems· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.