Samtools sort memory issues
0
0
Entering edit mode
6.3 years ago
bioinfo ▴ 10

I'm using "samtools sort" to arranging bam to sorted bam my command line was : samtools sort sample.bam -o sample.sorted.bam -m 3000000000

But result command line is : [bam_sort_core]merging 1 files and 1 in-memory blocks...

Is it normal statement when using samtools sort?

RNA-Seq software error • 3.8k views
ADD COMMENT
1
Entering edit mode

I think by specifying the max memory per thread so high, you told it to hold the whole file in memory at once.

ADD REPLY
1
Entering edit mode

This doesn't look like an error to me, just a progress message.

In addition, I changed your title to small letters. There is no need to SHOUT ;-)

ADD REPLY
0
Entering edit mode

Have you tried to sort without specifying memory option? That may not be needed.

ADD REPLY
0
Entering edit mode

The memory option is not required. The default is much lower, which is why that message usually indicates that multiple files are being merged.

ADD REPLY

Login before adding your answer.

Traffic: 2657 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