Closed lindenb closed 4 years ago
This PR only makes the coding easier.
I often find myself testing if a Locatable overlaps a SamSequenceRecord .
Locatable
SamSequenceRecord
interval.overlaps(new Interval(ssr.getSequenceName(),1,ssr.getSequenceLength()));
This PR adds the interface 'Locatable' to SamSequenceRecord (with start=1 && end=sequenceLength()).
interval.overlaps(ssr);
Description
This PR only makes the coding easier.
I often find myself testing if a
Locatable
overlaps aSamSequenceRecord
.interval.overlaps(new Interval(ssr.getSequenceName(),1,ssr.getSequenceLength()));
This PR adds the interface 'Locatable' to
SamSequenceRecord
(with start=1 && end=sequenceLength()).interval.overlaps(ssr);
Things to think about before submitting: