Cargando…

Fast parallel construction of variable-length Markov chains

BACKGROUND: Alignment-free methods are a popular approach for comparing biological sequences, including complete genomes. The methods range from probability distributions of sequence composition to first and higher-order Markov chains, where a k-th order Markov chain over DNA has [Formula: see text]...

Descripción completa

Detalles Bibliográficos
Autores principales: Gustafsson, Joel, Norberg, Peter, Qvick-Wester, Jan R., Schliep, Alexander
Formato: Online Artículo Texto
Lenguaje:English
Publicado: BioMed Central 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8501649/
https://www.ncbi.nlm.nih.gov/pubmed/34627154
http://dx.doi.org/10.1186/s12859-021-04387-y
_version_ 1784580728948785152
author Gustafsson, Joel
Norberg, Peter
Qvick-Wester, Jan R.
Schliep, Alexander
author_facet Gustafsson, Joel
Norberg, Peter
Qvick-Wester, Jan R.
Schliep, Alexander
author_sort Gustafsson, Joel
collection PubMed
description BACKGROUND: Alignment-free methods are a popular approach for comparing biological sequences, including complete genomes. The methods range from probability distributions of sequence composition to first and higher-order Markov chains, where a k-th order Markov chain over DNA has [Formula: see text] formal parameters. To circumvent this exponential growth in parameters, variable-length Markov chains (VLMCs) have gained popularity for applications in molecular biology and other areas. VLMCs adapt the depth depending on sequence context and thus curtail excesses in the number of parameters. The scarcity of available fast, or even parallel software tools, prompted the development of a parallel implementation using lazy suffix trees and a hash-based alternative. RESULTS: An extensive evaluation was performed on genomes ranging from 12Mbp to 22Gbp. Relevant learning parameters were chosen guided by the Bayesian Information Criterion (BIC) to avoid over-fitting. Our implementation greatly improves upon the state-of-the-art even in serial execution. It exhibits very good parallel scaling with speed-ups for long sequences close to the optimum indicated by Amdahl’s law of 3 for 4 threads and about 6 for 16 threads, respectively. CONCLUSIONS: Our parallel implementation released as open-source under the GPLv3 license provides a practically useful alternative to the state-of-the-art which allows the construction of VLMCs even for very large genomes significantly faster than previously possible. Additionally, our parameter selection based on BIC gives guidance to end-users comparing genomes.
format Online
Article
Text
id pubmed-8501649
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-85016492021-10-20 Fast parallel construction of variable-length Markov chains Gustafsson, Joel Norberg, Peter Qvick-Wester, Jan R. Schliep, Alexander BMC Bioinformatics Software BACKGROUND: Alignment-free methods are a popular approach for comparing biological sequences, including complete genomes. The methods range from probability distributions of sequence composition to first and higher-order Markov chains, where a k-th order Markov chain over DNA has [Formula: see text] formal parameters. To circumvent this exponential growth in parameters, variable-length Markov chains (VLMCs) have gained popularity for applications in molecular biology and other areas. VLMCs adapt the depth depending on sequence context and thus curtail excesses in the number of parameters. The scarcity of available fast, or even parallel software tools, prompted the development of a parallel implementation using lazy suffix trees and a hash-based alternative. RESULTS: An extensive evaluation was performed on genomes ranging from 12Mbp to 22Gbp. Relevant learning parameters were chosen guided by the Bayesian Information Criterion (BIC) to avoid over-fitting. Our implementation greatly improves upon the state-of-the-art even in serial execution. It exhibits very good parallel scaling with speed-ups for long sequences close to the optimum indicated by Amdahl’s law of 3 for 4 threads and about 6 for 16 threads, respectively. CONCLUSIONS: Our parallel implementation released as open-source under the GPLv3 license provides a practically useful alternative to the state-of-the-art which allows the construction of VLMCs even for very large genomes significantly faster than previously possible. Additionally, our parameter selection based on BIC gives guidance to end-users comparing genomes. BioMed Central 2021-10-09 /pmc/articles/PMC8501649/ /pubmed/34627154 http://dx.doi.org/10.1186/s12859-021-04387-y Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
spellingShingle Software
Gustafsson, Joel
Norberg, Peter
Qvick-Wester, Jan R.
Schliep, Alexander
Fast parallel construction of variable-length Markov chains
title Fast parallel construction of variable-length Markov chains
title_full Fast parallel construction of variable-length Markov chains
title_fullStr Fast parallel construction of variable-length Markov chains
title_full_unstemmed Fast parallel construction of variable-length Markov chains
title_short Fast parallel construction of variable-length Markov chains
title_sort fast parallel construction of variable-length markov chains
topic Software
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8501649/
https://www.ncbi.nlm.nih.gov/pubmed/34627154
http://dx.doi.org/10.1186/s12859-021-04387-y
work_keys_str_mv AT gustafssonjoel fastparallelconstructionofvariablelengthmarkovchains
AT norbergpeter fastparallelconstructionofvariablelengthmarkovchains
AT qvickwesterjanr fastparallelconstructionofvariablelengthmarkovchains
AT schliepalexander fastparallelconstructionofvariablelengthmarkovchains