Genome Analysis Toolkit

Variant Discovery in High-Throughput Sequencing Data

GATK process banner

Need Help?

Search our documentation

Community Forum

Hi, How can we help?

Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size. Learn more

Errors with CNNScoreVariants and HaplotypeCaller: java.nio.BufferUnderflowException

0

3 comments

  • Avatar
    Genevieve Brandt (she/her)

    Hello WKaiser, could you run some troubleshooting steps to determine what the issue might be?

    1. Validate your Sam or Bam file with ValidateSam following this tutorial.

    2. Validate your Variant File with ValidateVariants using default parameters to check with strict validation.

    3. Re-index your files and verify GATK is using the correct index.

    Please also check that you have enough memory for these jobs

    1. Specify a --tmp-dir that has room for all necessary temporary files.
    2. Specify java memory usage using java option -Xmx.
    0
    Comment actions Permalink
  • Avatar
    WKaiser

    Hallo Genevieve Brandt,

    The problem is solved. I had an older, faulty and a new, correct version of the bai for the bam file in the same folder and used the older version in the command. After adjusting the code and removing the older version from the folder it worked.

    Thank you very much for the quick response.

    0
    Comment actions Permalink
  • Avatar
    Genevieve Brandt (she/her)

    WKaiser thanks for the update and posting the solution, this will be helpful for other GATK users in the future! Glad the problem is solved.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk