Accelerating Wright-Fisher Forward Simulations on the Graphics Processing Unit
bioRxiv, (7 March 2016)
@article{Lawrie042622,
author={Lawrie, David S.},
title={Accelerating Wright-Fisher Forward Simulations on the Graphics Processing Unit},
year={2016},
doi={10.1101/042622},
publisher={Cold Spring Harbor Labs Journals},
URL={http://biorxiv.org/content/early/2016/03/07/042622},
eprint={http://biorxiv.org/content/early/2016/03/07/042622.full.pdf},
journal={bioRxiv}
}
Forward Wright-Fisher simulations are powerful in their ability to model complex demography and selection scenarios, but suffer from slow execution on the CPU, thus limiting their usefulness. The single-locus Wright-Fisher forward algorithm is, however, exceedingly parallelizable, with many steps which are so-called embarrassingly parallel, consisting of a vast number of individual computations that are all independent of each other and thus capable of being performed concurrently. The rise of modern Graphics Processing Units (GPUs) and programming languages designed to leverage the inherent parallel nature of these processors have allowed researchers to dramatically speed up many programs that have such high arithmetic intensity and intrinsic concurrency. The presented GPU Optimized Wright-Fisher simulation, or GO Fish for short, can be used to simulate arbitrary selection and demographic scenarios while running over 340-fold faster than its serial counterpart on the CPU. Even modest GPU hardware can achieve an impressive speedup of well over two orders of magnitude. With simulations so accelerated, one can not only do quick parametric bootstrapping of previously estimated parameters, but also use simulated results to calculate the likelihoods and summary statistics of demographic and selection models against real polymorphism data – all without restricting the demographic and selection scenarios that can be modeled or requiring approximations to the single-locus forward algorithm for efficiency. Further, as many of the parallel programming techniques used in this simulation can be applied to other computationally intensive algorithms important in population genetics, GO Fish serves as an exciting template for future research into accelerating computation in evolution.
March 10, 2016 by hgpu