Efficient computation of spaced seed hashing with block indexing
Abstract Background Spaced-seeds, i.e. patterns in which some fixed positions are allowed to be wild-cards, play a crucial role in several bioinformatics applications involving substrings counting and indexing, by often providing better sensitivity with respect to k-mers based approaches. K-mers bas...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
BMC
2018-11-01
|
Series: | BMC Bioinformatics |
Subjects: | |
Online Access: | http://link.springer.com/article/10.1186/s12859-018-2415-8 |
id |
doaj-573871807364488a99a4fa65e7ec9f48 |
---|---|
record_format |
Article |
spelling |
doaj-573871807364488a99a4fa65e7ec9f482020-11-25T00:46:05ZengBMCBMC Bioinformatics1471-21052018-11-0119S15293810.1186/s12859-018-2415-8Efficient computation of spaced seed hashing with block indexingSamuele Girotto0Matteo Comin1Cinzia Pizzi2Department of Information Engineering, University of PadovaDepartment of Information Engineering, University of PadovaDepartment of Information Engineering, University of PadovaAbstract Background Spaced-seeds, i.e. patterns in which some fixed positions are allowed to be wild-cards, play a crucial role in several bioinformatics applications involving substrings counting and indexing, by often providing better sensitivity with respect to k-mers based approaches. K-mers based approaches are usually fast, being based on efficient hashing and indexing that exploits the large overlap between consecutive k-mers. Spaced-seeds hashing is not as straightforward, and it is usually computed from scratch for each position in the input sequence. Recently, the FSH (Fast Spaced seed Hashing) approach was proposed to improve the time required for computation of the spaced seed hashing of DNA sequences with a speed-up of about 1.5 with respect to standard hashing computation. Results In this work we propose a novel algorithm, Fast Indexing for Spaced seed Hashing (FISH), based on the indexing of small blocks that can be combined to obtain the hashing of spaced-seeds of any length. The method exploits the fast computation of the hashing of runs of consecutive 1 in the spaced seeds, that basically correspond to k-mer of the length of the run. Conclusions We run several experiments, on NGS data from simulated and synthetic metagenomic experiments, to assess the time required for the computation of the hashing for each position in each read with respect to several spaced seeds. In our experiments, FISH can compute the hashing values of spaced seeds with a speedup, with respect to the traditional approach, between 1.9x to 6.03x, depending on the structure of the spaced seeds.http://link.springer.com/article/10.1186/s12859-018-2415-8Spaced seedsk-mersEfficient computation of hashing |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Samuele Girotto Matteo Comin Cinzia Pizzi |
spellingShingle |
Samuele Girotto Matteo Comin Cinzia Pizzi Efficient computation of spaced seed hashing with block indexing BMC Bioinformatics Spaced seeds k-mers Efficient computation of hashing |
author_facet |
Samuele Girotto Matteo Comin Cinzia Pizzi |
author_sort |
Samuele Girotto |
title |
Efficient computation of spaced seed hashing with block indexing |
title_short |
Efficient computation of spaced seed hashing with block indexing |
title_full |
Efficient computation of spaced seed hashing with block indexing |
title_fullStr |
Efficient computation of spaced seed hashing with block indexing |
title_full_unstemmed |
Efficient computation of spaced seed hashing with block indexing |
title_sort |
efficient computation of spaced seed hashing with block indexing |
publisher |
BMC |
series |
BMC Bioinformatics |
issn |
1471-2105 |
publishDate |
2018-11-01 |
description |
Abstract Background Spaced-seeds, i.e. patterns in which some fixed positions are allowed to be wild-cards, play a crucial role in several bioinformatics applications involving substrings counting and indexing, by often providing better sensitivity with respect to k-mers based approaches. K-mers based approaches are usually fast, being based on efficient hashing and indexing that exploits the large overlap between consecutive k-mers. Spaced-seeds hashing is not as straightforward, and it is usually computed from scratch for each position in the input sequence. Recently, the FSH (Fast Spaced seed Hashing) approach was proposed to improve the time required for computation of the spaced seed hashing of DNA sequences with a speed-up of about 1.5 with respect to standard hashing computation. Results In this work we propose a novel algorithm, Fast Indexing for Spaced seed Hashing (FISH), based on the indexing of small blocks that can be combined to obtain the hashing of spaced-seeds of any length. The method exploits the fast computation of the hashing of runs of consecutive 1 in the spaced seeds, that basically correspond to k-mer of the length of the run. Conclusions We run several experiments, on NGS data from simulated and synthetic metagenomic experiments, to assess the time required for the computation of the hashing for each position in each read with respect to several spaced seeds. In our experiments, FISH can compute the hashing values of spaced seeds with a speedup, with respect to the traditional approach, between 1.9x to 6.03x, depending on the structure of the spaced seeds. |
topic |
Spaced seeds k-mers Efficient computation of hashing |
url |
http://link.springer.com/article/10.1186/s12859-018-2415-8 |
work_keys_str_mv |
AT samuelegirotto efficientcomputationofspacedseedhashingwithblockindexing AT matteocomin efficientcomputationofspacedseedhashingwithblockindexing AT cinziapizzi efficientcomputationofspacedseedhashingwithblockindexing |
_version_ |
1725267057769971712 |