bedtools icon indicating copy to clipboard operation
bedtools copied to clipboard

bedtools fisher - how the possible intervals estimated?

Open ohdongha opened this issue 2 years ago • 0 comments

Hi, thanks again for providing this amazing toolkit.

The fisher command appears useful for checking the significance of overlap very quickly. But I wonder whether there is a bit more detailed explanation on how the number of all possible intervals is estimated. Is there a reference we could cite on the estimation of all possible intervals for the fisher test?

Reading through previous issues on fisher, I can see that the authors have been considering the option of deprecating this command (but survived so far).

Will there be alternative ways to test the significance of overlap (or avoidance) based on permutation? For example, the reldist command could compare the distribution of relative distances (between center positions?) for the input pair and a randomized pair (created by shuffle?) as the manual page showed. Is there a way to derive a p-value by comparing the input pair with a large number of randomized interval pairs? Or by comparing the jaccard score of the input sets (this time between true intervals, not center positions?) with those of a large number of randomized interval pairs?

Cheers, Dong-Ha

ohdongha avatar Oct 13 '21 16:10 ohdongha