title: Discoal: flexible coalescent simulations with selection.
abstract: Here we describe discoal, a coalescent simulator able to generate population samples that include selective sweeps in a feature-rich, flexible manner. discoal can perform simulations conditioning on the fixation of an allele due to drift or either hard or soft sweeps-even those occurring a large genetic distance away from the simulated locus. discoal can simulate sweeps with recurrent mutation to the adaptive allele, recombination, and gene conversion, under non-equilibrium demographic histories and without specifying an allele frequency trajectory in advance.
  
  
  
  discoal is implemented in the C programming language. Source code is freely available on GitHub (https://github.com/kern-lab/discoal) under a GNU General Public License.
  
  
  
  kern@dls.rutgers.edu or dan.schrider@rutgers.eduSupplementary information: Supplementary data are available at Bioinformatics online.
authors: Department of Genetics.|Human Genetics Institute of New Jersey, Rutgers University, Piscataway, NJ 08554, USA.
authors: Andrew D
authors: AD
authors: Kern
authors: Human Genetics Institute of New Jersey, Rutgers University, Piscataway, NJ 08554, USA.
authors: Daniel R
authors: DR
authors: Schrider
mesh_terms: D000483:Alleles; D019295:Computational Biology / Q000379:methods*; D003198:Computer Simulation; D005787:Gene Frequency; D005828:Genetics, Population / Q000379:methods*; D008957:Models, Genetic; D009154:Mutation; D011381:Programming Languages; D012984:Software; D013269:Stochastic Processes