Cargando…
Efficient sequential and parallel algorithms for finding edit distance based motifs
BACKGROUND: Motif search is an important step in extracting meaningful patterns from biological data. The general problem of motif search is intractable and there is a pressing need to develop efficient, exact and approximation algorithms to solve this problem. In this paper, we present several nove...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2016
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5001234/ https://www.ncbi.nlm.nih.gov/pubmed/27557423 http://dx.doi.org/10.1186/s12864-016-2789-9 |
_version_ | 1782450436577427456 |
---|---|
author | Pal, Soumitra Xiao, Peng Rajasekaran, Sanguthevar |
author_facet | Pal, Soumitra Xiao, Peng Rajasekaran, Sanguthevar |
author_sort | Pal, Soumitra |
collection | PubMed |
description | BACKGROUND: Motif search is an important step in extracting meaningful patterns from biological data. The general problem of motif search is intractable and there is a pressing need to develop efficient, exact and approximation algorithms to solve this problem. In this paper, we present several novel, exact, sequential and parallel algorithms for solving the (l,d) Edit-distance-based Motif Search (EMS) problem: given two integers l,d and n biological strings, find all strings of length l that appear in each input string with atmost d errors of types substitution, insertion and deletion. METHODS: One popular technique to solve the problem is to explore for each input string the set of all possible l-mers that belong to the d-neighborhood of any substring of the input string and output those which are common for all input strings. We introduce a novel and provably efficient neighborhood exploration technique. We show that it is enough to consider the candidates in neighborhood which are at a distance exactly d. We compactly represent these candidate motifs using wildcard characters and efficiently explore them with very few repetitions. Our sequential algorithm uses a trie based data structure to efficiently store and sort the candidate motifs. Our parallel algorithm in a multi-core shared memory setting uses arrays for storing and a novel modification of radix-sort for sorting the candidate motifs. RESULTS: The algorithms for EMS are customarily evaluated on several challenging instances such as (8,1), (12,2), (16,3), (20,4), and so on. The best previously known algorithm, EMS1, is sequential and in estimated 3 days solves up to instance (16,3). Our sequential algorithms are more than 20 times faster on (16,3). On other hard instances such as (9,2), (11,3), (13,4), our algorithms are much faster. Our parallel algorithm has more than 600 % scaling performance while using 16 threads. CONCLUSIONS: Our algorithms have pushed up the state-of-the-art of EMS solvers and we believe that the techniques introduced in this paper are also applicable to other motif search problems such as Planted Motif Search (PMS) and Simple Motif Search (SMS). ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (doi:10.1186/s12864-016-2789-9) contains supplementary material, which is available to authorized users. |
format | Online Article Text |
id | pubmed-5001234 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2016 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-50012342016-09-06 Efficient sequential and parallel algorithms for finding edit distance based motifs Pal, Soumitra Xiao, Peng Rajasekaran, Sanguthevar BMC Genomics Research BACKGROUND: Motif search is an important step in extracting meaningful patterns from biological data. The general problem of motif search is intractable and there is a pressing need to develop efficient, exact and approximation algorithms to solve this problem. In this paper, we present several novel, exact, sequential and parallel algorithms for solving the (l,d) Edit-distance-based Motif Search (EMS) problem: given two integers l,d and n biological strings, find all strings of length l that appear in each input string with atmost d errors of types substitution, insertion and deletion. METHODS: One popular technique to solve the problem is to explore for each input string the set of all possible l-mers that belong to the d-neighborhood of any substring of the input string and output those which are common for all input strings. We introduce a novel and provably efficient neighborhood exploration technique. We show that it is enough to consider the candidates in neighborhood which are at a distance exactly d. We compactly represent these candidate motifs using wildcard characters and efficiently explore them with very few repetitions. Our sequential algorithm uses a trie based data structure to efficiently store and sort the candidate motifs. Our parallel algorithm in a multi-core shared memory setting uses arrays for storing and a novel modification of radix-sort for sorting the candidate motifs. RESULTS: The algorithms for EMS are customarily evaluated on several challenging instances such as (8,1), (12,2), (16,3), (20,4), and so on. The best previously known algorithm, EMS1, is sequential and in estimated 3 days solves up to instance (16,3). Our sequential algorithms are more than 20 times faster on (16,3). On other hard instances such as (9,2), (11,3), (13,4), our algorithms are much faster. Our parallel algorithm has more than 600 % scaling performance while using 16 threads. CONCLUSIONS: Our algorithms have pushed up the state-of-the-art of EMS solvers and we believe that the techniques introduced in this paper are also applicable to other motif search problems such as Planted Motif Search (PMS) and Simple Motif Search (SMS). ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (doi:10.1186/s12864-016-2789-9) contains supplementary material, which is available to authorized users. BioMed Central 2016-08-18 /pmc/articles/PMC5001234/ /pubmed/27557423 http://dx.doi.org/10.1186/s12864-016-2789-9 Text en © The Author(s) 2016 Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated. |
spellingShingle | Research Pal, Soumitra Xiao, Peng Rajasekaran, Sanguthevar Efficient sequential and parallel algorithms for finding edit distance based motifs |
title | Efficient sequential and parallel algorithms for finding edit distance based motifs |
title_full | Efficient sequential and parallel algorithms for finding edit distance based motifs |
title_fullStr | Efficient sequential and parallel algorithms for finding edit distance based motifs |
title_full_unstemmed | Efficient sequential and parallel algorithms for finding edit distance based motifs |
title_short | Efficient sequential and parallel algorithms for finding edit distance based motifs |
title_sort | efficient sequential and parallel algorithms for finding edit distance based motifs |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5001234/ https://www.ncbi.nlm.nih.gov/pubmed/27557423 http://dx.doi.org/10.1186/s12864-016-2789-9 |
work_keys_str_mv | AT palsoumitra efficientsequentialandparallelalgorithmsforfindingeditdistancebasedmotifs AT xiaopeng efficientsequentialandparallelalgorithmsforfindingeditdistancebasedmotifs AT rajasekaransanguthevar efficientsequentialandparallelalgorithmsforfindingeditdistancebasedmotifs |