Bartender: an ultrafast and accurate clustering algorithm to count barcode and amplicon reads
Abstract
Barcode sequencing (bar-seq) is a high-throughput, and cost effective method to assay large numbers of lineages or genotypes in complex cell pools. Because of its advantages, applications for bar-seq are quickly growing - from using neutral random barcodes to study the evolution of microbes or cancer, to using pseudo-barcodes, such as shRNAs, sgRNAs, or transposon insertion libraries, to simultaneously screen large numbers of cell perturbations. However, the computational pipelines for bar-seq have not been well developed. Available methods, which use prior information and/or simple brute-force comparisons, are slow and often result in overclustering artifacts that group distinct barcodes together. Here, we developed Bartender: an ultrafast and accurate clustering algorithm to detect barcodes and their abundances from raw next-generation sequencing data. To improve speed and reduce unnecessary pairwise comparisons, Bartender employs a divide-and-conquer strategy that intelligently sorts barcode reads into distinct bins before performing comparisons. To improve accuracy and reduce over-clustering artifacts, Bartender employs a modified two-sample proportion test that uses information on both the cluster sequence distances and cluster sizes to make merging decisions. Additionally, Bartender includes a \"multiple time point\" mode, which matches barcode clusters between different clustering runs for seamless handling of time course data. For both simulated and real data, Bartender clusters millions of unique barcodes in a few minutes at high accuracy (>99.9%), and is ~100-fold faster than previous methods. Bartender is a set of simple-to-use command line tools that can be performed on a laptop.\n\nAvailabilityBartender is available at no charge for non-commercial use at https://github.com/LaoZZZZZ/bartender-1.1.
02 /Specification & Classification
Click any tag to browse matching papers- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Real-Time Demultiplexing Nanopore Barcoded Sequencing Data With npBarcode
Son Hoang Nguyen, Tânia Duarte, … Minh Duc Cao·BioinformaticsPeer-reviewed·Aug 23, 2017
- barbieQ: An R software package for analysing barcode count data from clonal tracking experiments
Liyang Fei, Jovana Maksimovic, Alicia Oshlack·BioinformaticsPeer-reviewed·Jun 1, 2026
- Fast barcode calling based on k-mer distances
Riko Corwin Uphoff, Steffen Rechner, … Matthias Müller‐Hannemann·PNAS NexusPeer-reviewed·Jan 6, 2026
- A hybrid unsupervised approach for accurate short read clustering and barcoded sample demultiplexing in nanopore sequencing
Renmin Han, Junhai Qi, … Guojun Li·bioRxiv·Apr 13, 2022
- Rapid species discovery and identification with real-time barcoding facilitated by ONTbarcoder 2.0 and Oxford Nanopore R10.4
A. Srivathsan, V. Feng, … R. Meier·bioRxiv·Jun 26, 2023
- genBaRcode - a comprehensive R package for genetic barcode analysis
Lars Thielecke, Kerstin Cornils, Ingmar Glauche·BioinformaticsPeer-reviewed·Nov 27, 2019