This is a test version of Biostars. For the public version, visit https://www.biostars.org.
GATK BaseRecalibratore Error

Hi everybody I have started to analyze exome data through GATK pipeline. I have run this commands , however, i took this message

for f in *marked_duplicates.bam; do java -Xmx17G -jar /home/apps/gatk/gatk-4.1.9.0/gatk-package-4.1.9.0-local.jar  BaseRecalibrator  -I $f -R /home/hg19/ hg19.fa --known-sites /home/hg19/snp/ dbsnp_138.hg19.vcf -O ${f/.bam/.grp} ; done

A USER ERROR has occurred: Illegal argument value: Positional arguments were pro vided ',hg19.fa{dbsnp_138.hg19.vcf}' but no positional argument is defined for this tool.

It should be appreciated if you let me know your coments.

next-gen

Dear Pierre Thanks a lot It is done:)

Then accept @Pierre's answer (green checkmark) to provide closure to this thread.

1 answer

remove space in ' /home/hg19/snp/ dbsnp_138.hg19.vcf' (=> /home/hg19/snp/dbsnp_138.hg19.vcf )

same for option /home/hg19/ hg19.fa => /home/hg19/hg19.fa

Log in to answer this question.