Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract exon-intron reads from RNA-Seq data aggp11 RNA Sequencing 1 11-26-2014 08:17 AM
Tophat Exon -intron coverage mehtaaditya RNA Sequencing 4 11-01-2014 02:59 AM
exon-intron prediction, invertebrate papori Bioinformatics 1 01-09-2014 04:02 AM
exon and intron numbers of genes rama Bioinformatics 2 11-07-2012 01:12 PM

Thread Tools
Old 02-18-2017, 08:07 AM   #1
Junior Member
Location: North Carolina, USA

Join Date: Apr 2016
Posts: 5
Default How to use HTSeq to count RNA-Seq overlap w/ whole genes (intron+exon) vs. exon only

So I recently performed RNA-seq using the SmartSeq2 on RNA from neuronal nuclei.

My sample was a pool of sorted neuronal nuclei from mouse. Uing STAR to align, I found that about 20% is exonic, and 60-70% is intronic. Even though I polyA selected, there is still a ton of retained intron, which is consistent with a recent paper that did single nucleus RNASeq in the human brain

But the question is, what to do with the intronic reads?

One of my goals is differential gene expression. I want to take my RNASeq reads and count the overlap with the whole gene (intron + exon), rather than just exons.

How would I do this? What annotation file should I use for HTSeq? I have a GTF from UCSC, but I see exons, CDS but not the whole gene. How would I go about doing this? Do I need to make a custom GTF using the transcription start and stop sites?
achamess is offline   Reply With Quote
Old 02-20-2017, 11:36 PM   #2
Senior Member
Location: Vienna

Join Date: Oct 2011
Posts: 123

I don't know if it's a good idea to do it this way, since you'll get a higher amount of overlapping features. I hope you have a stranded library.

Nevertheless, in order to get what you described you'll need a GTF which has also "transcript" in the third field ( head -n 1000 my.gtf | cut -f 3 | sort -u ; should also report transcript). ENSEMBL's gtf has it for instance.
With such a gtf, you can use this feature type instead of exons for counting:

htseq-count -t transcript my_alignment.sam my.gtf


Last edited by Michael.Ante; 02-20-2017 at 11:41 PM.
Michael.Ante is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 08:41 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO