Question: Estimating percentage of overlap bewteen sam/bam/bed files
1
gravatar for marioche
2.3 years ago by
marioche10
marioche10 wrote:

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

ADD COMMENTlink modified 2.3 years ago by Macspider3.0k • written 2.3 years ago by marioche10
0
gravatar for Macspider
2.3 years ago by
Macspider3.0k
Vienna - BOKU
Macspider3.0k wrote:

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 COMMENTlink modified 2.3 years ago • written 2.3 years ago by Macspider3.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1453 users visited in the last hour