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.

DiskReadEndsMap error

hello,I run a batch of markdup for mary samples on a servers, echo sample's script likes below:
java -Djava.io.tmpdir=/tmp/17S0001690 -jar MarkDuplicates.jar MAX_FILE_HANDLES_FOR_READ_ENDS_MAP=8000 INPUT=17S0001690/Bwa/17S0001690.sort.bam OUTPUT=17S0001690.sort.dup.bam METRICS_FILE=17S0001690/Bwa/17S0001690.dup.metrics VALIDATION_STRINGENCY=SILENT && \
samtools index 17S0001690.sort.dup.bam
but some samples have exception:

4s. Last read position: chr3:122,545,708
INFO 2018-03-13 20:06:59 MarkDuplicates Tracking 31974 as yet unmatched pairs. 2768 records in RAM.
INFO 2018-03-13 20:08:02 MarkDuplicates Read 17,000,000 records. Elapsed time: 00:04:01s. Time for last 1,000,000: 63s. Last read position: chr3:155,832,010
INFO 2018-03-13 20:08:02 MarkDuplicates Tracking 32064 as yet unmatched pairs. 1323 records in RAM.
[Tue Mar 13 20:08:25 CST 2018] net.sf.picard.sam.MarkDuplicates done. Elapsed time: 4.42 minutes.
Runtime.totalMemory()=7797014528
FAQ: http://sourceforge.net/apps/mediawiki/picard/index.php?title=Main_Page
Exception in thread "main" net.sf.picard.PicardException: Error spilling ReadEndsMap to disk.
at net.sf.picard.sam.DiskReadEndsMap$Codec.encode(DiskReadEndsMap.java:102)
at net.sf.picard.sam.DiskReadEndsMap$Codec.encode(DiskReadEndsMap.java:76)
at net.sf.picard.sam.CoordinateSortedPairInfoMap.put(CoordinateSortedPairInfoMap.java:158)
at net.sf.picard.sam.DiskReadEndsMap.put(DiskReadEndsMap.java:65)
at net.sf.picard.sam.MarkDuplicates.buildSortedReadEndLists(MarkDuplicates.java:423)
at net.sf.picard.sam.MarkDuplicates.doWork(MarkDuplicates.java:161)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:177)
at net.sf.picard.sam.MarkDuplicates.main(MarkDuplicates.java:145)
Caused by: java.io.IOException: Input/output error
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:318)
at java.io.DataOutputStream.write(DataOutputStream.java:107)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:401)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
at net.sf.picard.sam.DiskReadEndsMap$Codec.encode(DiskReadEndsMap.java:99)
... 7 more
is it out of memory in server?

Best Answer

Answers

Sign In or Register to comment.