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.
We will be out of the office on October 14, 2019, due to the U.S. holiday. We will return to monitoring the forum on October 15.
HaplotypeCaller ERROR with ERC invalid
I'm a really novice on GATK. I want to call SNPs from 12 samples and I got some troubles.
Firstly, I combined 12 samples' bam files using the command "HaplotypeCaller". Each bam file stands for one sample and is generated by two PE sequencing files (R1 & R2). However, I got the ERROR:
A USER ERROR has occurred: Argument --emitRefConfidence 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.
Refer to the problem before，it seems that the BAM file has multiple lanes message. I checked the SAM file's head lines and tail lines. The head lines are as following:
And the tail lines are as following:
Next, I format the BAM file by the command "AddOrReplaceReadGroups". Then I run the HaplotypeCaller command on the formated BAM file. The .g.vcf file has been generated and I got another ERROR:
A USER ERROR has occurred: Traversal by intervals was requested but some input files are not indexed.
Please index all input files:
samtools index xxx.group.bam
Is the generated .g.vcf file valid? Why did I get the two ERROR messages?
Thank u very much.