Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with MarkDuplicates in Picard slowsmile Bioinformatics 13 11-01-2015 03:16 AM
How to use Picard's MarkDuplicates cliff Bioinformatics 12 01-26-2015 10:56 PM
Picard's MarkDuplicates -> OutOfMemoryError elgor Bioinformatics 15 08-05-2013 06:37 AM
MarkDuplicates in picard bair Bioinformatics 3 12-23-2010 11:00 AM
Picard MarkDuplicates wangzkai Bioinformatics 2 05-18-2010 09:14 PM

Thread Tools
Old 08-02-2012, 06:19 PM   #1
Location: New York

Join Date: Nov 2011
Posts: 19
Question problem with MarkDuplicates in Picard


I tried to remove duplicates by Picard but got some problem. The command I used is

PHP Code:
java -Xmx2g -Dsnappy.disable=true -jar ../picard-tools-1.70/MarkDuplicates.jar INPUT=file.sort.bam OUTPUT=file.sort.rd.bam REMOVE_DUPLICATES=true METRICS_FILE=file.rd.txt AS=true VALIDATION_STRINGENCY=LENIENT 
And the error message I got is

PHP Code:
Exception in thread "main" java.lang.OutOfMemoryErrorGC overhead limit exceeded
    at java
at java.util.TreeSet.add(
at net.sf.samtools.util.SortingCollection$
at net.sf.picard.sam.MarkDuplicates.generateDuplicateIndexes(
at net.sf.picard.sam.MarkDuplicates.doWork(
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(
at net.sf.picard.sam.MarkDuplicates.main(

I used this command many times and it was the first time I got this error. Could anyone help me to understand how that happened?

eilosei is offline   Reply With Quote
Old 08-03-2012, 12:13 AM   #2
Location: California

Join Date: Mar 2012
Posts: 97

It says "Out of memory". Try increasing Xmx2g to Xmx3g or Xmx4g, to assign more java heap space and try again..
shyam_la is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:20 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO