gff error in featureCounts
1
0
Entering edit mode
esu2001 • 0
@esu2001-12022
Last seen 7.4 years ago

Hi,

 

I am trying to count the number of genes with featureCounts (subread1.5.1-source). I use -a my annotation.gff but it gives me error 

 

WARNING no features were loaded in format GTF.

annotation format can be specified using '-F'.                     ||

Failed to open the annotation file my annotation.gff, or its format is incorrect, or it contains no 'exon' features.

 

It is a retroviral genome. So what can I do?

 

Thanks,

Esma 

 

differential gene expression • 3.2k views
ADD COMMENT
0
Entering edit mode

The file exists. I downloaded it from NCBI website and used it for STAR alignment. It has pretty much everything that a gff file has to have. nothing seems wrong. STAR accepted this file. So i don't know why featureCounts does not!

I thought maybe a different command is needed for gff like we use something different in STAR?

ADD REPLY
0
Entering edit mode
@gordon-smyth
Last seen 40 minutes ago
WEHI, Melbourne, Australia

Well, the error message seems pretty informative.

Have you actually created a GFF file? Is the file name correct? Does the fact actually exist? If the file exists, what does it contain?

The annotation file that you use for read counting obviously has to be different from the genome definition file that you use for alignment. For alignment, you need to define the genome. For read counting, you need to define genes and exons.

Have you read the featureCounts documentation?

ADD COMMENT

Login before adding your answer.

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