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

bedtools intersect -v fails with self #145

Closed endrebak closed 5 years ago

endrebak commented 5 years ago
cat f1.bed
chr1    1   2   a   0    +
bedtools intersect -v -s -a f1.bed -b f1.bed
chr1    1   2   a   0    +

I expected the output to be empty. It works without the -s (same strand) flag.

endrebak commented 5 years ago

Derp.