sdtemple / isweep

Statistical inference of recent positive selection using IBD segments
https://github.com/sdtemple/isweep
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

ibd-windowed.py crashes in elaborate simulated genetic maps #11

Open sdtemple opened 2 months ago

sdtemple commented 2 months ago

The crash happens when the # of cM windows is one less than the # of bp windows and the # of counts. I believe this occurs whenever your genetic map does not have an initial entry with cM = 0.00 and bp = 0.

I have never run into this issue in real data.

I have never run into this issue when using a uniform map like

1 . 0.0 0
1 . 100.00 100000000