Skip to content

Discrepancy in window sizes depending on how they are given #122

@thekugelmeister

Description

@thekugelmeister

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions