Find unique non overlapping intervals between two files?
1
1
Entering edit mode
5.5 years ago
a.rex ▴ 350

I have two bed files, and I want to find unique non-overlapping intervals between the two files, given there is less than 30% overlap E.g

File 1: 

interval1   5248    6157
interval2   6200    6393
interval3   6800    7493
 ...

File 2: 

gene1   5258    6257
gene2   7800    7993
gene3   8900    8993
...

Unique to file 3: 

gene2   7800    7993
gene3   8900    8993
bed • 1.2k views
ADD COMMENT
1
Entering edit mode

Try and explore bedtools intersect and bedops

ADD REPLY
0
Entering edit mode
5.5 years ago

Use BEDtools subtract with -A option.

ADD COMMENT

Login before adding your answer.

Traffic: 1867 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6