Barbell Resolves Demultiplexing and Trimming Issues in Nanopore Data
Authors:
- Rick BeelooRBRick Beeloo
- Ragnar Groot KoerkampRagnar Groot Koerkamp
- Xiu JiaXiu Jia
- Marian J. Broekhuizen-StinsMBMarian J. Broekhuizen-Stins
- Lieke van IjkenLILieke van Ijken
- Els M. BroensEls M. Broens
- Aldert ZomerAldert Zomer
- Bas E. DutilhBas E. Dutilh
Preprint
Abstract
Background: Oxford Nanopore sequencing enables long-read sequencing across diverse applications, yet the experimental artifacts introduced by Nanopore barcoding are not well characterized. These artifacts can affect demultiplexing accuracy and downstream analyses. Results: We performed a rapid barcoding experiment on 66 diagnostic samples and found that 83% of reads carried the expected single-barcode pattern, while 17% contained multiple barcodes or other artifacts. Current demultiplexers, including the widely used Dorado , fail to correctly handle these complex cases, leaving approximately 7% of reads partially trimmed and contaminated with adapter fragments. Additional issues include the presence of two barcodes at the same read end—either identical, originating from the same sample, or different, introduced after pooling. The latter can lead to barcode bleeding when the outer barcode is incorrectly selected. To address these challenges, we developed Barbell , a pattern-aware demultiplexer that detects all barcode configurations. Barbell reduces trimming errors by three orders of magnitude, minimizes barcode bleeding, and supports custom experimental setups such as shorter barcodes, dual-end barcodes, and custom flank sequences. Conclusions: Our results highlight the impact of complex barcode attachments in Nanopore sequencing and demonstrate that Barbell drastically reduces their effects on downstream analyses. Barbell is open source and available at https://github.com/rickbeeloo/barbell .Keywords
Funding Information
- DiversiPHI, Deutsche Forschungsgemein schaft (DFG, German Research Foundation) under Germany’s Excellence Strategy - EXC 2051 (390713860)
- Alexander von Humboldt Foundation in the context of an Alexander von Humboldt-Professorship founded by German Federal Ministry of Education and Research.
This publication has 46 references indexed in Scilit:
- Demultiplexing and barcode-specific adaptive sampling for nanopore direct RNA sequencingNature Communications, 2025
- Next-generation diagnostics of bloodstream infections enabled by rapid whole-genome sequencing of bacterial cells purified from blood culturesEBioMedicine, 2025
- Population structure and antibiotic resistance of swine extraintestinal pathogenic Escherichia coli from ChinaNature Communications, 2024
- Generating barcodes for nanopore sequencing data with PROFundamental Research, 2024
- Ultrafast one‐pass FASTQ data preprocessing, quality control, and deduplication using fastpiMeta, 2023
- Fast nanopore sequencing data analysis with SLOW5Nature Biotechnology, 2022
- High-accuracy long-read amplicon sequences using unique molecular identifiers with Nanopore or PacBio sequencingNature Methods, 2021
- Nanopore metagenomics enables rapid clinical diagnosis of bacterial lower respiratory infectionNature Biotechnology, 2019
- Assembly of long, error-prone reads using repeat graphsNature Biotechnology, 2019
- MMseqs2 enables sensitive protein sequence searching for the analysis of massive data setsNature Biotechnology, 2017