For single read loading, if I request windows that I expect to be the same size, I observe them to be different depending on how they are requested.
- If I create a bed file with windows of length
w, the function returns the expected window boundaries for each read: n to n+w+1
- If I pass
w as the window_size argument, the function returns a window that is smaller by a single base: n to n+w
To solve this
- ensure we are consistent with inclusivity of the right window bound across the entire codebase
- ensure this is clearly documented everywhere
For single read loading, if I request windows that I expect to be the same size, I observe them to be different depending on how they are requested.
w, the function returns the expected window boundaries for each read:nton+w+1was thewindow_sizeargument, the function returns a window that is smaller by a single base:nton+wTo solve this