Python interval interesction
My problem is as follows:
having file with list of intervals:
1 5
2 8
9 12
20 30
And a range of
0 200
I would like to do such an intersection that will report the positions
[start end] between my intervals inside the given range.
Ex:
8 9
12 20
30 200
Beside any ideas how to bite this, would be also nice to read some
thoughts on optimization, since as always the input files are going to be
huge
Thanks, for the help o7
No comments:
Post a Comment