GATK funcotator: Input files reference and features have incompatible contigs: Found contigs with the same name but different lengths:
0
0
Entering edit mode
3.1 years ago
limchen • 0

I tried to have funcotator annotate some germline variants. Here is my command in mac zshell terminal:

lc % gatk Funcotator --variant ./chr3q.vcf --reference ./reference/GATK/resources_broad_hg38_v0_Homo_sapiens_assembly38.fasta --ref-version hg38 --data-sources-path ./reference/GATK/funcotator/funcotator_dataSources.v1.7.20200521g --output chr3q_funcotated.maf --output-file-format MAF

However, I ran into following error:

A USER ERROR has occurred: Input files reference and features have incompatible contigs: Found contigs with the same name but different lengths: contig reference = chr1 / 248956422 contig features = chr1 / 249250621.

I download both the fasta hg38 and funcotator data source bundle from GATK. I noticed that the contig reference chr1 / 248956422 is from hg38; while the contig features = chr1 / 249250621 actually match GRCH37 chr1 length shown in the following screenshot, which is hg19. I specified in --ref-version hg38. What causes this error, and how to fix it?? I want to use hg38 because my variants are called using hg38 ref. Thanks for any help.

enter image description here

GATK Funcotator • 1.1k views
ADD COMMENT

Login before adding your answer.

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