Entering edit mode
2.8 years ago
PROFESOR
•
0
I'm doing deduplicate reads on a merged bam file, and I get this error
What is going on? What is the solution?
(base) javier@iMac-de-JAVIER BWA % samtools markdup -r -S 1merged.bam 2merged.bam
[tmp_file] Error: tmp file write data failed.
[markdup] error: writing temp output failed.
[E::bgzf_close] File write failed
[markdup] error closing output file
(base) javier@iMac-de-JAVIER BWA %
Well that is interesting, two errors that I have never seen before. So markdup cannot write to the temp file it made (needed when the -S option is used) and separately markdup cannot close the output file it made.
I suspect some problem with your file system. Can you write files to that directory with other programs?
I think so, but I'm not sure, a few days ago I created a file with nano, but I didn't run it.
It generates me as soon as the file begins, but with 0 bits