Question: samtools sort error: [bam_sort_core] merging from 3 files and 1 in-memory blocks...
0
gravatar for Joe
10 months ago by
Joe10
Vancouver
Joe10 wrote:

Hi there,

When I run script "samtools sort -n -O SAM $bamfile", an error appeared as "[bam_sort_core] merging from 3 files and 1 in-memory blocks..." and the output file is empty? I have checked the memory and it is sufficient (256G memory can be used for the 2 G file ). Anyone can help?

Joe

software error • 1.4k views
ADD COMMENTlink modified 10 months ago • written 10 months ago by Joe10
1

If you are running the latest samtools then the command should be samtools sort -n -o sorted.bam input.bam (if you want file name sorted). For a 2GB file you should not need to mess with memory settings.

ADD REPLYlink modified 10 months ago • written 10 months ago by genomax59k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1415 users visited in the last hour