-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
findOverlaps with type="equal" and a GRangesList #16
Comments
I've recently encountered a use case for the "equal" type. I've defined it along the lines of |
Given that type "equal" is expected to be more stringent than type "within", it would be counter-intuitive to get a hit in the above situation when replacing |
I guess what I meant is that |
mmh I see. So IIUC in the GRanges#GRangesList case (Kasper's use case),
but not when:
@kasperdanielhansen is that the semantic you're after? |
That's right. It was easier to program and more efficient to ignore the duplicates and order and was good enough for my use case. That was the only rationale. |
When I use findOverlaps with type="equal" and a GRangesList I get an error:
(in this case
gr
is a GRanges andgrIntrons.24
is a GRangesList).This is made even more confusing by the generic
which strongly suggests
type="equal"
is valid.The text was updated successfully, but these errors were encountered: