Reduce GRanges by different lengths of overlapping, deppending on each compared intervals
0
0
Entering edit mode
2.3 years ago
jeni ▴ 60

Hi!

Is there anyway to reduce a GRanges object taking into account different lengths of overlapping?

For example:

seqnames   IRanges
1    100-200
1    110-199
1    150-500


Although all this genomic ranges are overlaping, I would like to obtain those different intervals, considering also as different those overlaping with a length lower than the 30% of the mean length of each compared intervals.

In this case, I would like to get:

seqnames   IRanges
1    100-200
1    150-500

GRanges • 719 views