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

add n_intersections to jaccard output #54

Closed brentp closed 11 years ago

brentp commented 11 years ago

jaccard is very useful to gauge the amount of overlap. this pull request adds n_intersections to the outputs that shows the number of unique intersections in -a that overlap with -b.

between the bases of overlap (intersection)

the proportion of overlap (jaccard)

and now the number of intersections (n_intersections)

this gives the most commonly used (simple) metrics when comparing 2 datasets.

arq5x commented 11 years ago

Nice addition, thanks Brent!