Creating genome feature heatmaps from sequencing experiments

These types of figures are best created using the ngsplot software package.

Before that code was released, we used the method describe below:

This type of figure can be used to visualize chIP or expression expression data in selected genome regions (rows) that have been divided into windows (columns) using either similar or relative feature widths.

Sample image:

  1. Create a BED file with all the regions you'd like to display.
  2. Create a SAM/BAM file by mapping your reads with a tool like bowtie or tophat.
  3. Split the regions you'd like to display into windows,
    • labeling each window in a systematic way
      • Region 1 would include windows REGION_01_001 ... REGION_01_100
      • Region 2 would include windows REGION_02_001 ... REGION_02_100, etc.
    • The BaRC script /nfs/BaRC_Public/BaRC_code/Perl/ can do this.
  4. Quantify reads that map to each window of each region.
    • Method 1: Use coverageBed (ex: coverageBed -split -abam accepted_hits.bam -b > out)
    • Method 2: Use htseq-count (after converting into a GTF file)
    • Method 3: Use cufflinks (after converting into a GTF file)
  5. Convert list into matrix (with code such as /nfs/BaRC_Public/BaRC_code/Perl/ like
NAME 1 2 3 4 5 6
  1. Add another column at the beginning with the same region IDs and save the tab-delimited text file with a cdt extension.
  2. Open the cdt matrix file in Java TreeView, adjust the pixel settings and print the figure.

Attachments (1)

Download all attachments as: .zip