samtools sort: fail to open "****.sorted.bam.tmp.1020.bam": Too many open files
increase the RAM allowance for samtools sort (with -m 1500M or -m 2G, for example) such that there are fewer (larger) temp files to merge
command :
samtools sort -m 2G -n in.bam -o in.sorted.bam
博客内容讲述了在使用Samtools进行排序时遇到'Too many open files'的问题,提示需要增加内存分配以减少临时文件的合并。解决方案是通过添加'-m2G'参数来提高内存分配,例如:`samtoolssort -m2G in.bam -o out.sorted.bam`。
734

被折叠的 条评论
为什么被折叠?



