Cargando…
Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory
MOTIVATION: The simplifying assumptions that are used widely in theoretical population genetics may not always be appropriate for empirical population genetics. General computational approaches that do not require the assumptions of classical theory are therefore quite desirable. One such general ap...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Oxford University Press
2017
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5408789/ https://www.ncbi.nlm.nih.gov/pubmed/28453671 http://dx.doi.org/10.1093/bioinformatics/btw802 |
_version_ | 1783232364121423872 |
---|---|
author | Krukov, Ivan de Sanctis, Bianca de Koning, A P Jason |
author_facet | Krukov, Ivan de Sanctis, Bianca de Koning, A P Jason |
author_sort | Krukov, Ivan |
collection | PubMed |
description | MOTIVATION: The simplifying assumptions that are used widely in theoretical population genetics may not always be appropriate for empirical population genetics. General computational approaches that do not require the assumptions of classical theory are therefore quite desirable. One such general approach is provided by the theory of absorbing Markov chains, which can be used to obtain exact results by directly analyzing population genetic Markov models, such as the classic bi-allelic Wright–Fisher model. Although these approaches are sometimes used, they are usually forgone in favor of simulation methods, due to the perception that they are too computationally burdensome. Here we show that, surprisingly, direct analysis of virtually any Markov chain model in population genetics can be made quite efficient by exploiting transition matrix sparsity and by solving restricted systems of linear equations, allowing a wide variety of exact calculations (within machine precision) to be easily and rapidly made on modern workstation computers. RESULTS: We introduce Wright–Fisher Exact Solver (WFES), a fast and scalable method for direct analysis of Markov chain models in population genetics. WFES can rapidly solve for both long-term and transient behaviours including fixation and extinction probabilities, expected times to fixation or extinction, sojourn times, expected allele age and variance, and others. Our implementation requires only seconds to minutes of runtime on modern workstations and scales to biological population sizes ranging from humans to model organisms. AVAILABILITY AND IMPLEMENTATION: The code is available at https://github.com/dekoning-lab/wfes SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online. |
format | Online Article Text |
id | pubmed-5408789 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2017 |
publisher | Oxford University Press |
record_format | MEDLINE/PubMed |
spelling | pubmed-54087892017-05-03 Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory Krukov, Ivan de Sanctis, Bianca de Koning, A P Jason Bioinformatics Applications Notes MOTIVATION: The simplifying assumptions that are used widely in theoretical population genetics may not always be appropriate for empirical population genetics. General computational approaches that do not require the assumptions of classical theory are therefore quite desirable. One such general approach is provided by the theory of absorbing Markov chains, which can be used to obtain exact results by directly analyzing population genetic Markov models, such as the classic bi-allelic Wright–Fisher model. Although these approaches are sometimes used, they are usually forgone in favor of simulation methods, due to the perception that they are too computationally burdensome. Here we show that, surprisingly, direct analysis of virtually any Markov chain model in population genetics can be made quite efficient by exploiting transition matrix sparsity and by solving restricted systems of linear equations, allowing a wide variety of exact calculations (within machine precision) to be easily and rapidly made on modern workstation computers. RESULTS: We introduce Wright–Fisher Exact Solver (WFES), a fast and scalable method for direct analysis of Markov chain models in population genetics. WFES can rapidly solve for both long-term and transient behaviours including fixation and extinction probabilities, expected times to fixation or extinction, sojourn times, expected allele age and variance, and others. Our implementation requires only seconds to minutes of runtime on modern workstations and scales to biological population sizes ranging from humans to model organisms. AVAILABILITY AND IMPLEMENTATION: The code is available at https://github.com/dekoning-lab/wfes SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online. Oxford University Press 2017-05-01 2016-12-30 /pmc/articles/PMC5408789/ /pubmed/28453671 http://dx.doi.org/10.1093/bioinformatics/btw802 Text en © The Author 2016. Published by Oxford University Press. http://creativecommons.org/licenses/by-nc/4.0/ This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is properly cited. For commercial re-use, please contact journals.permissions@oup.com |
spellingShingle | Applications Notes Krukov, Ivan de Sanctis, Bianca de Koning, A P Jason Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title | Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title_full | Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title_fullStr | Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title_full_unstemmed | Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title_short | Wright–Fisher exact solver (WFES): scalable analysis of population genetic models without simulation or diffusion theory |
title_sort | wright–fisher exact solver (wfes): scalable analysis of population genetic models without simulation or diffusion theory |
topic | Applications Notes |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5408789/ https://www.ncbi.nlm.nih.gov/pubmed/28453671 http://dx.doi.org/10.1093/bioinformatics/btw802 |
work_keys_str_mv | AT krukovivan wrightfisherexactsolverwfesscalableanalysisofpopulationgeneticmodelswithoutsimulationordiffusiontheory AT desanctisbianca wrightfisherexactsolverwfesscalableanalysisofpopulationgeneticmodelswithoutsimulationordiffusiontheory AT dekoningapjason wrightfisherexactsolverwfesscalableanalysisofpopulationgeneticmodelswithoutsimulationordiffusiontheory |