Plotting Density Of Reads On Chromosomes
3
1
Entering edit mode
9.5 years ago
scszsc ▴ 10

I want to plot a picture like this:

< image "20141014104516" not found >

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 .

RNA-Seq R next-gen genome • 7.2k views
ADD COMMENT
1
Entering edit mode

check R:Bioconductor packages 'GRanges' and 'ggbio'.

ADD REPLY
0
Entering edit mode

I will check the two packages. Thanks for your help.

ADD REPLY
0
Entering edit mode

Which one? :)

ADD REPLY
0
Entering edit mode

The picture has been updated

ADD REPLY
2
Entering edit mode
9.5 years ago
Renesh ★ 2.2k
  1. Get the bam files after mapping to genome.
  2. Sort bam files according to genome position.
  3. Predefine window size (say 1Mbp).
  4. Calculate number of reads within that window size
  5. Standardize that count to get gene density
  6. Plot these data (x= genome position (Mbp) and y=gene density)
ADD COMMENT
2
Entering edit mode
9.5 years ago

What about a circos plot?

Circos Histogram Bam File

ADD COMMENT
1
Entering edit mode
9.5 years ago

I wrote this tool some time ago: BamGenScan

but didn't use it much (= use cautiously)

ADD COMMENT

Login before adding your answer.

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