GATK Error Message: Invalid argument value 'RealignerTargetCreator at position' 0
2
0
Entering edit mode
4.8 years ago

I am using gatk 3.7 and trying to make a vcf file from sam file using gatk pipeline. I am getting an error Error Message: Invalid argument value 'RealignerTargetCreator at position' 0 why i am getting this error message.

SNP vcf Gatk • 3.6k views
ADD COMMENT
0
Entering edit mode

show us the command line.

ADD REPLY
0
Entering edit mode

Here the screenshot

ADD REPLY
0
Entering edit mode

Just add the command.

ADD REPLY
0
Entering edit mode

java -jar GenomeAnalysisTK.jar RealignerTargetCreator -R hg38.fa -o target.list -I makred.bam

ADD REPLY
0
Entering edit mode

The example from the GATK documentation is the following:

 java -jar GenomeAnalysisTK.jar \
   -T RealignerTargetCreator \
   -R reference.fasta \
   -I input.bam \
   --known indels.vcf \
   -o forIndelRealigner.intervals

There is a difference with your command, concerning RealignerTargetCreator.

ADD REPLY
0
Entering edit mode

ok. let me try with this

ADD REPLY
0
Entering edit mode
4.8 years ago

One more thing. GATK 4 doesn't have the option of TargetRealignmentCreator, so what's the alternate of it ? do we apply haplotype caller directly on marked-duplicate.bam file ?

ADD COMMENT
0
Entering edit mode
4.5 years ago
Mohammed ▴ 10

add -T RealignerTargetCreator to your command line after the jar file it will solve the problem.

ADD COMMENT

Login before adding your answer.

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