featureCounts problems with GTF generated by myself
2
0
Entering edit mode
17 months ago
soda ▴ 50

I want to calculate only intron reads in my RNA sequencing. So I generate a GTF file which only contain intron site information. Then save it as gtf. my gtf file

In linux, I use featurecounts like:

featureCounts -T 8 -p 
              -t intron -g gene_name 
              -a intron.gtf -o intron.txt 
               *.sam

Then it shows:

ERROR: no features were loaded in format GTF. The annotation format can be specified by the '-F' option, and the required feature type can be specified by the '-t' option..

I think my GTF has wrong format. So how can I solve it?

featureCounts GTF • 730 views
ADD COMMENT
3
Entering edit mode
17 months ago
GenoMax 147k

Looking at the data you have it would be best to create a file in Simple Annotation Format (SAF), which featureCounts understands. You can find the example/description of the format in featureCounts manual.

ADD COMMENT
2
Entering edit mode
17 months ago
maximal_life ▴ 20

You've made a wrong GTF file. A GTF file should follow a correct format. (You may want to search 'GTF format' in google)

The best way is to download and imitate GTF files from GENCODE.

ADD COMMENT

Login before adding your answer.

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