late() {
inds = sim.subpopulations.individuals;
for (ind in inds)
{
for (genome in ind.genomes)
{
if(runif(1) <= MU_SOM)
{
pos = rdunif(1, min=0, max=1000000);
genome.addNewDrawnMutation(m2, pos); // not working because we can't add new mutations to any individual older than age 0 while treeseq is on
}
}
}
}
```
Any advice about alternatives for modeling somatic mutations would be welcome - maybe it would make sense to try and indirectly model the fitness effects of somatic mutations rather than adding them directly to the simulation?
Thanks!
Camille
--
SLiM forward genetic simulation: http://messerlab.org/slim/
Before posting, please read http://benhaller.com/slim/bugs_and_questions.html
---
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 visit https://groups.google.com/d/msgid/slim-discuss/bac72f25-9ad2-4f17-9b80-8e747fc1b0f6n%40googlegroups.com.