featureCounts: unable to find chromosome in SAM header
0
0
Entering edit mode
3.3 years ago
nklier38 • 0

I am using featureCounts to try and create a count table for some RNA-Seq data I collected using an Oxford Nanopore platform. I have .sam files aligned with minimap2, and am running the following command to try to get a count table:

featureCounts -a knownGene_v36.gtf -o countFile *.sam -L

Both the GTF file I am using, and the reference genome that the alignments were generated off of, are from UCSC table browser, HG38, knownGene, GENCODE v36.

Running this in the directory with the .gtf prints out an extremely long list of errors like the ones below:

ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000407684.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000401533.7' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000474095.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000506070.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000530878.5' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000518950.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000523084.5' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000610475.4' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000643125.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000472011.6' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000366601.8' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000646848.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000508176.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000488592.1' in the SAM header! ERROR: Unable to find chromosome 'hg38_knownGene_ENST00000480094.3' in the SAM header!

It appears to be outputting this for every gene. I originally thought there was a problem with the way the GTFs are formatted, because it's referring to the genes as chromosomes, but featureCounts seems to be pretty good about checking the gtf format before the program runs. I really don't know what I'm doing wrong- is it possibly an alignment setting?

featureCounts count RNA-seq table • 1.1k views
ADD COMMENT
1
Entering edit mode

It does seem like a format problem. If you post the question to Bioconductor you will probably get help from the featureCounts authors.

ADD REPLY

Login before adding your answer.

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