Closed TorHou closed 4 years ago
The problem occurred when minWindowPos was within chromosome limits, but the coverage was 0. That lead to middleWindowPos being added to the window_positions array which could be bigger than the chromosomes length.
Ah, it was the wrong variable!
Good catch!
Did it work? I'll merge, and if there issues, we can revisit.
The problem occurred when minWindowPos was within chromosome limits, but the coverage was 0. That lead to middleWindowPos being added to the window_positions array which could be bigger than the chromosomes length.