This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Calculate reciprocal overlap for thousands of samples

I have around 20k samples with BED files. How can I calculate reciprocal overlap for each segment? I want to find all segments with 50% reciprocal overlap or better.

bedtools overlap cnv perl

1 answer

You can use bedtools intersect for this. http://bedtools.readthedocs.org/en/latest/

Log in to answer this question.