Hi,
I'm trying to find SV's using SVDetect on a whole genome bam file. I was doing the linking step on the entire bam file (60GB), which was generated after BAM preprocessing. But after sometime the program got crashed. So, I divided the whole genome bam file and into individual chr bam files and ran SVDetect again using the following shell script:
for i in {1..22}
do
echo "SVDetect linking -conf Conf/chr$i.conf 2>Logs/chr$i.log"
SVDetect linking -conf Conf/chr$i.conf 2>Logs/chr$i.log
done
It ran well for chr 1&2. But when I came to chr3, it threw me an error saying that,
can't open chr3.bam: Cannot allocate memory.
I have given a memory allocation of 120GB. Each chr bam file is approximately 3GB in size. Does it still need more memory than this? I wanted to know if anyone else had memory issues like me and how others perform their SVDetect analysis or Structural variant analysis.
I did look at BreakDance too, but we decided to use SVDetect because it gives Circos plots in the end.
Thanks!
@Charles Warden: Thanks for the explanation.
I am also facing some memory related issue on my BAM files (Mate-pair, ~3GB, after pre-processing step) during my analysis. I tried to run SVDetect on a 64GB as well as 128GB Machine with multiple threads but program always crashes during "links2compare" process.
Any recommendation will be helpful for my SV analysis.
Thanks Samarth Kulshrestha