Cargando…
Fulgor: A fast and compact k-mer index for large-scale matching and color queries
The problem of sequence identification or matching — determining the subset of references from a given collection that are likely to contain a query nucleotide sequence — is relevant for many important tasks in Computational Biology, such as metagenomics and pan-genome analysis. Due to the complex n...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Cold Spring Harbor Laboratory
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10197524/ https://www.ncbi.nlm.nih.gov/pubmed/37214944 http://dx.doi.org/10.1101/2023.05.09.539895 |
_version_ | 1785044569922994176 |
---|---|
author | Fan, Jason Singh, Noor Pratap Khan, Jamshed Pibiri, Giulio Ermanno Patro, Rob |
author_facet | Fan, Jason Singh, Noor Pratap Khan, Jamshed Pibiri, Giulio Ermanno Patro, Rob |
author_sort | Fan, Jason |
collection | PubMed |
description | The problem of sequence identification or matching — determining the subset of references from a given collection that are likely to contain a query nucleotide sequence — is relevant for many important tasks in Computational Biology, such as metagenomics and pan-genome analysis. Due to the complex nature of such analyses and the large scale of the reference collections a resourceefficient solution to this problem is of utmost importance. The reference collection should therefore be pre-processed into an index for fast queries. This poses the threefold challenge of designing an index that is efficient to query, has light memory usage, and scales well to large collections. To solve this problem, we describe how recent advancements in associative, order-preserving, k-mer dictionaries can be combined with a compressed inverted index to implement a fast and compact colored de Bruijn graph data structure. This index takes full advantage of the fact that unitigs in the colored de Bruijn graph are monochromatic (all k-mers in a unitig have the same set of references of origin, or “color”), leveraging the order-preserving property of its dictionary. In fact, k-mers are kept in unitig order by the dictionary, thereby allowing for the encoding of the map from k-mers to their inverted lists in as little as 1+o(1) bits per unitig. Hence, one inverted list per unitig is stored in the index with almost no space/time overhead. By combining this property with simple but effective compression methods for inverted lists, the index achieves very small space. We implement these methods in a tool called Fulgor. Compared to Themisto, the prior state of the art, Fulgor indexes a heterogeneous collection of 30,691 bacterial genomes in 3.8× less space, a collection of 150,000 Salmonella enterica genomes in approximately 2× less space, is at least twice as fast for color queries, and is 2 − 6× faster to construct. |
format | Online Article Text |
id | pubmed-10197524 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Cold Spring Harbor Laboratory |
record_format | MEDLINE/PubMed |
spelling | pubmed-101975242023-05-20 Fulgor: A fast and compact k-mer index for large-scale matching and color queries Fan, Jason Singh, Noor Pratap Khan, Jamshed Pibiri, Giulio Ermanno Patro, Rob bioRxiv Article The problem of sequence identification or matching — determining the subset of references from a given collection that are likely to contain a query nucleotide sequence — is relevant for many important tasks in Computational Biology, such as metagenomics and pan-genome analysis. Due to the complex nature of such analyses and the large scale of the reference collections a resourceefficient solution to this problem is of utmost importance. The reference collection should therefore be pre-processed into an index for fast queries. This poses the threefold challenge of designing an index that is efficient to query, has light memory usage, and scales well to large collections. To solve this problem, we describe how recent advancements in associative, order-preserving, k-mer dictionaries can be combined with a compressed inverted index to implement a fast and compact colored de Bruijn graph data structure. This index takes full advantage of the fact that unitigs in the colored de Bruijn graph are monochromatic (all k-mers in a unitig have the same set of references of origin, or “color”), leveraging the order-preserving property of its dictionary. In fact, k-mers are kept in unitig order by the dictionary, thereby allowing for the encoding of the map from k-mers to their inverted lists in as little as 1+o(1) bits per unitig. Hence, one inverted list per unitig is stored in the index with almost no space/time overhead. By combining this property with simple but effective compression methods for inverted lists, the index achieves very small space. We implement these methods in a tool called Fulgor. Compared to Themisto, the prior state of the art, Fulgor indexes a heterogeneous collection of 30,691 bacterial genomes in 3.8× less space, a collection of 150,000 Salmonella enterica genomes in approximately 2× less space, is at least twice as fast for color queries, and is 2 − 6× faster to construct. Cold Spring Harbor Laboratory 2023-05-20 /pmc/articles/PMC10197524/ /pubmed/37214944 http://dx.doi.org/10.1101/2023.05.09.539895 Text en https://creativecommons.org/licenses/by-nc-nd/4.0/This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (https://creativecommons.org/licenses/by-nc-nd/4.0/) , which allows reusers to copy and distribute the material in any medium or format in unadapted form only, for noncommercial purposes only, and only so long as attribution is given to the creator. |
spellingShingle | Article Fan, Jason Singh, Noor Pratap Khan, Jamshed Pibiri, Giulio Ermanno Patro, Rob Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title | Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title_full | Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title_fullStr | Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title_full_unstemmed | Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title_short | Fulgor: A fast and compact k-mer index for large-scale matching and color queries |
title_sort | fulgor: a fast and compact k-mer index for large-scale matching and color queries |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10197524/ https://www.ncbi.nlm.nih.gov/pubmed/37214944 http://dx.doi.org/10.1101/2023.05.09.539895 |
work_keys_str_mv | AT fanjason fulgorafastandcompactkmerindexforlargescalematchingandcolorqueries AT singhnoorpratap fulgorafastandcompactkmerindexforlargescalematchingandcolorqueries AT khanjamshed fulgorafastandcompactkmerindexforlargescalematchingandcolorqueries AT pibirigiulioermanno fulgorafastandcompactkmerindexforlargescalematchingandcolorqueries AT patrorob fulgorafastandcompactkmerindexforlargescalematchingandcolorqueries |