You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is really caused by 0-length intervals. [10,10) is zero-length. cr_overlap effectively filters out all such intervals. cr_contain uses a different algorithm and doesn't have the issue. I need to address this.
I noticed a difference in behaviour when calling the contain and overlap functions.
First, adds the interval
cr_add(cr, "chr1", 10, 10, 0);
overlap ("chr1", 10, 20) finds nothing.
contain ("chr1", 10, 20) finds this interval.
This behaviour was somewhat surprising. Is this normal behaviour? I'm not very familiar with genomics, so I don't know exactly how it should behave.
The text was updated successfully, but these errors were encountered: