Question: samtools sort error: [bam_sort_core] merging from 3 files and 1 in-memory blocks...
0
gravatar for Joe
17 months ago by
Joe30
Vancouver
Joe30 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 • 2.6k views
ADD COMMENTlink modified 17 months ago • written 17 months ago by Joe30
2
gravatar for genomax
17 months ago by
genomax69k
United States
genomax69k wrote:

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 COMMENTlink modified 17 months ago • written 17 months ago by genomax69k
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: 1541 users visited in the last hour