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

Could not find vcf.stats file after Mutect2

0

4 comments

  • Avatar
    Anthony DiCi

    Hi Seke Keretsu,

    Thank you for your much-appreciated patience and for writing to the GATK forum!

    I reviewed the error you encountered with our developers and received some feedback on your next steps.

    The cluster you are using doesn't seem to be saving your stats table properly when running the tool. Have you tried running the tool locally?

    I'd recommend the following: firstly, ensure that your stats table is, in fact, being generated. If it is being generated and isn't being saved, our hypothesis is likely correct. In that case, go ahead and re-try running the tool on your local computer instead of a cluster.

    I hope this helps! Please let me know if this leads you to success. If you have any further questions/issues in the meantime, please do not hesitate to reach out.

    Best,

    Anthony

    0
    Comment actions Permalink
  • Avatar
    Anthony DiCi

    Hi Seke Keretsu,

    We haven't heard from you in a while so we're going to close out this ticket. If you still require assistance, simply respond to this email and we'll be happy to pick up where we left off!

    Kind regards,

    Anthony​

    0
    Comment actions Permalink
  • Avatar
    Uma Arora

    Hi,

    I am having a similar issue with my stats file not being written out correctly while running mutect2 on the all of us platform using the us.gcr.io/broad-gatk/gatk containers. I have tried version 4.2.4.1, 4.3.0.0, and 4.4.0.0 and get the same error. Below is the error message (it looks like it is not able to save my stats file to my bucket, but I am able to get the vcf and its index file outputs in my bucket): 

    04:39:30.412 INFO  Mutect2 - Shutting down engine
    [March 24, 2023 4:39:30 AM GMT] org.broadinstitute.hellbender.tools.walkers.mutect.Mutect2 done. Elapsed time: 3,314.17 minutes.
    Runtime.totalMemory()=27140816896
    ***********************************************************************

    A USER ERROR has occurred: Encountered an IO exception while writing to gs:/fc-secure-3901d3c2-8b08-4cfd-a5d4-d95becbe0a44/wgs_1000033.PON1KG.mutect2.vcf.gz.stats.

    ***********************************************************************
    Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.
    Using GATK jar /gatk/gatk-package-4.3.0.0-local.jar

    Thank you!

    0
    Comment actions Permalink
  • Avatar
    David Benjamin

    Mutect2 can write the output VCF and VCF index to arbitrary paths, either local files or buckets.  The stats file, however, can only be written locally.  When we run Mutect2 on the cloud, eg in the featured workflow on Terra, the stats file is written to a local path on the VM running Mutect2 and then Terra copies it to a bucket when it delocalizes the outputs.  The stats file can never be specified as a gs://____, however.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk