Entering edit mode
21 months ago
rj.rezwan
▴
10
I am facing this error while using the gatk/4.1.2.0
. Please guide how to solve this:
A USER ERROR has occurred: Argument --emit-ref-confidence has a bad value: Can only be used in single sample mode currently. Use the --sample-name argument to run on a single sample out of a multi-sample BAM file
my job command is given here
gatk HaplotypeCaller -R ~/tariqr/dragonfruits_sequencing/pitaya_genome/PitayaGenomic.fa -I ~/tariqr/dragonfruits_sequencing/DraF-5/Purple-Haze_65692e0c-9d41-4d15-abeb-a768ce4b17d9_marked_marked.bam -O ~/tariqr/dragonfruits_sequencing/DraF-5/Purple-Haze_65692e0c-9d41-4d15-abeb-a768ce4b17d9.vcf.gz -ERC GVCF
I used this following command owing to the fact that
samples
was not being recognized by samtoolsthe output is following
so what do you suggest now? As for option
--sample-name
in gatk, I am a bit confused about how to mention this in code. can you please guide here?Use a newer version of
samtools
that has thesamples
option. With@SQ
you are simply looking at the reference sequence headers. Look at @RG lines if your file has them.Add
--sample-name one_you_want
to your GATK command line.while looking for
@RQ
, I could not find the output of this