TagGen: High-Performance Barcode Generator and Demultiplexer for High-Throughput and Long-Read Sequencing Applications

<ns3:p>Background Long-read sequencing platforms, particularly Oxford Nanopore Technologies (ONT), have transformed transcriptomics through direct RNA sequencing. However, their higher error rates – dominated by insertions and deletions – demand longer, more robust sequence barcodes than traditional short-read applications. Existing barcode generation tools suffer from exponential complexity, becoming computationally infeasible at lengths above 12 bp and leaving a critical gap for long-read applications. Methods We developed TagGen, a high-performance barcode generator implementing Monte Carlo candidate sampling with greedy diversity selection. TagGen includes an integrated demultiplexer that assigns ONT reads to their source barcodes regardless of the tag position using a kmer voting and banded edit-distance matching pipeline. We benchmarked TagGen using Badread-simulated reads and validated barcode resilience using a literature-based nanopore error model. Results TagGen generates 96 diverse 12 bp barcodes from 100,000 candidates in under 100 milliseconds, outperforming exhaustive enumeration by up to 13,600-fold. TagGen successfully generates barcodes at 14–30 bp lengths where other available tools fail. Noise simulation demonstrates that TagGen-generated 30 bp barcodes (minimum Hamming distance ≥8) maintain 100% correct assignment at 20% total error rate, whereas traditional 10 bp barcodes degrade to 83%. At typical nanopore error rates (10–15%), taggen-generated barcodes ≥14 bp achieve &gt;97% theoretical resolution. When inserted within a read, our systematic benchmark shows that TagGen demultiplexer achieved &gt;90% accuracy with zero wrong-sample assignments (“end” mode) for reads ≥20 bp. Levenshtein edit distance, recommended for ONT data, improved accuracy by 10–27 percentage points over Hamming distance at equivalent parameters. Conclusions TagGen uniquely enables robust barcode design for nanopore and direct RNA sequencing applications, providing researchers with error-tolerant barcodes validated against realistic long-read error profiles, and an integrated anchor-free demultiplexer for flexible read assignment. The software is freely available at https://github.com/Arnaroo/taggen.</ns3:p>

Authors

Institutions

Publication Details

Journal
F1000Research
Published
2026-04-30
DOI
https://doi.org/10.12688/f1000research.179899.1
Primary Topic
Genomics and Phylogenetic Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TagGen: High-Performance Barcode Generator and Demultiplexer for High-Throughput and Long-Read Sequencing Applications

Tessa Swain, Faiza Chowdhury, Nikolay Shirokikh, Danielle Rudler et al.
F1000Research
Genomics and Phylogenetic Studies
article

TagGen: High-Performance Barcode Generator and Demultiplexer for High-Throughput and Long-Read Sequencing Applications

Tessa Swain, Faiza Chowdhury, Nikolay Shirokikh, Danielle Rudler, Roderik Shirokikh, Alice Cleynen, Archa Fox
article en

Abstract

<ns3:p>Background Long-read sequencing platforms, particularly Oxford Nanopore Technologies (ONT), have transformed transcriptomics through direct RNA sequencing. However, their higher error rates – dominated by insertions and deletions – demand longer, more robust sequence barcodes than traditional short-read applications. Existing barcode generation tools suffer from exponential complexity, becoming computationally infeasible at lengths above 12 bp and leaving a critical gap for long-read applications. Methods We developed TagGen, a high-performance barcode generator implementing Monte Carlo candidate sampling with greedy diversity selection. TagGen includes an integrated demultiplexer that assigns ONT reads to their source barcodes regardless of the tag position using a kmer voting and banded edit-distance matching pipeline. We benchmarked TagGen using Badread-simulated reads and validated barcode resilience using a literature-based nanopore error model. Results TagGen generates 96 diverse 12 bp barcodes from 100,000 candidates in under 100 milliseconds, outperforming exhaustive enumeration by up to 13,600-fold. TagGen successfully generates barcodes at 14–30 bp lengths where other available tools fail. Noise simulation demonstrates that TagGen-generated 30 bp barcodes (minimum Hamming distance ≥8) maintain 100% correct assignment at 20% total error rate, whereas traditional 10 bp barcodes degrade to 83%. At typical nanopore error rates (10–15%), taggen-generated barcodes ≥14 bp achieve &gt;97% theoretical resolution. When inserted within a read, our systematic benchmark shows that TagGen demultiplexer achieved &gt;90% accuracy with zero wrong-sample assignments (“end” mode) for reads ≥20 bp. Levenshtein edit distance, recommended for ONT data, improved accuracy by 10–27 percentage points over Hamming distance at equivalent parameters. Conclusions TagGen uniquely enables robust barcode design for nanopore and direct RNA sequencing applications, providing researchers with error-tolerant barcodes validated against realistic long-read error profiles, and an integrated anchor-free demultiplexer for flexible read assignment. The software is freely available at https://github.com/Arnaroo/taggen.</ns3:p>

F1000ResearchVol. 15
Centre National de la Recherche Scientifique (FR), The University of Western Australia (AU), Interaction Design (United Kingdom) (GB)
Australian Research Council
Openalex Percentile: Top 9%
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.