Topology-based sparsification of graph annotations
Open Access
- 1 July 2021
- journal article
- conference paper
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 37 (Supplement) , i169-i176
Abstract
Motivation: Since the amount of published biological sequencing data is growing exponentially, efficient methods for storing and indexing this data are more needed than ever to truly benefit from this invaluable resource for biomedical research. Labeled de Bruijn graphs are a frequently-used approach for representing large sets of sequencing data. While significant progress has been made to succinctly represent the graph itself, efficient methods for storing labels on such graphs are still rapidly evolving. Results: In this article, we present RowDiff, a new technique for compacting graph labels by leveraging expected similarities in annotations of vertices adjacent in the graph. RowDiff can be constructed in linear time relative to the number of vertices and labels in the graph, and in space proportional to the graph size. In addition, construction can be efficiently parallelized and distributed, making the technique applicable to graphs with trillions of nodes. RowDiff can be viewed as an intermediary sparsification step of the original annotation matrix and can thus naturally be combined with existing generic schemes for compressed binary matrices. Experiments on 10 000 RNA-seq datasets show that RowDiff combined with multi-BRWT results in a 30% reduction in annotation footprint over Mantis-MST, the previously known most compact annotation representation. Experiments on the sparser Fungi subset of the RefSeq collection show that applying RowDiff sparsification reduces the size of individual annotation columns stored as compressed bit vectors by an average factor of 42. When combining RowDiff with a multi-BRWT representation, the resulting annotation is 26 times smaller than Mantis-MST. Availability and implementation: RowDiff is implemented in C++ within the MetaGraph framework. The source code and the data used in the experiments are publicly available at https://github.com/ratschlab/row_diff.Keywords
All Related Versions
Funding Information
- Swiss National Science Foundation (407540_167331)
- ETH core funding
This publication has 20 references indexed in Scilit:
- Data structures based onk-mers for querying large collections of sequencing data setsGenome Research, 2020
- Sparse Binary Relation Representations for Genome Graph AnnotationJournal of Computational Biology, 2020
- Improved representation of sequence bloom treesBioinformatics, 2019
- Ultrafast search of all deposited bacterial and viral genomic dataNature Biotechnology, 2019
- KrakenUniq: confident and fast metagenomics classification using unique k-mer countsGenome Biology, 2018
- Reference-free compression of high throughput sequencing data with a probabilistic de Bruijn graphBMC Bioinformatics, 2015
- Space-efficient and exact de Bruijn graph representation based on a Bloom filterAlgorithms for Molecular Biology, 2013
- Large-scale compression of genomic sequence databases with the Burrows–Wheeler transformBioinformatics, 2012
- De novo assembly and genotyping of variants using colored de Bruijn graphsNature Genetics, 2012
- Efficient Storage and Retrieval by Content and Address of Static FilesJournal of the ACM, 1974