Publication result detail

Basecalling-free resistance gene identification using a hybrid transformer in raw nanopore signals

JAKUBÍČEK, R.; VOROCHTA, J.; JAKUBÍČKOVÁ, M.; BEZDÍČEK, M.; LENGEROVÁ, M.; VÍTKOVÁ, H.

Original Title

Basecalling-free resistance gene identification using a hybrid transformer in raw nanopore signals

English Title

Basecalling-free resistance gene identification using a hybrid transformer in raw nanopore signals

Type

WoS Article

Original Abstract

Nanopore sequencing enables real-time access to raw signal data, which brings new possibilities for rapid genomic diagnostics. However, current workflows still primarily rely on basecalling, a computationally intensive step that slows subsequent analysis and limits real-time use. In addition, most current approaches that work with raw signals focus on simple read-level classification tasks and are not designed to detect and localize specific genes, particularly complex genomic features such as antibiotic resistance genes (ARGs). Here, we show that the hybrid convolutional-transformer model, NanoResFormer, can detect clinically relevant ARGs directly from raw nanopore signals without basecalling. The model captures both local and long-range signal patterns and employs a floating-window strategy to process inputs of varying lengths efficiently. In proof-of-concept experiments, NanoResFormer achieved a sensitivity of 92.6% and a precision of over 93%, with short latency, enabling real-time resistome profiling already during sequencing. The proposed approach, therefore, provides rapid access to crucial information, accelerating decision-making in clinical diagnostics and pathogen surveillance.

English abstract

Nanopore sequencing enables real-time access to raw signal data, which brings new possibilities for rapid genomic diagnostics. However, current workflows still primarily rely on basecalling, a computationally intensive step that slows subsequent analysis and limits real-time use. In addition, most current approaches that work with raw signals focus on simple read-level classification tasks and are not designed to detect and localize specific genes, particularly complex genomic features such as antibiotic resistance genes (ARGs). Here, we show that the hybrid convolutional-transformer model, NanoResFormer, can detect clinically relevant ARGs directly from raw nanopore signals without basecalling. The model captures both local and long-range signal patterns and employs a floating-window strategy to process inputs of varying lengths efficiently. In proof-of-concept experiments, NanoResFormer achieved a sensitivity of 92.6% and a precision of over 93%, with short latency, enabling real-time resistome profiling already during sequencing. The proposed approach, therefore, provides rapid access to crucial information, accelerating decision-making in clinical diagnostics and pathogen surveillance.

Keywords

antimicrobial resistance; convolutional encoder; floating window approach; Klebsiella pneumoniae; real-time detection; self-attention model; squiggle

Key words in English

antimicrobial resistance; convolutional encoder; floating window approach; Klebsiella pneumoniae; real-time detection; self-attention model; squiggle

Authors

JAKUBÍČEK, R.; VOROCHTA, J.; JAKUBÍČKOVÁ, M.; BEZDÍČEK, M.; LENGEROVÁ, M.; VÍTKOVÁ, H.

RIV year

2026

Released

18.01.2026

Publisher

Frontiers

Periodical

Frontiers in Microbiology

Volume

17

Number

1

State

Swiss Confederation

Pages from

1748934

Pages count

11

URL

Full text in the Digital Library

BibTex

@article{BUT201457,
  author="Roman {Jakubíček} and Jevhenij {Vorochta} and Markéta {Jakubíčková} and Matěj {Bezdíček} and Martina {Lengerová} and Helena {Vítková}",
  title="Basecalling-free resistance gene identification using a hybrid transformer in raw nanopore signals",
  journal="Frontiers in Microbiology",
  year="2026",
  volume="17",
  number="1",
  pages="11",
  doi="10.3389/fmicb.2026.1748934",
  issn="1664-302X",
  url="https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2026.1748934/full"
}