Hi,
This might be a very trivial doubt, but I would like to know how makewindows partition a given interval when we use -n (fixed number of windows).
Example of what I see in my case:
bedtools makewindows -b test1.bed -n 10 -i srcwinnum
chr1 11 15 xxxxx_1
chr1 15 19 xxxxx_2
chr1 19 23 xxxxx_3
chr1 23 27 xxxxx_4
chr1 27 31 xxxxx_5
chr1 31 35 xxxxx_6
chr1 35 39 xxxxx_7
chr1 39 43 xxxxx_8
chr1 43 44 xxxxx_9
Why is it am getting 9 bins instead of 10? Same thing happens for the some genes in my annotation file, where I get less than 'n' bins.
Bedtools version: 2.25.0
Thanks for your help!
Best,
Aarthi