Home | About | Journals | Submit | Contact Us | Français |

**|**Bioinformatics**|**PMC2639306

Formats

Article sections

Authors

Related links

Bioinformatics. 2008 December 15; 24(24): 2936–2937.

Published online 2008 October 20. doi: 10.1093/bioinformatics/btn540

PMCID: PMC2639306

*To whom correspondence should be addressed.

Associate Editor: Martin Bishop

Received 2008 July 4; Revised 2008 September 16; Accepted 2008 October 15.

Copyright © The Author 2008. Published by Oxford University Press. All rights reserved. For Permissions, please email: journals.permissions@oxfordjournals.org

This article has been cited by other articles in PMC.

**Summary:** We introduce REJECTOR, software for parameter estimation and comparison of alternate models of population history from genetic data via a rejection algorithm. Through coalescent simulation, REJECTOR generates numerous gene genealogies, and hence simulated data, under a model of population history specified by the user. Summary statistics derived from such simulated data are compared with observed statistics, leading to acceptance or rejection of a given set of parameter values. We performed tests of the software using known parameter values in order to assess the inferential power provided by each summary statistic. The tests demonstrate the precision and accuracy of estimation made possible using this approach.

**Availability:**
http://www.rejector.org

**Contact:**
ude.drofnats@nibojm

**Supplementary Information:** Supplementary data are available at http://www.rejector.org/guide.pdf

The rejection algorithm method can be an efficient way to infer distributions of genetic and demographic parameters using polymorphism data (Ramakrishnan *et al.*, 2004). In this approach values for a parameter of interest are simulated from a prior distribution and accepted with a probability proportional to their likelihood. Since likelihoods are difficult to compute directly, approximate simulation methods have been developed wherein summary statistics are used in place of the full dataset, and the candidate parameter value is accepted based on the values of the statistics (Tavaré *et al.*, 1997). Bayesian statistics incorporate the use of prior information in the form of distributions of parameters of interest. The rejection algorithm method has been extended by simulation of parameter values from prior distributions and by coalescent simulation of gene genealogies given these parameter values (Pritchard *et al.*, 1999). Summary statistics calculated from these simulated genealogies can be compared with summary statistics calculated from observed data, and if the simulated summary statistics fall within a specified tolerance of the observed summary statistics, the parameter values are accepted to form a sample from the posterior distribution. The combination of summary statistics in place of the full dataset and Bayesian prior distributions is termed approximate Bayesian computation. Approximate Bayesian methods using summary statistics can deal with complex models and provide estimates of parameter values of interest under any model (Excoffier and Heckel, 2006). REJECTOR implements an approximate Bayesian method termed rejection-based approximate Bayesian inference (Beaumont *et al.*, 2002), for inferring population history.

REJECTOR calculates summary statistic values from observed data, then simulates a series of population histories from prior distributions for parameters of interest (e.g. time of divergence, population size and migration rate) and calculates summary statistic values for each simulated population history. REJECTOR accepts a simulated population history if its summary statistic values fall within a user-specified tolerance value of the values calculated from the experimental data. The parameter values of the accepted histories form posterior distributions that can be used to make estimates of the true parameter values. In addition to parameter estimation, REJECTOR can be used to compare alternate models of population history by comparing the proportion of accepted simulated histories generated by each model.

REJECTOR uses any number of unlinked blocks of genetic data, each containing any number and combination of SNP/UEP, microsatellite and sequence loci. REJECTOR makes use of the extant SIMCOAL2 (Laval and Excoffier, 2004) software for coalescent simulation, an updated version that allows for multiple blocks of linked loci. Comparisons can be made using a wide array of summary statistics. REJECTOR allows the user to jointly analyze different categories of genetic data simultaneously. Because each iteration of a rejection algorithm-based simulation is independent of all others, the computational work can be divided amongst multiple processors. A recent advance in Bayesian simulation, sequential Monte Carlo promises improved efficiency in rejection-based methods via the propagation of parameter values through a series of intermediate distributions with decreasing tolerance values (Sisson *et al.*, 2007), but this iteration of the REJECTOR software does not include this feature.

REJECTOR is a package composed of four executables, one of which is the SIMCOAL2 software by Laval and Excoffier. We have written the other three executables—REJSTATS, PRIOR and REJECTOR—in C++. We have compiled, tested and run the software under Mac OS X, Linux and Windows.

We tested the REJECTOR software package using simulated data in order to evaluate its ability to recover known parameter values using various configurations of data. This method uses summary statistics calculated from a simple two-population model with no growth, with equal population sizes of 1000 chromosomes and a time of divergence of 2000 generations. We used these summary statistic values as a target for a wide array of models using various data types, numbers of markers, tolerance levels and summary statistics. For each of these recovery tests, we ran REJECTOR for 100 000 iterations and compared the resultant statistics to those calculated from the target model, providing information on the effect that any combination of these factors has on the precision with which REJECTOR can recover a known set of parameter values. We have recorded the results of these recovery tests in the Supplementary Material, providing the researcher with guidelines for choosing combinations of summary statistics and data types. This information can serve as a starting point for the design of simulations that evaluate models given the experimentally derived data.

An example of the recovery test method described above demonstrates the precision and accuracy of REJECTOR using well-chosen summary statistics and data types. We simulated 100 unlinked microsatellites under the target model described in Section 2 (two populations of 1000 chromosomes each, no growth, time of divergence of 2000 generations and a mutation rate of 1.5×10^{−3} per microsatellite per generation) and recorded the values for the summary statistics δμ^{2}, the average squared distance in microsatellite lengths (Goldstein *et al.*, 1995) and the average variance in microsatellite repeat lengths, or microsatellite variance. We then ran REJECTOR for 100 000 iterations under a model introducing Gaussian prior distributions for time of divergence and size of Population 1 whose means were not equal to the true parameter values. We accepted iterations into the posterior distribution if both δμ^{2} and microsatellite variance matched the target values within a tolerance of 0.05.

Posterior distributions can be presented in 2D density plots to show the response of each summary statistic to changes in any two parameters. Figure 1 displays the posterior distribution from the recovery test described above. This plot shows the posterior distribution centered on the correct time of divergence and size of Population 1. As recorded in the Supplementary Material, μ^{2} is among the most sensitive summary statistics in the REJECTOR package to time of divergence, while microsatellite variance is sensitive to population size. The combination of these two summary statistics allows REJECTOR to recover the correct parameter values with the precision shown.

As demonstrated above, the REJECTOR software can provide estimates of parameter values for multiple parameters simultaneously, with both precision and accuracy if optimal summary statistics and tolerance values are chosen. Given sufficient computation time and data, the software has the ability to distinguish between alternate models of population history through both posterior distributions and the comparison of accepted runs for each parameter and each model (Supplementary Material). Hypotheses of ancient human migration can, for example, be investigated using REJECTOR by creating two alternate models with very different migration rates (e.g. one model with a hypothesized rate and one with no migration at all) and comparing acceptance rate (Pritchard *et al.*, 1999).

We thank L. Excoffier for his comments on the draft version of this article.

*Funding*: Morrison Institute for Population Resource Studies (to M.J.J.); National Institutes of Health (GM028428 to J.L.M.).

*Conflict of Interest*: none declared.

- Beaumont MA, et al. Approximate Bayesian computation in population genetics. Genetics. 2002;162:2025–2035. [PubMed]
- Excoffier L, Heckel G. Computer programs for population genetics data analysis: a survival guide. Nat. Rev. Genet. 2006;7:745–758. [PubMed]
- Goldstein DB, et al. Genetic absolute dating based on microsatellites and the origin of modern humans. Proc. Natl Acad. Sci. USA. 1995;92:6723–6727. [PubMed]
- Laval G, Excoffier L. SIMCOAL 2.0: a program to simulate genomic diversity over large recombining regions in a subdivided population with a complex history. Bioinformatics. 2004;20:2485–2487. [PubMed]
- Pritchard JK, et al. Population growth of human Y chromosomes: a study of Y chromosome microsatellites. Mol. Biol. Evol. 1999;16:1791–1798. [PubMed]
- Ramakrishnan U, et al. Estimation of genetically effective breeding numbers using a rejection algorithm approach. Mol. Ecol. 2004;13:3283–3292. [PubMed]
- Sisson SA, et al. Sequential Monte Carlo without likelihoods. Proc. Natl Acad. Sci. USA. 2007;104:1760–1765. [PubMed]
- Tavaré, et al. Inferring coalescence times from DNA sequence data. Genetics. 1997;145:505–518. [PubMed]

Articles from Bioinformatics are provided here courtesy of **Oxford University Press**

PubMed Central Canada is a service of the Canadian Institutes of Health Research (CIHR) working in partnership with the National Research Council's Canada Institute for Scientific and Technical Information in cooperation with the National Center for Biotechnology Information at the U.S. National Library of Medicine(NCBI/NLM). It includes content provided to the PubMed Central International archive by participating publishers. |