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.
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.