how to create a metagene plot for different features of genes?
1
0
Entering edit mode
16 months ago
PK ▴ 130

Hi all,

I wanted to do metagene plot for different features of genes. I have RNA-Seq sample. So would like to create a plot which contains TSS, 5pUTR, first exon, internal exons, last exon, TES and 3pUTR. Is it possible to do? Can someone please suggest me something?

metagene RNA-Seq deeptools R • 954 views
ADD COMMENT
0
Entering edit mode
16 months ago
seidel 11k

Yes, it's possible, but it depends on what you know or are willing to learn. I'm sure there are a variety of ways to do it. One method using R would be to use the GRanges library to manage all your features - for instance if you have gene definitions in gff, or at biomart, you can read them into GRanges and then define TSS by resizing all start coordinates to be the size you consider a TSS to be, and then use those GRanges to extract coverage from either bigWig files, or a coverage object, of your RNA Seq data. There are a variety of ways to do this step as well, some of them are more confusing than others. You would tweak these steps for your various feature types. Once you build a matrix of coverages across your uniform features, the metagene is simply the column averages.

If you like R, look up how to use GRanges, GenomicFeatures, and rtracklayer.

ADD COMMENT

Login before adding your answer.

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