arq5x / bedtools

A powerful toolset for genome arithmetic.
http://code.google.com/p/bedtools/
GNU General Public License v2.0
140 stars 85 forks source link

Zero Length Feature Support for intersectBed #1

Closed arrogantrobot closed 11 years ago

arrogantrobot commented 13 years ago

There are 3 commits in this fork.

One fixes a compiler warning resulting from a macro in groupBy.

The other two relate directly to the topic at hand, zero length features. In bedFile, I have added logic so that bedFile::findOverlapsPerBin() will find features of zero length. I have also changed intersectBed to find features which are of length zero.

I have not tested these changes on tools other than intersectBed.

arrogantrobot commented 11 years ago

Sorry to leave this open request sitting around for so long.