Open
Description
In the example below, we have four sites and I ask scikit-allel to output windowed diversity with windows of length 1.
Note, however, that I only get 3 values in the diversity array, and the last window ends up including sites 3 and 4.
This seems a bit odd to me, so I was trying to understand why scikit-allel handles it like this. Just to spell it out: I find it odd that the windows end up being 1,1], [2,2] and [3,4] instead of [1,1], [2,2], [3,3], [4,4].
cc @petrelharp
Metadata
Metadata
Assignees
Labels
No labels