Plotting Density Of Reads On Chromosomes
I want to plot a picture like this:
Short reads mapped to genome with bowtie etc. And then, Plot the reads density and depth of each chomosome, with a sliding window(1 K).
Could you give me some advice ? Thanks .
• 8,044 views
•
link
3 answers
- Get the bam files after mapping to genome.
- Sort bam files according to genome position.
- Predefine window size (say 1Mbp).
- Calculate number of reads within that window size
- Standardize that count to get gene density
- Plot these data (x= genome position (Mbp) and y=gene density)
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.

Which one? :)
The picture has been updated
check R:Bioconductor packages 'GRanges' and 'ggbio'.
I will check the two packages. Thanks for your help.