Skip to main navigation Skip to search Skip to main content

A transformer based deep learning framework for accurate single nucleotide variant correction in heterogeneous samples

  • Xiaonan Wang
  • , Shenjie Wang
  • , Zhili Chang
  • , Minchao Zhao
  • , Xian Zhang
  • , Nazarov Fayzullo
  • , Eshtemirov Bunyod
  • , Shuotong Li
  • , Jiayin Wang
  • Xi'an Jiaotong University
  • Xi'an Jiaotong University
  • Nanjing Geneseeq Technology Inc.
  • The Second Affiliated Hospital of Xi'an Jiaotong University
  • Samarkand State University
  • Shenzhen University

Research output: Contribution to journalArticlepeer-review

Abstract

Profiling host genetic variations in heterogeneous host-microbiome mixtures is crucial for understanding cross-species interactions and microenvironmental dynamics. However, the variable host DNA fraction (purity) in bulk sequencing data severely compromises the performance of standard variant callers, leading to significant systematic biases in quantifying single nucleotide variants (SNVs). To address this, we developed a Transformer-based computational framework designed to model sequence context and technical artifacts in low-purity samples. The architecture employs a group-encoding mechanism to process multidimensional features—including variant allele frequency (VAF) distributions, base-level purity estimates, sequencing depth, and local genomic context (such as repeat regions and chromatin accessibility). By capturing long-range dependencies among these diverse signals, the model effectively neutralizes purity-induced biases to accurately recover the true host SNV count. We evaluated the framework using simulated sequencing data across a broad purity gradient (0.2–1.0). Our approach significantly reduced quantification errors, achieving high concordance between the corrected and actual ground-truth SNV counts. Benchmarking the corrected counts against the raw outputs of conventional callers (Mutect, Freebayes, LoFreq, and Platypus) demonstrated substantial performance gains, particularly in ultra-low purity conditions (0.2–0.3) where traditional statistical priors typically fail to provide reliable quantifications. Feature ablation and residual analyses further validated the independence of the multidimensional inputs and the unbiased, zero-centered nature of the count corrections. This deep learning pipeline provides a robust solution for the accurate quantification of host SNVs in complex biological mixtures, facilitating reliable downstream genetic analyses in highly heterogeneous microenvironments.

Original languageEnglish
Article number1838029
JournalFrontiers in Microbiology
Volume17
DOIs
StatePublished - 2026

Keywords

  • genomic profiling
  • heterogeneous samples
  • host-microbe symbiosis
  • single nucleotide variant correction
  • transformer architecture

Fingerprint

Dive into the research topics of 'A transformer based deep learning framework for accurate single nucleotide variant correction in heterogeneous samples'. Together they form a unique fingerprint.

Cite this