DNABERT-S: Pioneering Species Differentiation with Species-Aware DNA Embeddings

  • Zhihan Zhou, Northwestern University, United States
  • Weimin Wu, Northwestern University, United States
  • Harrison Ho, University of California, Merced, United States
  • Jiayi Wang, Northwestern University, United States
  • Lizhen Shi, Northwestern University, United States
  • Ramana Davuluri, Stony Brook University, United States
  • Zhong Wang, Lawrence Berkeley National Laboratory, United States
  • Han Liu, Northwestern University, United States

We introduce DNABERT-S, a tailored genome model that develops species-aware embeddings to naturally cluster and segregate DNA sequences of different species in the embedding space. Differentiating species from genomic sequences (i.e., DNA and RNA) is vital yet challenging, since many real-world species remain uncharacterized, lacking known genomes for reference. Embedding-based methods are therefore used to differentiate species in an unsupervised manner. DNABERT-S builds upon a pre-trained genome foundation model named DNABERT-2. To encourage effective embeddings to error-prone long-read DNA sequences, we introduce Manifold Instance Mixup (MI-Mix), a contrastive objective that mixes the hidden representations of DNA sequences at randomly selected layers and trains the model to recognize and differentiate these mixed proportions at the output layer. We further enhance it with the proposed Curriculum Contrastive Learning (C$^2$LR) strategy. Empirical results on 23 diverse datasets show DNABERT-S's effectiveness, especially in realistic label-scarce scenarios. For example, it identifies twice more species from a mixture of unlabeled genomic sequences, doubles the Adjusted Rand Index (ARI) in species clustering, and outperforms the top baseline's performance in 10-shot species classification with just a 2-shot training.

 

GiantHunter: Accurate detection of giant virus in metagenomic data using reinforcement-learning and Monte Carlo tree search

  • Fuchuan Qu, Department of Electrical Engineering, City University of Hong Kong, Hong Kong
  • Cheng Peng, Department of Electrical Engineering, City University of Hong Kong, Hong Kong
  • Jiaojiao Guan, Department of Electrical Engineering, City University of Hong Kong, Hong Kong
  • Donglin Wang, School of Environmental Science & Engineering, Shandong University, China
  • Yanni Sun, Department of Electrical Engineering, City University of Hong Kong, Hong Kong
  • Jiayu Shang, Department of Information Engineering, Chinese University of Hong Kong, Hong Kong

Motivation: Nucleocytoplasmic large DNA viruses (NCLDVs) are notable for their large genomes and extensive gene repertoires, which contribute to their widespread environmental presence and critical roles in processes such as host metabolic reprogramming and nutrient cycling. Metagenomic sequencing has emerged as a powerful tool for uncovering novel NCLDVs in environmental samples. However, identifying NCLDV sequences in metagenomic data remains challenging due to their high genomic diversity, limited reference genomes, and shared regions with other microbes. Existing alignment-based and machine learning methods struggle with achieving optimal trade-offs between sensitivity and precision.

Results: In this work, we present GiantHunter, a reinforcement learning-based tool for identifying NCLDVs from metagenomic data. By employing a Monte Carlo tree search strategy, GiantHunter dynamically selects representative non-NCLDV sequences as the negative training data, enabling the model to establish a robust decision boundary. Benchmarking on rigorously designed experiments shows that GiantHunter achieves high precision while maintaining competitive sensitivity, improving the F1-score by 10% and reducing computational cost by 90% compared to the second-best method. To demonstrate its real-world utility, we applied GiantHunter to 60 metagenomic datasets collected from six cities along the Yangtze River, located both upstream and downstream of the Three Gorges Dam. The results reveal significant differences in NCLDV diversity correlated with proximity to the dam, likely influenced by reduced flow velocity caused by the dam. These findings highlight GiantHunter's potential to advance our understanding of NCLDVs and their ecological roles in diverse environments.

 

Leveraging Large Language Models to Predict Antibiotic Resistance in Mycobacterium tuberculosis

  • Conrad Testagrose, University of Florida, United States
  • Sakshi Pandey, University of Florida, United States
  • Mohammadali Serajian, University of Florida, United States
  • Simone Marini, University of Florida, United States
  • Mattia Prosperi, University of Florida, United States
  • Christina Boucher, University of Florida, United States

Antibiotic resistance in Mycobacterium tuberculosis (MTB) poses a significant challenge to global public health. Rapid and accurate prediction of antibiotic resistance can inform treatment strategies and mitigate the spread of resistant strains. In this study, we present a novel approach leveraging large language models (LLMs) to predict antibiotic resistance in MTB (LLMTB). Our model is trained on a large dataset of genomic data and associated resistance profiles, utilizing natural language processing techniques to capture patterns and mutations linked to resistance. The model's architecture integrates state-of-the-art transformer-based LLMs, enabling the analysis of complex genomic sequences and the extraction of critical features relevant to antibiotic resistance. We evaluate our model's performance using a comprehensive dataset of MTB strains, demonstrating its ability to achieve high performance in predicting resistance to various antibiotics. Unlike traditional machine learning methods, fine-tuning or few-shot learning open avenues for LLMs to adapt to new or emerging drugs thereby reducing reliance on extensive data curation. Beyond predictive accuracy, LLMTB uncovers deeper biological insights, identifying critical genes, intergenic regions, and novel resistance mechanisms. This method marks a transformative shift in resistance prediction and offers significant potential for enhancing diagnostic capabilities and guiding personalized treatment plans, ultimately contributing to the global effort to combat tuberculosis and antibiotic resistance. All source code is publicly available at https://github.com/ctestagrose/LLMTB.

 

Predicting coarse-grained representations of biogeochemical cycles from metabarcoding data

  • Arnaud Belcour, Univ. Grenoble Alpes, Inria, France
  • Loris Megy, Gricad, Inria, CNRS, Université Grenoble Alpes, Grenoble INP, France
  • Sylvain Stephant, French Geological Survey (BRGM), France
  • Caroline Michel, French Geological Survey (BRGM), France
  • Sétareh Rad, French Geological Survey (BRGM), France
  • Petra Bombach, Isodetect GmbH, Germany
  • Nicole Dopffel, NORCE Norwegian Research Center AS, Norway
  • Hidde de Jong, Univ. Grenoble Alpes, Inria, France
  • Delphine Ropers, Univ. Grenoble Alpes, Inria, France

Motivation: Taxonomic analysis of environmental microbial communities is now routinely performed thanks to advances in DNA sequencing. Determining the role of these communities in global biogeochemical cycles requires the identification of their metabolic functions, such as hydrogen oxidation, sulfur reduction, and carbon fixation. These functions can be directly inferred from metagenomics data, but in many environmental applications metabarcoding is still the method of choice. The reconstruction of metabolic functions from metabarcoding data and their integration into coarse-grained representations of geobiochemical cycles remains a difficult bioinformatics problem today.

Results: We developed a pipeline, called Tabigecy, which exploits taxonomic affiliations to predict metabolic functions constituting biogeochemical cycles. In a first step, Tabigecy uses the tool EsMeCaTa to predict consensus proteomes from input affiliations. To optimise this process, we generated a precomputed database containing information about 2,404 taxa from UniProt. The consensus proteomes are searched using bigecyhmm, a newly developed Python package relying on Hidden Markov Models to identify key enzymes involved in metabolic function of biogeochemical cycles. The metabolic functions are then projected on coarse-grained representation of the cycles. We applied Tabigecy to two salt cavern datasets and validated its predictions with microbial activity and hydrochemistry measurements performed on the samples. The results highlight the utility of the approach to investigate the impact of microbial communities on geobiochemical processes.

Availability: The Tabigecy pipeline is available at https://github.com/ArnaudBelcour/tabigecy.
The Python package bigecyhmm and the precomputed EsMeCaTa database are also separately available at \https://github.com/ArnaudBelcour/bigecyhmm and https://doi.org/10.5281/zenodo.13354073, respectively.