Markduplicate error in picard
1
0
Entering edit mode
15 months ago
rj.rezwan • 0

Hi, I tried to mark duplicates in the ABC_sorted.bam file using the following command but received the attached error. Could someone guide me on how to solve this error and what changes I should make to get the results?

picard MarkDuplicates I=ABC_sorted.bam O=duplicate_ABC.bam METRICS_FILE=metrics_ABC.txt VALIDATION_STRINGENCY=SILENT CREATE_INDEX=TRUE

markduplication error

picard maarkduplicate genome mapping • 969 views
ADD COMMENT
1
Entering edit mode
15 months ago
barslmn ★ 2.1k

Try increasing the allocated memory with -Xmx parameter. It's the second question in their FAQ. https://broadinstitute.github.io/picard/faq.html

ADD COMMENT
0
Entering edit mode

I have used the following script of picard for mark duplication by incorporating the @barslmn suggestion:

picard -Xmx24G MarkDuplicates I=fixmate_sorted.bam O=markduplicate.bam M=markdup_metrics.txt ASSUME_SORTED=true VALIDATION_STRINGENCY=LENIENT CREATE_INDEX=TRUE

"ASSUME_SORTED=true" is mentioned in the markduplication script for those files which are sorted by the samtools

ADD REPLY

Login before adding your answer.

Traffic: 2193 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6