FeatureCounts count reads per gene (Including Introns)
1
1
Entering edit mode
4.8 years ago
paulranum11 ▴ 80

Hi Everyone,

I am using featureCounts to count the number of reads mapping to genes.

        featureCounts -a $myGTF \
                  -o counted_output \
                  -R BAM Aligned.sortedByCoord.out.bam \
                  -T $NUMCORES \
                  -M

The above bash command works counting reads that map to the exonic sequences of each genes annotated in the $myGTF file.

My question is, how can I get featureCounts to also count reads mapping to intronic sequences? It is unclear to me how to achieve this from the documentation but it might be through some combination of -O and -f.

Thanks!

featureCounts RNA-Seq • 5.7k views
ADD COMMENT
0
Entering edit mode

If you can get/create an annotation file with intron features, you can then count using that file with -t intron option.

ADD REPLY
2
Entering edit mode
4.8 years ago
ATpoint 82k

Alternatively make a custom reference in featureCount's SAF format (see manual for details) to include introns.

ADD COMMENT
0
Entering edit mode

This is what i ended up doing. It was easy to make this SAF format file using biomart from ensembl.org. For future readers the columns to include for this format are: GeneName, Chromosome, GeneStart, GeneEnd, Strand

Note that the column names header needs to be removed before the SAF file is used with featureCounts.

ADD REPLY

Login before adding your answer.

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