-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi. Thanks for this excellent crate. I'm wanting to do a merge that is dependent on a second, unrelated set of intervals. If both the r- and q- intervals will merge, then go ahead, but if only one of them would merge, do nothing. I think this might be possible with ConditionalMergingIterator in granges, but I wonder how to condition on the second set of intervals? Is this possible?
Say we're merging ranges within a distance of 100:
Don't merge:
qstart qend rstart rend
2756014 2756066 54079 54131
55662 55787 54096 54221
Merge:
qstart qend rstart rend
54358 54543 54629 54814
54147 54332 54840 55025
Metadata
Metadata
Assignees
Labels
No labels