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.

MarkDuplicates out of Memory

Dear all,

I have been using Picard MarkDuplicates function to mark the duplicate reads which is found to be utlizing huge amount of memory compared to the memory used by GATK in subsequent steps.

I have used the below command:

java -Xmx128G -jar /appl/bio/picard/picard-2.6.0/picard/build/libs/picard.jar MarkDuplicates INPUT=alignment_sorted.bam OUTPUT=alignment_duprem.bam CREATE_INDEX=true VALIDATION_STRINGENCY=LENIENT QUIET=true AS=true METRICS_FILE=metrics VERBOSITY=WARNING

which utilized ~50GB to complete the run. I tried to minimize the memory consumption by adding MAX_RECORDS_IN_RAM=50000 to the above command but it utilized the same amount of memory as before.

I tried searching different forums but did not find a solution for this or probably i am missing some discussions. Could someone throw some light into this issue to decrease the memory consumption.

Answers

Sign In or Register to comment.