count table generation using summarizeOverlaps
0
0
Entering edit mode
@gyan-prakash-mishra-8555
Last seen 6 months ago
INDIA

Hi,

I am using DESeq2 to analyze RNA-seq data

In this first step to generate count table I used following code.

library( "GenomicFeatures" )
hse  <- makeTxDbFromGFF( "Mus_musculus.GRCm38.84.chr.gtf", format="gtf" )
exonsByGene  <-  exonsBy( hse, by="gene")
fls <- list.files( "Bamfiles", pattern="bam$", full=TRUE )

library( "Rsamtools" )
bamLst  <-  BamFileList ( fls, yieldSize=100000 )

library( "GenomicAlignments" )
se <- summarizeOverlaps( exonsByGene, bamLst,mode="Union",singleEnd=FALSE,ignore.strand=TRUE,fragments=TRUE )

But I am getting total count as "0" for all the bam files. from this code

colSums( assay(se) )

I am not able to find the reason for so. I did alignment using tophat.

 

 

deseq2 Tutorial • 1.4k views
ADD COMMENT
0
Entering edit mode

Are all(seqlevels(bamLst) %in% seqlevels(hse)) ? Is the gtf file from the same build as the alignments?

ADD REPLY
0
Entering edit mode

Thanks Martin

I got my answer, gtf is not from same build.

ADD REPLY

Login before adding your answer.

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