Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
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!
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.
GenotypeGVCFs 3.8 fails

I had the same problem as described in thread 10004:
ERROR StatusLogger Unable to create class org.apache.logging.log4j.core.impl.Log4jContextFactory specified in
Except my issue was with HaplotypeCaller. I upgraded from version 3.8 to the nightly build, but it still fails. Now I just don't get the ERROR
message in stderr.
Here is my Linux version:
uname -a Linux vr-2-2-02 3.2.0-105-generic #146-Ubuntu SMP Fri Jun 10 20:10:44 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Here is my command:
/software/jre1.8.0_74/bin/java -Djava.io.tmpdir=tmp -Xmx${memMB}m -XX:+UseSerialGC \ -jar GenomeAnalysisTK-nightly-2017-10-06-g1994025.jar \ --analysis_type GenotypeGVCFs \ --reference_sequence Homo_sapiens.GRCh38_full_analysis_set_plus_decoy_hla.fa \ --num_cpu_threads_per_data_thread $nct \ --num_threads $nt \ -L $chrom \ -V lists/GenotypeGVCFs.$chrom.list \ -o $out \ --annotation InbreedingCoeff \ --annotation FisherStrand \ --annotation StrandOddsRatio \ --annotation QualByDepth \ --annotation ChromosomeCounts \ --annotation GenotypeSummaries \ --annotation MappingQualityRankSumTest \ --annotation ReadPosRankSumTest \ -A StrandBiasBySample \ -A VariantType \ --standard_min_confidence_threshold_for_calling 30 \ --dbsnp dbsnp_human_9606_b147_GRCh38p2_All_20160527.vcf.gz \
The number of threads --num_threads
/-nt
is greater than 1. I just tried with -nct
and -nt
both equal to 1. It still fails.
Thanks for any help you provide.
Tagged:
Best Answer
-
shlee Cambridge ✭✭✭✭✭
@tommycarstensen, I also posted a possible solution in https://gatkforums.broadinstitute.org/gatk/discussion/comment/43809/#Comment_43809, in case you keep running into this problem.
Answers
I solved it. I will not delete the issue though. I removed this from my command
-XX:+UseSerialGC
. The reason I had added it in the first place, is becauseHaplotypeCaller
in GVCF mode sometimes makes the compute cluster complain that I'm using more than one thread despite setting-nt
and-nct
equal to 1. It happens randomly.Now I just need to look into these
WARN
ings, which seem to be related to changes that happened between 3.8 and 3.4, when I last used GATK.I didn't solve it. Removing
-XX:+UseSerialGC
just caused the error to be delayed. It still happens after approximately 60 minutes. Ahhh, actually it doesn't happen with the nightly, but it does happen with 3.8. OK, all solved then.@tommycarstensen
Hi Tommy,
Okay, thanks for telling us
Glad to hear the latest nightly solves everything.
-Sheila
Sorry about crying wolf again, but the problem remains with GenotypeGVCFs. Even with the nightlies
2017-10-06-g1994025
and2017-11-07-g45c474f
. I posted in thread 13053.That is unfortunate @tommycarstensen. Sheila is away for a workshop so I will followup in the other thread.
With GenotypeGVCFs3.8 I lowered -nt and -Xmx from 24 and 64GB to 8 and 16GB, respectively. That seemed to do the trick. My solution/answer is also posted here.
@tommycarstensen, I also posted a possible solution in https://gatkforums.broadinstitute.org/gatk/discussion/comment/43809/#Comment_43809, in case you keep running into this problem.