Calculate the coverage between two bed files using bedtools
Dear people:
I have two bed files and I want to calculate the coverage using the bedtools one by one ,such as this :
A bed files:
chr1 25 30
chr1 10 50
B bed files :
chr1 20 30
chr1 0 100
I want to calculate the A bed files coverage with B bed files row by row using the bedtools coverage,but But it's the result is not my wanted
The ideal result like this :
chr1 10 30 0.5
chr1 10 50 0.4
Does anyone how to deal with it ,Thanks very much!!
Alex
• 78 views
•
link
0 answers
No answers yet.
Log in to answer this question.
I think you can even do this kind of calculation in Excel