Hi Guys

I am trying to run a reduce operation on my genomic interval data.

Sample Data and expected output pasted here : http://pastebin.com/cccZby2t


Rows 1-5 from input have merged since the tiling distance between them is <
2 bp. Ideally I would like to define that distance.
Rows 5-6 are merged separately as their distance is more than 2 bp from the
above rows.

I hope tiling is the right word above. In essence what I want to do is
define a max merging width and merge all the intervals which are within
this user defined threshold . The condition of tiling distance should be
satisfied by both start and end.

Hope this is clear.

Thanks!
-Abhi

	[[alternative HTML version deleted]]

