computematrix how to set certain TSS
1
0
Entering edit mode
3.3 years ago
Binghong ▴ 20

how to set certain TSS deeptools computematrix, I want to visualize the certain gene's TSS up/downstream instead of whole gene,but how can I do it ? thanks.

deeptools • 3.3k views
ADD COMMENT
0
Entering edit mode
3.3 years ago

You probably want the reference-point mode as described here. You will also need a bed or gtf file with the gene regions and via the --referencePoint parameter you specify that you want the TSS (rather than the TES or the center of the regions in the BED file).

Example code from here:

$ computeMatrix reference-point \ # choose the mode
       --referencePoint TSS \ # alternatives: TES, center
       -b 3000 -a 10000 \ # define the region you are interested in
       -R genes.bed \ # the gene annotation of your choice
       -S log2ratio_H3K4Me3_chr19.bw  \ # your coverage file
       --skipZeros \
       -o matrix1_H3K4me3_l2r_TSS.gz \ # to be used with plotHeatmap and plotProfile
`
ADD COMMENT
0
Entering edit mode

thanks!so the gene. bed can only involve the gene I want instead of whole gene?

ADD REPLY
0
Entering edit mode

The gene.bed file should contain the full gene region(s). computeMatrix will infer the TSS based on the genome position and the strand, i.e. for a gene on the plus strand, it will use the genome location in the second column (when TSS is the desired reference point).

ADD REPLY
0
Entering edit mode

thanks a lot !

ADD REPLY
0
Entering edit mode

I also want to ask how can I visualize the certain gene's peaks using bed file

ADD REPLY
0
Entering edit mode

Supply the peak file instead of the gene file

ADD REPLY

Login before adding your answer.

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