Monday, July 21, 2014

How to obtain regions within bed files that do not overlap

If you have two bed files and want to obtain regions that do not overlap use bedtools intersect with -v option:

bedtools intersect -a file1.bed -b file2.bed -v > output.bed

No comments:

Post a Comment