I'm curious as to why I'm getting two different values with bedtools intersect with two sorted bedfiles:
bedtools intersect -u -a test1.bed -b test2.bed | wc -l
This gives me 157,273
However, when swapping -a and -b:
bedtools intersect -u -a test2.bed -b test1.bed | wc -l
This gives me 158,095