Question: fastq_to_fasta segmentation fault (core dumped)
gravatar for Mitra
2.6 years ago by
Mitra0 wrote:

Hi, I am trying to convert my fastq files which have been stitched using under qiime-1.9.1 Now my fastq joined files look okay, but when I try to convert them to fasta I am having trouble. for a single file test I get the error


/var/spool/sge_prod/hb01s2b15/job_scripts/378704: line 7: 26760 Segmentation fault      (core dumped) fastq_to_fasta -i RIFSAMPLEA_S1.join.fastq -o RIFSAMPLEA_S1.join.fasta (END)

This is the job script that I used.


#$ -l h_rt=24:00:00
#$ -cwd
#$ -V
#$ -l h_vmem=8G

 fastq_to_fasta -i RIFSAMPLEA_S1.join.fastq -o RIFSAMPLEA_S1.join.fasta (END)

I have looked at the log for the job so I can see that it fails as it is setting up and probably fails at the very beginning of that. Also the log indicates that no memory has been used. I heard, that a segmentation fault is often a problem with allocating memory but it normally occurs late on in the execution of a program when nearly all of the memory has been used and the programm asks for more memory than there is left. But this is definitely not a case here.

Can anybody please help me how to fix this problem? Thanks, Mitra

next-gen sequence • 1.2k views
ADD COMMENTlink modified 2.6 years ago by Ron990 • written 2.6 years ago by Mitra0

Note: I removed your personal email address from the script above.

I am not sure why this particular program is seg faulting. Has it worked before without any issues? You can't correlate time taken to segfault with amount of memory you are allocating. On fast clusters 8G could be used up in seconds.

As an alternate solution you could use from BBMap Suite to do this conversion by doing in=RIFSAMPLEA_S1.join.fastq out=RIFSAMPLEA_S1.join.fa

ADD REPLYlink modified 2.6 years ago • written 2.6 years ago by genomax80k

I will try that. Thank you.

And yes obviously fastq_to_fasta works perfectly in all previous occasions. But now recently when I am trying to submit is as a job, it is giving trouble.

And also thanks for deleting my email. I missed that. Mitra

ADD REPLYlink written 2.6 years ago by Mitra0
gravatar for Ron
2.6 years ago by
United States
Ron990 wrote:

Segmentation fault (core dumped) are mostly related to memory issues. You need to increase your memory. If you are working on a cluster.You can increase the number of slots (> 10) each with atleast 16G of memory. If this does not work,provide more memory or slots.

ADD COMMENTlink written 2.6 years ago by Ron990
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1318 users visited in the last hour