Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Wrong binsize calculation accumulates offset errors with increasing bin numbers #69

Description

@Drmirdeep

There is a crucial bug in the binsize calculation in the bamliquidator.cpp file.
Since the tool needs a gff file as input the length of a region is
"end-start+1" and not "end-start" as in bed format. When demanding 60 bins for a region you get an offset of 60bp for the 60th bin already and thus miss the very end of your region. Further, a regions end position would then be start+binsize-1 if you stick with the gff format. However, I did not check the rest of the code. If it uses half-open intervals start+binsize would be correct of course.

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