Hi all,
I have a file like this I want to extract only those regions which are big and continous
chr1 3280000 3440000
chr1 3440000 3920000
chr1 3600000 3920000 # region coming within the 3440000 3920000. so i don't want it to be printed in output
chr1 3920000 4800000
chr1 4080000 4800000 # region coming within the 3920000 4800000 . so i don't want it to be printed in output
chr1 4160000 4360000 # region coming within the 3920000 4800000 . so i don't want it to be printed in output
chr1 4160000 4760000 # region coming within the 3920000 4800000 . so i don't want it to be printed in output
chr1 4360000 4760000 # region coming within the 3920000 4800000 . so i don't want it to be printed in output
chr1 4800000 4920000 # region coming within the 4800000 6160000 . so i don't want it to be printed in output
chr1 4800000 5200000 # region coming within the 4800000 6160000 . so i don't want it to be printed in output
chr1 4800000 5280000 # region coming within the 4800000 6160000 . so i don't want it to be printed in output
chr1 4800000 6160000
chr1 4920000 5200000 # region coming within the 4800000 6160000 . so i don't want it to be printed in output
chr1 5280000 6160000 # region coming within the 4800000 6160000 . so i don't want it to be printed in output
Finally the below regions could be printed in output
chr1 3280000 3440000
chr1 3440000 3920000
chr1 3920000 4800000
chr1 4800000 6160000
So can anyone help me to get that