--
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/6a2c02e0-0bba-4b59-a385-29c875014b67n%40googlegroups.com.
Thanks!
Jared
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/615efe64-7089-4bbb-ac42-cc4386865849n%40googlegroups.com.
1 late() {
//make two pops, with ongoing gene flow until the end of the simulation
sim.addSubpop("p1", n_rbt); // rainbow trout population
sim.addSubpop("p2", n_wct); // westslope population
c(p1,p2).genomes.readFromVCF("/RBT_slim_input.vcf", m1); // Read in a .vcf that was made in R and has RBT individuals first and WCT individuals second
p1.setSubpopulationSize(1000); // bump up RBT pop. size
p2.setSubpopulationSize(1000); // bump up WCT pop. size
p1.setMigrationRates(p2, 0.05); // migration rate from WCT into RBT
p2.setMigrationRates(p1, 0.01); // migration rate from RBT into WCT
Thanks a lot!
Jared
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/884c85a2-56a5-4d57-8a42-15ac8d10e548n%40googlegroups.com.