GATK issue in running Mutect2
2
0
Entering edit mode
3.2 years ago

I am new to GATK, I want to run the Mutect2 tool for identifying somatics varients. The command which I run is:

" gatk Mutect2 -R GRCh38.p13.genome.fa -I tumor.bam -I normal.bam -O out1.vcf.gz"

Can some please assist me where I am going wrong? The error message I am getting is : It says reference genome doesn't exist in the particular folder, but it is

next-gen snp • 1.4k views
ADD COMMENT
0
Entering edit mode

from the place where you're invoking gatk, what is the output of ls GRCh38.p13.genome.fa ?

ADD REPLY
0
Entering edit mode

I am getting the name of the file i.e "GRCh38.p13.genome.fa"

ADD REPLY
0
Entering edit mode

The above error gets resolved, now I am facing a new error. It says "A USER ERROR has occurred: Input files reference and reads have incompatible contigs: No overlapping contigs found."

The read contigs list is empty reads contigs = []

ADD REPLY
0
Entering edit mode

The above error gets resolved,

HOW ? WHAT WAS THE ERROR ?

"A USER ERROR has occurred: Input files reference and reads have incompatible contigs: No overlapping contigs found

known error

ADD REPLY
1
Entering edit mode
3.1 years ago
sp29 ▴ 50

If you are running the Mutect2 with a tumour-matched normal setting, you need to explicitly supply the normal sample name. You should first run GetSampleName -I normal.bam -O name.out. This will give you the name of your normal sample in a file "name.out", which you have to pass in Mutect2. So your command would be,

gatk Mutect2 -R GRCh38.p13.genome.fa \

-I tumour.bam \

-I normal.bam \

-normal "The name you get in the name.out" \

-O out1.vcf.gz

ADD COMMENT
0
Entering edit mode
3.1 years ago
2nelly ▴ 310

"A USER ERROR has occurred: Input files reference and reads have incompatible contigs: No overlapping contigs found."

That means alignment was done with different reference genome file. Check the chromosomes names in the header of your bam files and those in your reference genome. They should be different.

ADD COMMENT

Login before adding your answer.

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