I am trying to sort a bam file, which is 4.1 GB in size using simply
samtools sort -o sorted.bam start.bam, but the file hangs after about 6.5 hours when the sorted file is 3.1 GB, no warning messages or anything. None of the temp files have been deleted either. I don't think the computer ran out of RAM. This has happened on my second attempt.
Why can't I sort this bam file? How can I get the sort to finish?