Hi Biostars,
I've been using bowtie2 for a long time now. But there are times I get error such as : Segmentation fault (core dumped) (ERR): bowtie2-align exited with value 139
I've search many issues like this, but everyone tells first to check my bowtie2 version. So I changed from version from 2.2.6 to 2.3.3.1 ,which is the latest version. (I tried running bowtie2 from pre-complied binaries from sourceforge too)
Then I've tried to find error in my files itself by segmenting down them to 25 reads. Still couldn't find any error in them.
I've tried running BWA-mem too on these files. Surprisingly, it ran.
Please help me fix this problem..
Command used : /home/softwares/bowtie2-2.3.3.1-linux-x86_64/bowtie2 -p 20 --phred33 --local --sensitive -x /media/bowtie2_index/human_grch38/ref_index -1 /home/error/aj_R1_aj_edi.fq -2 /home/error/aj_R2_aj_edi.fq -S out_trail1.sam
Hereby, I'm attaching my 25 reads file. Thanks in advance.
https://www.dropbox.com/s/39mgsuauoabdf2w/aj_R1_aj_edi.fq.gz?dl=0 https://www.dropbox.com/s/kgndmhcfeuf9zgn/aj_R2_aj_edi.fq.gz?dl=0
This is a memory issue. Are you sure that the 256GB memory is not shared by anyone else. Use
free -g
to check the memory currently available.This is what it's showing with 'free -g' command :
But the files I was running bowtie2 on were just in kilobytes, how it's even possible..
The error (segmentation fault) is a memory issue. It means you are trying to access memory you don't have access to. However, bowtie2 works fine on a laptop with only 4Gb RAM. I've seen that if the free memory is less than 50gb, jobs do not run. Maybe the cluster itself requires more than 20gb to work properly.
Thanks Ashish.. So what to do now? Can I ask you a favour? Please run the attached files on your computer..
Use
top
to see all the running processes, see which process is using maximum memory, kill it or wait for it to finish and then run bowtie2. I work on plants and use different tools. To run your job on my system I'll have to setup many things.Okay. Thanks for the support :)
How much memory is available on the machine that you use?
It has 256GB memory. 32 cores.