Ranges in ruby are pretty cool. I end up with arrays such as this:
geneRanges = [(234..25), (500..510), (1640..1653)]
And subsequently ha
I've never seen anything in the Ruby language that does that, but here is some code that might help you do it yourself:
http://snippets.dzone.com/posts/show/4677