arq5x / bedtools2

bedtools - the swiss army knife for genome arithmetic
MIT License
939 stars 287 forks source link

the distance maximal by default of bedtools closest -D #1071

Open fafaris39 opened 1 year ago

fafaris39 commented 1 year ago

bedtools closest -a a.bed -b b.bed -D b

I should find the same number of features in the first file (a.bed) as I haven't specified the maximum distance. I wonder if there is a default distance.

simone-says commented 11 months ago

I'm having the same issue. I should have at least the same # of features in file A, and likely slightly more in the case of ties since I'm using -t all. Is there a default distance?