Hi all,
I am doing some whole genomes. The samples were done by sequencing 1 sample on all 12 lanes of a solid 5500xl machine. From the output, I aligned each individual lane separately, then merged the 12 bam files together using picardtools mergeSam. This merged bam file is rather large, 200GB in size and has around 2billion sequence reads. My problem is that now I have to sort the file. Any method that I have tried so far has not worked. Samtools fails with an error saying that there are too many files, and picard tools gives an error that it is out of memory. The compute node that I am using has 256GB of memory, so that should be enough. I have even tried increasing the -m flag to 16G in samtools sort. Still not working.
Any thoughts?
Thanks
I am doing some whole genomes. The samples were done by sequencing 1 sample on all 12 lanes of a solid 5500xl machine. From the output, I aligned each individual lane separately, then merged the 12 bam files together using picardtools mergeSam. This merged bam file is rather large, 200GB in size and has around 2billion sequence reads. My problem is that now I have to sort the file. Any method that I have tried so far has not worked. Samtools fails with an error saying that there are too many files, and picard tools gives an error that it is out of memory. The compute node that I am using has 256GB of memory, so that should be enough. I have even tried increasing the -m flag to 16G in samtools sort. Still not working.
Any thoughts?
Thanks
Comment