A USER ERROR has occurred: no positional argument is defined for this tool.
0
0
Entering edit mode
9 weeks ago

Hello, hope all are doing well.

I am running the HaplotypeCaller command to generate the variant file by giving multiple input bam files in a single command.

python3 gatk --java-options -Xmx7g HaplotypeCaller --reference ref.fasta --input file1.bam file2.bam --sample-ploidy 12 --standard-min-confidence-threshold-for-calling 30 --tmp-dir /path/gatk-4.1.8.1 --output comb.vcf

But i am getting the following error

A USER ERROR has occurred: Illegal argument value: Positional arguments were provided ',file1.bam}' but no positional argument is defined for this tool.

I think there is something wrong in the command line most probably in the input argument or in sample ploidy. May be this is not the correct way to give multiple bam files. Kindly guide where is the problem in command line or how to state multiple bam files in a single command line.

Thanks in advance

GATK4 HaplotypeCaller BAM • 151 views
ADD COMMENT

Login before adding your answer.

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