1. Pheniqs 2.0: accurate, high-performance Bayesian decoding and confidence estimation for combinatorial barcode indexing
- Author
-
Lior Galanti, Dennis Shasha, and Kristin C. Gunsalus
- Subjects
QH301-705.5 ,Computer science ,Computer applications to medicine. Medical informatics ,Posterior probability ,Bayesian probability ,R858-859.7 ,Barcode ,Single-cell split-pooling ,Biochemistry ,law.invention ,03 medical and health sciences ,0302 clinical medicine ,Structural Biology ,law ,Combinatorial indexing ,DNA Barcoding, Taxonomic ,Barcode simulation ,Biology (General) ,Sequence demultiplexing ,Molecular Biology ,030304 developmental biology ,Electronic Data Processing ,0303 health sciences ,Applied Mathematics ,Search engine indexing ,Barcode decoding confidence ,Probabilistic logic ,High-Throughput Nucleotide Sequencing ,Reproducibility of Results ,Bayes Theorem ,Sequence Analysis, DNA ,Computer Science Applications ,Edit distance ,Barcode noise filtering ,Precision and recall ,Algorithm ,Software ,030217 neurology & neurosurgery ,Decoding methods - Abstract
Background Systems biology increasingly relies on deep sequencing with combinatorial index tags to associate biological sequences with their sample, cell, or molecule of origin. Accurate data interpretation depends on the ability to classify sequences based on correct decoding of these combinatorial barcodes. The probability of correct decoding is influenced by both sequence quality and the number and arrangement of barcodes. The rising complexity of experimental designs calls for a probability model that accounts for both sequencing errors and random noise, generalizes to multiple combinatorial tags, and can handle any barcoding scheme. The needs for reproducibility and community benchmark standards demand a peer-reviewed tool that preserves decoding quality scores and provides tunable control over classification confidence that balances precision and recall. Moreover, continuous improvements in sequencing throughput require a fast, parallelized and scalable implementation. Results and discussion We developed a flexible, robustly engineered software that performs probabilistic decoding and supports arbitrarily complex barcoding designs. Pheniqs computes the full posterior decoding error probability of observed barcodes by consulting basecalling quality scores and prior distributions, and reports sequences and confidence scores in Sequence Alignment/Map (SAM) fields. The product of posteriors for multiple independent barcodes provides an overall confidence score for each read. Pheniqs achieves greater accuracy than minimum edit distance or simple maximum likelihood estimation, and it scales linearly with core count to enable the classification of > 11 billion reads in 1 h 15 m using < 50 megabytes of memory. Pheniqs has been in production use for seven years in our genomics core facility. Conclusion We introduce a computationally efficient software that implements both probabilistic and minimum distance decoders and show that decoding barcodes using posterior probabilities is more accurate than available methods. Pheniqs allows fine-tuning of decoding sensitivity using intuitive confidence thresholds and is extensible with alternative decoders and new error models. Any arbitrary arrangement of barcodes is easily configured, enabling computation of combinatorial confidence scores for any barcoding strategy. An optimized multithreaded implementation assures that Pheniqs is faster and scales better with complex barcode sets than existing tools. Support for POSIX streams and multiple sequencing formats enables easy integration with automated analysis pipelines.
- Published
- 2021
- Full Text
- View/download PDF