bioRxiv · 10.1101/2022.02.20.481170
TrieDedup: A fast trie-based deduplication algorithm to handle ambiguous bases in high-throughput sequencing
Abstract
BackgroundHigh-throughput sequencing is a powerful tool that is extensively applied in biological studies. However, sequencers may produce low-quality bases, leading to ambiguous bases, Ns. PCR duplicates introduced in library preparation should usually be removed in genomics studies, and several deduplication tools have been developed for this purpose. However, two identical reads may appear different due to ambiguous bases and the existing tools cannot address Ns correctly or efficiently. ResultsHere we proposed and implemented TrieDedup, which uses trie (prefix tree) data structure to compare and store sequences. TrieDedup can handle ambiguous base Ns, and efficiently deduplicate at the level of raw sequences. We also reduced its memory usage by approximately 20% by implementing restrictedDict in Python. We benchmarked the performance of the algorithm and showed that TrieDedup can deduplicate reads up to 270-fold faster than pairwise comparison at a cost of 32-fold higher memory usage. ConclusionsTrieDedup algorithm may facilitate PCR deduplication, barcode or UMI assignment and repertoire diversity analysis of large scale high-throughput sequencing datasets with its ultra-fast algorithm that can account for ambiguous bases due to sequencing errors. AvailabilityTrieDedup is available at https://github.com/lolrenceH/TrieDedup
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Hu, J., Luo, S., Tian, M., Alt, F. W., Ye, A. Y.. 2022-02-22. TrieDedup: A fast trie-based deduplication algorithm to handle ambiguous bases in high-throughput sequencing. https://doi.org/10.1101/2022.02.20.481170
Cite the original work for its findings. Save a collection to share your selection of sources.