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

Memory issues when running BaseRecalibrator

0

3 comments

  • Avatar
    Gökalp Çelik

    Hi Mette Pedersen

    BaseRecalibrator does not require too much memory to run. It may be possible that your system does not have enough memory to serve for all the heapsize you requested from it. Just setting up as below should suffice for most users.

    --java-options "-Xmx8G

    I hope this helps. 

    0
    Comment actions Permalink
  • Avatar
    Mette Pedersen

    Hi Gökalp,
    Thanks for the reply. 

    I am running the command on aws hpc with more than 1TB of available memory, so I cannot figure out why I get the memory error. 

    Could it be another thing causing the error? I found a similar post on this subject but the guy "solved" the problem by downloading the reference files again. Why would that cause an issue like this? I have not tried it, but I can see my files should not be corrupt. 

    Best regards,
    Mette

    0
    Comment actions Permalink
  • Avatar
    Gökalp Çelik

    Hi again. 

    This could be related to how memory pool is setup in that hpc of yours so I still believe that it is worth a shot to set it up with a low amount of heap space such as 8 to 12G and not modifying parallel GC threads that java sets up for. Average BaseRecalibrator does not use more than 10G of memory for a whole genome operation. If you are interested in accelerating the process you may split the BaseRecalibration process to multiple intervals and run them in parallel and later collect all recalibration reports together using GatherBQSRReports and run ApplyBQSR. Results will be the same as running BaseRecalibrator in whole file vs scatters. 

    I hope this helps. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk