-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix samtools sort -f temporary file names
Pull request #27 introduced a bug in which worker threads wrote temporary files with different names (prefix.NNNN.bam) to those the merge step tried to read (prefix.NNNN). Now bam_sort_core_ext() has separate prefix and output filename parameters, enabling future code allowing the temporary files to be somewhere entirely separate from the output file (e.g., $TMPDIR). (With -f, temporary files now have slightly odd names such as foo.bam.0001.bam, but they're only temporary anyway... Thanks to Chris Carr for reporting this bug.)
- Loading branch information
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters