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.
Attention:
We will be out of the office on November 11th and 13th 2019, due to the U.S. holiday(Veteran's day) and due to a team event(Nov 13th). We will return to monitoring the GATK forum on November 12th and 14th respectively. Thank you for your patience.

Getting null point exception when running BaseRecalibrator

Hi all, I am running this command in 4.0.3.0:

java -jar gatk-package.jar BaseRecalibrator -R RefGenomes/Felis_catus_new8.fna -I DS05061.bam -O DS05061.table --known-sites RefGenomes/felis_catus.vcf

and am getting this error:
Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.
04:34:40.657 INFO NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/home/users/cawthamy/gatk-package.jar!/com/intel/gkl/native/libgkl_compression.so
04:34:46.444 INFO BaseRecalibrator - ------------------------------------------------------------
04:34:46.445 INFO BaseRecalibrator - The Genome Analysis Toolkit (GATK) v4.0.3.0
04:34:46.445 INFO BaseRecalibrator - For support and documentation go to https://software.broadinstitute.org/gatk/
04:34:46.446 INFO BaseRecalibrator - Executing as [email protected] on Linux v3.10.0-693.11.6.el7.x86_64 amd64
04:34:46.446 INFO BaseRecalibrator - Java runtime: OpenJDK 64-Bit Server VM v1.8.0_151-b12
04:34:46.446 INFO BaseRecalibrator - Start Date/Time: May 30, 2018 4:34:40 AM EDT
04:34:46.446 INFO BaseRecalibrator - ------------------------------------------------------------
04:34:46.446 INFO BaseRecalibrator - ------------------------------------------------------------
04:34:46.447 INFO BaseRecalibrator - HTSJDK Version: 2.14.3
04:34:46.447 INFO BaseRecalibrator - Picard Version: 2.17.2
04:34:46.447 INFO BaseRecalibrator - HTSJDK Defaults.COMPRESSION_LEVEL : 2
04:34:46.448 INFO BaseRecalibrator - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
04:34:46.448 INFO BaseRecalibrator - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
04:34:46.448 INFO BaseRecalibrator - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
04:34:46.448 INFO BaseRecalibrator - Deflater: IntelDeflater
04:34:46.448 INFO BaseRecalibrator - Inflater: IntelInflater
04:34:46.448 INFO BaseRecalibrator - GCS max retries/reopens: 20
04:34:46.448 INFO BaseRecalibrator - Using google-cloud-java patch 6d11bef1c81f885c26b2b56c8616b7a705171e4f from https://github.com/droazen/google-cloud-java/tree/dr_all_nio_fixes
04:34:46.448 INFO BaseRecalibrator - Initializing engine
04:34:53.427 INFO FeatureManager - Using codec VCFCodec to read file file:///home/users/cawthamy/RefGenomes/felis_catus.vcf
04:34:53.450 INFO BaseRecalibrator - Shutting down engine
[May 30, 2018 4:34:53 AM EDT] org.broadinstitute.hellbender.tools.walkers.bqsr.BaseRecalibrator done. Elapsed time: 0.21 minutes.
Runtime.totalMemory()=2913992704
java.lang.NullPointerException
at org.broadinstitute.hellbender.utils.SequenceDictionaryUtils.getContigNames(SequenceDictionaryUtils.java:463)
at org.broadinstitute.hellbender.utils.SequenceDictionaryUtils.getCommonContigsByName(SequenceDictionaryUtils.java:457)
at org.broadinstitute.hellbender.utils.SequenceDictionaryUtils.compareDictionaries(SequenceDictionaryUtils.java:234)
at org.broadinstitute.hellbender.utils.SequenceDictionaryUtils.validateDictionaries(SequenceDictionaryUtils.java:150)
at org.broadinstitute.hellbender.utils.SequenceDictionaryUtils.validateDictionaries(SequenceDictionaryUtils.java:98)
at org.broadinstitute.hellbender.engine.GATKTool.validateSequenceDictionaries(GATKTool.java:621)
at org.broadinstitute.hellbender.engine.GATKTool.onStartup(GATKTool.java:563)
at org.broadinstitute.hellbender.engine.ReadWalker.onStartup(ReadWalker.java:55)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.runTool(CommandLineProgram.java:132)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMainPostParseArgs(CommandLineProgram.java:179)
at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:198)
at org.broadinstitute.hellbender.Main.runCommandLineProgram(Main.java:160)
at org.broadinstitute.hellbender.Main.mainEntry(Main.java:203)
at org.broadinstitute.hellbender.Main.main(Main.java:289)

how can I fix this?

Best Answer

Answers

Sign In or Register to comment.