Skip to content

Matching recombination rates for recapitation of SLiM with msprime #2333

Description

@freshspaceoctopus

Hello, I am currently trying to simulate neutral and positive selection on a complex demography with multiple chromosomes.

My understanding is that for msprime, the recombination rate is the mean probability of a split event using a poisson distribution, so to simulate breakpoints for multiple chromosomes, the recombination rate at the breakpoint should be given as log(2).

For SLiM, my understanding is that it is the exact binomial probability, so the value should be given as 0.5.

I want to give a recombination rate in msprime 1e-08 within a chromosome, and this is where I am confused.

I wonder for which simulation should I give the value 1e-08 and for which simulation should I modify the value to match 1e-08 so that the two simulations agree in terms of recombination. My guess is that 1e-08 is the expected number of recombinations, so the msprime values should be 1e-08 and SLiM should be 1 - exp(-1e-08), which is anyway almost 1e-08 where the probability and the rate values are not so different in the first place, so it isn't much of an issue, but I just wanted to be sure.

Thank you for your time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions