Complete numerical solution of the diffusion equation of random genetic drift

Genetics. 2013 Aug;194(4):973-85. doi: 10.1534/genetics.113.152017. Epub 2013 Jun 7.

Abstract

A numerical method is presented to solve the diffusion equation for the random genetic drift that occurs at a single unlinked locus with two alleles. The method was designed to conserve probability, and the resulting numerical solution represents a probability distribution whose total probability is unity. We describe solutions of the diffusion equation whose total probability is unity as complete. Thus the numerical method introduced in this work produces complete solutions, and such solutions have the property that whenever fixation and loss can occur, they are automatically included within the solution. This feature demonstrates that the diffusion approximation can describe not only internal allele frequencies, but also the boundary frequencies zero and one. The numerical approach presented here constitutes a single inclusive framework from which to perform calculations for random genetic drift. It has a straightforward implementation, allowing it to be applied to a wide variety of problems, including those with time-dependent parameters, such as changing population sizes. As tests and illustrations of the numerical method, it is used to determine: (i) the probability density and time-dependent probability of fixation for a neutral locus in a population of constant size; (ii) the probability of fixation in the presence of selection; and (iii) the probability of fixation in the presence of selection and demographic change, the latter in the form of a changing population size.

Keywords: allele fixation; demographic change, Wright–Fisher model; diffusion analysis; forward diffusion equation; numerical scheme.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Alleles
  • Animals
  • Gene Frequency
  • Genetic Drift*
  • Genetic Linkage
  • Models, Genetic*
  • Numerical Analysis, Computer-Assisted*
  • Population / genetics