GigaScienceBioinformaticsPeer-reviewed journal article
Enhanced semantic classification of microbiome sample origins using Large Language Models (LLMs)
Daniela GaioiD, Janko TackmanniD, Eugenio Perez‐Molphe‐MontoyaiD, Nicolas C NäpfliniD, David PatschiD, Lukas MalfertheineriD, Matteo Eustachio Peluso, Christian von MeringiD
Abstract
Over the past decade, central sequence repositories have expanded significantly in size. This vast accumulation of data holds value and enables further studies, provided that the data entries are well annotated. However, the submitter-provided metadata of sequencing records can be of heterogeneous quality, presenting significant challenges for re-use. Here, we test to what extent large language models (LLMs) can be used to cost-effectively automate the re-annotation of sequencing records against a simplified classification scheme of broad ecological environments with relevance to microbiome studies, without retraining. We focused on sequencing samples taken from the environment, for which metadata is important. We employed OpenAI Generative Pretrained Transformer (GPT) models, and assessed scalability, time and cost-effectiveness, as well as performance against a diverse, hand-curated ground-truth benchmark with 1000 examples, that span a wide range of complexity in metadata interpretation. We observed that annotation performance markedly outperforms that of a baseline, manually curated, non-machine-learning keyword-based approach. Changing models (or model parameters) has only minor effects on performance, but prompts need to be carefully designed to match the task. We applied the optimized pipeline to more than 3.8 million sequencing records from the environment, providing coarse-grained yet standardized sampling site annotations covering the globe. Our work demonstrates the effective use of LLMs to simplify and standardize annotation from complex biological metadata.
- Citations
- 4
- FWCI
- 24.94
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Zero-shot ecological annotation of microbial genomes with myLLannotator accelerates scientific discovery
Alyssa Lu Lee, Arya Sharma, Rohan Maddamsetti·bioRxiv·Jan 21, 2026
- Microbial Named Entity Recognition and Normalisation for AI-assisted Literature Review and Meta-Analysis
Devanshi Patel, Antoine D. Lain, … Joram Matthias Posma·BioinformaticsPeer-reviewed·Jun 18, 2026
- Comparative Assessment of Large Language Models for Microbial Phenotype Annotation
Philipp C. Münch, Nasim Safaei, … Alice Carolyn McHardy·bioRxiv·Nov 24, 2025
- Improving biome labeling for tens of thousands of inaccurately annotated microbial community samples based on neural network and transfer learning
- Application of large language models to the annotation of cell lines and mouse strains in genomics data
Sanja Rogić, Burak Ogan Mancarci, … Paul Pavlidis·DatabasePeer-reviewed·Jan 1, 2026
- Automating scientific annotations for open transcriptomic profiles via multi-stage agents
X C Zhang, Shreya Paithankar, … Bin Chen·bioRxiv·Aug 20, 2026