Estimating percentage of overlap bewteen sam/bam/bed files
1
1
Entering edit mode
6.2 years ago
marioche ▴ 10

Hi everyone,

I have 10 sam files and I want to estimate overall percentage of overlap between all the files. I saw the intersect option in bedtools and in bedops, but rather than having detailed information about the position and number of base pairs of overlap I prefer an overall percentage. Does anyone have an idea of how it can be done?

Thank you very much.

Marco

next-gen Assembly genome alignment • 3.0k views
ADD COMMENT
1
Entering edit mode
6.2 years ago

But with bedtools you can also specify many different options, among which:

-wo            Write the original A and B entries plus the number of base pairs of overlap between 
               the two features. 
               Overlaps restricted by -f and -r. Only A features with overlap are reported.

From which you can then calculate the %.

ADD COMMENT

Login before adding your answer.

Traffic: 3429 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