Dear Fred,
Thanks for your previous help regarding Nemo, I continue to enjoy using it and have learnt a lot.
Sorry for this huge email, but I've come across a problem with the genetic map which I can only think is some kind of bug.
I'm trying to build a genetic map with a quanti locus in the middle of a chromosome and ntrl loci either side spaced further and further apart. In the attached Test1.ini file you can see what I'm aiming for- a quanti locus at 1000 cM with ntrl loci spanning 0-2000 cM.
My simulation is a simple 2-patch island model with divergent selection. So I would expect to see a peak of Fst in the middle of the chromosome around this quanti locus, falling away to either side. I have specified "ntrl_save_freq locus" to get the .freq files to look at Fst at each locus.But when I look at the .freq files, there seems to be no impact on Fst at all. Not even at the exact position where the quanti locus is.
So I took the advice of somebody in Sam Yeaman's lab and looked at the map resolution with the same map positions. The results are in the image "Test1_Fst.png". Vertical panels show changes in ntrl_genetic_map_resolution whilst horizontal panels show changes in quanti_genetic_map_resolution.
It looks to me as though the quanti locus is only ever positioned at 0. Reducing the neutral resolution shrinks the map down to span 200, 20, 2 cM etc, bringing more ntrl loci into tight linkage like it should, but the peak is always at the left of the map at 0.
Changing the quanti resolution also seems to do something, but as it looks as though the quanti locus is always at 0, I can't be sure what it's doing.
I thought that maybe there was some bug at 0, so I tried shifting the entire map horizontally by 90,000. This is in 'Test2.ini'. The ntrl map positions should now span 90,000-92,000 cM, with a quanti locus at 91,000, but the distances between them are all the same as in Test1.
The results of this are in "Test2_Fst.png". Now I sometimes get the same pattern with a peak at 0, but only where ntrl_res is smaller than quanti_res. Strangely, when ntrl_res is bigger than quanti_res, the peak appears at the right of my map- there's never a peak in the middle.
It looks to me as if Nemo is unable to place the quanti locus in between ntrl loci. It's either to the left of all the nrtl loci, or to the right.
Have you ever come across anything like this before? I'm really at a loss to explain it.
All the best, and many thanks
Nathan
--
Nathan White
PhD Student
Dept. Animal & Plant Sciences
University of Sheffield