molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Merge mutation and recombination #54

Closed molpopgen closed 7 years ago

molpopgen commented 7 years ago

The current algorithm recombines gametes and then mutates the recombinant. This can lead to:

The dev_mutation_recombination branch has a new method that merges mutation and recombination into a single pass while also keeping results constant for the same RNG seed. It needs to be updated to apply to all simulation types and the test suite.

When mutation/recombination rates are high, the new approach both reduces RAM use and improves speed.