How To Plot The Coverage Of A Region In The Genome
1
0
Entering edit mode
12.0 years ago
hellbio ▴ 520

HI,

I would like to plot the coverage distribution of the targeted region and the genome. For this i have used genomeCoverageBed and coverageBed functions from Bedtools and got the output from the two functions.

Could some one suggest a way or Rscript to plot 1. coverage distribution for target region (X-axis:depths=1,5,10... and Yaxis:fraction of target bases covered)

  1. coverage for genome (X-axis:depths=1,5,10... and Yaxis:fraction of target bases covered)

from the Bedtools outptut?

coverage next-gen • 3.6k views
ADD COMMENT
0
Entering edit mode

how exactly your data (to be R input) looks like?

ADD REPLY
0
Entering edit mode
12.0 years ago

See the GenomicRanges package for dealing with aligned reads and regions. In particular, you may find the coverage() function useful.

ADD COMMENT
0
Entering edit mode

But, working in R with huge datasets needs huge memory and time. So is there any alternate way?

ADD REPLY

Login before adding your answer.

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