TY - JOUR T1 - discoal: flexible coalescent simulations with selection JF - bioRxiv DO - 10.1101/063453 SP - 063453 AU - Andrew D. Kern AU - Daniel R. Schrider Y1 - 2016/01/01 UR - http://biorxiv.org/content/early/2016/07/12/063453.abstract N2 - Summary 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 selective 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 nonequilibrium demographic histories and without specifying an allele frequency trajectory in advance.Availability and Implementation Availability and implementation: discoal is implemented in the C programming language. Source code is freely available on GitHub (https://github.com/kernlab/discoal_multipop) under a GNU General Public License.Contact kern{at}dls.rutgers.eduSupplementary information Supplementary Figures and Text are appended below ER -