Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

ERROR MESSAGE: Unable to read index file, for input source

ERROR MESSAGE: Unable to read index file, for input source:xxx.g.vcf.idx

hi, GATK team.
I have 235 human exome sequencing samples. I use the haplotype caller in gvcf mode and generate g.vcf per sample. The cmd are below:

java -jar $gatk -R $ref -T HaplotypeCaller -I samle1_recal.bam --emitRefConfidence GVCF -o sample1_raw_variants.g.vcf >bam2gvcf/sample1_HaplotypeCaller.log 2>&1

After getting all samples' g.vcf files, I perform joint genotyping using cmd below. I use --variant on every sample.

java -Xmx80g -jar $gatk -R $ref -T GenotypeGVCFs --dbsnp $gatk_db/dbsnp_138.hg19.vcf -nt 20 --variant 33_raw_snps_indels.g.vcf --variant 37_raw_snps_indels.g.vcf --variant 40_raw_snps_indels.g.vcf --variant 41_raw_snps_indels.g.vcf ...
-o samples235_raw_variants.vcf >log/genotypegvcfs.log 2>&1

My machine has 56 thread and 128G RAM. I do not use combinegvcf because this process takes very long and the final file is more larger than every g.vcf file.
After running the cmd above, I got the error message as follows:

##### ERROR ------------------------------------------------------------------------------------------
##### ERROR A USER ERROR has occurred (version 3.6-0-g89b7209): 
##### ERROR
##### ERROR This means that one or more arguments or inputs in your command are incorrect.
##### ERROR The error message below tells you what is the problem.
##### ERROR
##### ERROR If the problem is an invalid argument, please check the online documentation guide
##### ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
##### ERROR
##### ERROR Visit our website and forum for extensive documentation and answers to 
##### ERROR commonly asked questions https://www.broadinstitute.org/gatk
##### ERROR
##### ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
##### ERROR
##### ERROR MESSAGE: Unable to read index file, for input source: 337_raw_variants.g.vcf.idx
##### ERROR ------------------------------------------------------------------------------------------

Every time I run the cmd , it gives the error message with different samples.
I run genotypegvcf on the first 200 samples, and it seems to run fine. And the same with the first 201 samples.
It also runs fine on the samples that give the error message.(I use 4 samples to give a test.).
Does this mean that the samples are too many? Any good suggestions?

Best
YQ

Best Answer

Answers

Sign In or Register to comment.