The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Powered by Vanilla. Made with Bootstrap.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.
Register now for the upcoming GATK Best Practices workshop, Feb 20-22 in Leuven, Belgium. Open to all comers! More info and signup at

Picard tools MarkDuplicates without swap usage

Greg_OwensGreg_Owens Member Posts: 13

I've been trying to run MarkDuplicates on a shared cluster and I keep getting the job killed because of swap usage. I'm trying to figure out a way to use MarkDuplicates without just throwing tonnes of ram at it. To get more ram, I need to request more cores which means lower priority in the queuing system.

I've been using the command:
java -Xmx40g -Djavaio.tmpdir=/home/gowens/tmp -jar $picard MarkDuplicates I=${name}.bam O=${name}.dup.bam M=${name}.dupmetrics.txt CREATE_INDEX=TRUE TMP_DIR=/home/gowens/tmp MAX_RECORDS_IN_RAM=5000000;

I've tried changing MAX_RECORDS_IN_RAM up or down but I'm not sure if thats helping or hurting the problem. For reference, the BAM files I'm marking are 2G to 23G in size and the issue is with the ones on the larger size.

Issue · Github
by Sheila

Issue Number
Last Updated
Closed By


Sign In or Register to comment.