This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ENSEMBL annotation file for quantification: which file to use?

Hello, question regarding gene quantification for RNAseq: I've used HISAT2 to align my reads against the hg38 genome, and used UCSC annotation for this.

I now want to perform gene-level quantification using featureCounts. On the Ensembl website (ftp://ftp.ensembl.org/pub/release-93/gtf/homo_sapiens), there are many options for GTFs:

Homo_sapiens.GRCh38.93.chr.gtf.gz
Homo_sapiens.GRCh38.93.chr_patch_hapl_scaff.gtf.gz Homo_sapiens.GRCh38.93.gtf.gz Homo_sapiens.GRCh38.93.abinitio.gtf

What is the difference between these and which should I choose?

Also, the original alignment was done using UCSC gtf, would it be acceptable to then count using the Ensembl annotation? I want to switch because of this paper

Many thanks in avance for any help.

rna-seq ensembl annotation

It is important to make sure the chromosome identifiers are the same between your fasta reference and your gtf annotation. If one uses chr1 and the other just 1 then you have a problem.

Thank you for that pointer - noted. Thankfully, if I understand correctly, Devon Ryan has pointed out that FeatureCounts is not impaired by this for UCSC and Ensembl chromosome names.

2 answers

Just to compliment Devon Ryan's answer:

.gtf: This is the default file, it should contain the full annotation for all species except human and mouse. For human and mouse, it will contain all annotation on the primary assembly, ie excluding patch and haplotype regions. All species have one.

.chr.gtf: Contains only annotation on chromosomes, so toplevel scaffolds are excluded (patch and haplotypes are not included).

.chr_patch_hapl_scaff: Contains all annotation on all toplevel sequences, including patch and haplotype regions. It should only exist for human and mouse

Species with no chromosomes will have a single file, .gtf Species with only chromosomes but no scaffolds will have a single file, .gtf Species with chromosomes and scaffolds will have two files, .gtf and .chr.gtf

Further information can be found in the README file: http://ftp.ensembl.org/pub/current_gtf/homo_sapiens/README

Would it be possible to add that to the README file? The ab initio file is mentioned, but the other two aren't.

Sure- I'll talk with my colleagues who are responsible for the README file and see whether we can update it to make it more comprehensive.

Very helpful! Thanks for clarifying the different formats.

You're lucky that featureCounts can translate between UCSC and Ensembl chromosome names, most tools can't. So you should use Homo_sapiens.GRCh38.93.gtf.gz (using the chr_patch_hapl_scaff file won't hurt, it just contains contigs absent from your reference genome).

Thanks for breaking it down for me - that's exactly what I wanted to know.

Log in to answer this question.