Question: samtools sort failed to merge tmp .bam file
20 months ago by
johnnytam100 • 100
johnnytam100 • 100 wrote:
I tried to sort a .bam file with the following command
/data/tam/script/bwa.kit/samtools sort libTTNRgenomemaster_map_lotusgenome.bam > libTTNRgenomemaster_map_lotusgenome.sorted.bam
The following error, together with many ...bam.tmp.XXXX.bam files were generated (XXXX up to 1491)
[bam_sort_core] merging from 1492 files... [E::hts_open_format] fail to open file 'libTTNRgenomemaster_map_lotusgenome.bam.tmp.1020.bam'
Related threads were read but not helpful.
Any idea how to solve this problem?
ADD COMMENT • link •