KmerStream: Streaming algorithms for k-mer abundance estimation
Abstract
Motivation: Several applications in bioinformatics, such as genome assemblers and error corrections methods, rely on counting and keeping track of k-mers (substrings of length k). Histograms of k-mer frequencies can give valuable insight into the underlying distribution and indicate the error rate and genome size sampled in the sequencing experiment.\n\nResults: We present KmerStream, a streaming algorithm for computing statistics for high throughput sequencing data based on the frequency of k-mers. The algorithm runs in time linear in the size of the input and the space requirement are logarithmic in the size of the input. This very low space requirement allows us to deal with much larger datasets than previously presented algorithms. We derive a simple model that allows us to estimate the error rate of the sequencing experiment, as well as the genome size, using only the aggregate statistics reported by KmerStream and validate the accuracy on sequences from a PhiX control.\n\nAs an application we show how KmerStream can be used to compute the error rate of a DNA sequencing experiment. We run KmerStream on a set of 2656 whole genome sequenced individuals and compare the error rate to quality values reported by the sequencing equipment. We discover that while the quality values alone are largely reliable as a predictor of error rate, there is considerable variability in the error rates between sequencing runs, even when accounting for reported quality values.\n\nAvailability: The tool KmerStream is written in C++ and is released under a GPL license. It is freely available at https://github.com/pmelsted/KmerStream\n\nContact: pmelsted@hi.is
02 /Specification & Classification
Click any tag to browse matching papersReproducibility 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
- Back to sequences: find the origin of kmers
Anthony Baire, Pierre Marijon, … Pierre Peterlongo·The Journal of Open Source SoftwarePeer-reviewed·Sep 23, 2024
- Squeakr: An Exact and Approximate k-mer Counting System
Prashant Pandey, Michael A. Bender, … Rob Patro·BioinformaticsPeer-reviewed·Oct 6, 2017
- Efficient cardinality estimation for k-mers in large DNA sequencing data sets
Luiz C. Irber, C. Titus Brown·bioRxiv·Jun 7, 2016
- Hyper-k-mers: efficient streaming k-mers representation
Igor Martayan, Lucas Robidou, … Antoine Limasset·bioRxiv·Nov 6, 2024
- Dataset-adaptive minimizer order reduces memory usage in k-mer counting
Dan Flomin, David Pellow, Ron Shamir A·Journal of Computational BiologyPeer-reviewed·May 8, 2022
- Compact and evenly distributed k-mer binning for genomic sequences
Johan Nyström-Persson, Gabriel Keeble‐Gagnère, Niamat Zawad·BioinformaticsPeer-reviewed·Mar 3, 2021