bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.11.28.691095

PatchDNA: A Flexible and Biologically-Informed Alternative to Tokenization for DNA

Abstract

AO_SCPLOWBSTRACTC_SCPLOWDNA language models are emerging as powerful tools for representing genomic sequences, with recent progress driven by self-supervised learning. However, performance on downstream tasks is sensitive to tokenization strategies reflecting the complex encodings in DNA, where both regulatory elements and single-nucleotide changes can be functionally significant. Yet existing models are fixed to their initial tokenization strategy; single-nucleotide encodings result in long sequences that challenge transformer architectures, while fixed multi-nucleotide schemes like byte pair encoding struggle with character level modeling. Drawing inspiration from the Byte Latent Transformers combining of bytes into patches, we propose that patching provides a competitive and more efficient alternative to tokenization for DNA sequences. Furthermore, patching eliminates the need for a fixed vocabulary, which offers unique advantages to DNA. Leveraging this, we propose a biologically informed strategy, using evolutionary conservation scores as a guide for patch boundaries. By prioritizing conserved regions, our approach directs computational resources to the most functionally relevant parts of the DNA sequence. We show that models up to an order of magnitude smaller surpass current state-of-the-art performance in existing DNA benchmarks. Importantly, our approach provides the flexibility to change patching without retraining, overcoming a fundamental limitation of current tokenization methods.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Del Vecchio, A., Kapourani, C.-A., Athar, A. M., Dobrowolska, A., Anighoro, A., Tenmann, B., Edwards, L., Regep, C.. 2025-11-29. PatchDNA: A Flexible and Biologically-Informed Alternative to Tokenization for DNA. https://doi.org/10.1101/2025.11.28.691095. https://biorxiv.science/record/biorxiv%3A10.1101%2F2025.11.28.691095/patchdna-a-flexible-and-biologically-informed-alternative-to-tokenization-for-dna

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite bioRxiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

Determinants and Dynamics of HBV DNA Integrations in Hepatocyte Models

Background & Aims: Hepatitis B virus (HBV) DNA integration into the host genome contributes to viral persistence and hepatocellular carcinoma. We sought to determine the timing, extent, and genomic context of HBV integrations across four experimental models, including mouse-passaged primary human hepatocytes (mpPHHs). Methods: HepG2-NTCP cells and de novo infected mpPHHs were used to assess early integration dynamics, while pre-infected mpPHHs were used to characterize later-stage patterns. HepDE19 cells were used to evaluate how viral load influences integration burden in the Tet-off system. Target enrichment and Nanopore long-read sequencing were performed across 57 samples (triplicates per condition). Integration dynamics were analyzed over time, under Myrcludex B treatment, and across different viral loads. Comprehensive genomic annotation and statistical analyses assessed the recurrence of integrations across time points, chromosomal distribution, and enrichment within functional genomic elements. Results: Most integrations were detected within 72 hours, with early events still detected at later time points. mpPHHs exhibited the highest integration burden and the highest recurrence across time points, approaching levels reported in patient liver biopsies. Under the conditions tested, integration frequency was not associated with viral load and was not significantly affected by post-entry inhibition with Myrcludex B. Integrations were enriched in CpG islands, regulatory elements, and transcriptionally active loci, including genes involved in nucleotide metabolism. Conclusions: In the models examined, HBV integrations were established early and were still detected at later time points, whereas integration frequency was not explained by viral load under the conditions tested. mpPHHs offer a primary human hepatocyte model that provides insight into how early integration may relate to long-term persistence and disease progression.

genomics↗

Sensitivity of enhancer characterization depends on promoter usage in cellulo and in vivo

Massively parallel reporter assays (MPRAs) enable characterization of noncoding regulatory elements, yet the determinants of assay sensitivity remain poorly understood. Further, the assays have seen limited implementation in cellularly complex tissues, like the living brain, and have shown challenges achieving reproducible signals. Therefore, we systematically evaluated promoter - element interactions using Inferred Stability Optimized MPRA (ISOMPRA) both in cellulo and in vivo: We characterized enhancer elements overlapping mutations from individuals with autism, each coupled to several promoters, when delivered to cell lines or developing mouse cortex. Promoter choice strongly influenced reproducibility, dynamic range, and thus statistical power to detect enhancer, repressor, and allelic effects. Stronger promoters improved signal-to-noise, cross-context consistency, and detection of repressors, while weaker promoters amplified effect sizes but increased variability. In vivo, promoter choice further dictated cell-type specificity and assay consistency. Strong promoters dramatically improve sensitivity, with further improvements by assessing both pre-and post-spliced RNA. These results inform future interrogation of noncoding effects in complex tissues in vivo, and propose necessary sample sizes needed for statistical power with MPRAs.

genomics↗

A genomic surveillance platform and high-precision typing schemes for Vibrio cholerae and its pandemic lineage

Vibrio cholerae was responsible for 1.9 million cholera cases and >17,300 deaths in 2023-2025. Genomic surveillance has revealed that major outbreaks since 1961 are linked to a V. cholerae lineage called 7th Pandemic El Tor (7PET), highlighted as high-risk by the WHO Global Task Force on Cholera Control. Tracking this epidemic lineage using high resolution genome data has provided insights on spatiotemporal spread and antimicrobial resistance (AMR), crucial for ending the current cholera pandemic. We present a comprehensive set of analytics and typing methods with delivery through the Pathogenwatch platform (https://pathogen.watch/), built on a curated collection of 6014 V. cholerae genomes with rich metadata, spanning 7PET and the species. We include tools for predicting virulence and AMR, and species-wide lineage and 7PET sublineage assignment, mapped to nomenclature used in public health (a PopPUNK database and the Geno7PET tool). These outputs can be used to create genetic report cards for highlighting risks to policymakers. Analysis of the dataset revealed increasing AMR to WHO-recommended antimicrobials, differing between sublineages and geographies. By accurately identifying 7PET, its sublineages, AMR and virulence determinants, we deliver a resource to empower public health experts to integrate genomics into cholera surveillance and control.

genomics↗