Genomic element type without mutation + tree sequence recording?

9 views
Skip to first unread message

Jiseon Min

unread,
May 9, 2025, 10:01:29 AMMay 9
to slim-discuss
Hi,

I am simulating a population with non-neutral sites flanked by neutral sites. Is there a way to make those arms mutation-free so that I can overlay neutral mutations on the tree sequence after the simulation? The simulation runs as it is, but I was wondering if I can do something about the warning about neutral mutations. Thanks in advance!

Peter Ralph

unread,
May 9, 2025, 11:54:16 AMMay 9
to Jiseon Min, slim-discuss
Hi, Jiseon! Well, here's an example of a chromosome with only selected mutations happening in a 10kb chunk in the middle:

initialize() {
      initializeMutationRate(c(0, 1e-7, 0), ends=c(50000, 60000, 100000));
      initializeMutationType("m1", 0.5, "f", 0.1);
      initializeGenomicElementType("g1", m1, 1.0);
      initializeGenomicElement(g1, 50000, 60000);
      initializeRecombinationRate(1e-8);
}

But, maybe I didn't understand the question? If not, a short, simplified script might help?

-peter

From: slim-d...@googlegroups.com <slim-d...@googlegroups.com> on behalf of Jiseon Min <minjis...@gmail.com>
Sent: Friday, May 9, 2025 7:01 AM
To: slim-discuss <slim-d...@googlegroups.com>
Subject: Genomic element type without mutation + tree sequence recording?
 
Hi,

I am simulating a population with non-neutral sites flanked by neutral sites. Is there a way to make those arms mutation-free so that I can overlay neutral mutations on the tree sequence after the simulation? The simulation runs as it is, but I was wondering if I can do something about the warning about neutral mutations. Thanks in advance!

--
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 visit https://groups.google.com/d/msgid/slim-discuss/e343f7b4-106b-4331-a10c-eadd09dd7e34n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages