Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • smitra
    Member
    • May 2013
    • 20

    fastq_to_fasta segmentation fault (core dumped)

    Hi, I am trying to convert my fastq files which have been stitched using multiple_join_paired_ends.py 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
    Code:
    less fastq2fasta.single.file.sh.e378704
    
    /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
    fastq2fasta.single.file.sh.e378704 (END)

    This is the job script that I used.

    Code:
    less fastq2fasta.single.file.sh
    
    #$ -l h_rt=24:00:00
    #$ -cwd
    #$ -V
    #$ -l h_vmem=8G
    #$ -M [email protected]
    
     fastq_to_fasta -i RIFSAMPLEA_S1.join.fastq -o RIFSAMPLEA_S1.join.fasta
    
    
    fastq2fasta.single.file.sh (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
  • aprice67
    Member
    • Nov 2012
    • 49

    #2
    First thing I'd try is throwing a ton of memory at it. See if it runs with 64G of memory. If it does maybe slim it down for other jobs. Segmentation faults say to me that the problem has something to do with memory allocation and not necessarily the task itself. I know that you know that, and so suspect that there is something else going on, but even still, I would keep digging into the memory issue as being the problem for a long while. Permissions and memory. Good luck!

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      Fastq to fasta should not require much memory. Try BBMap's reformat.sh:

      Code:
      reformat.sh in=file.fastq out=file.fasta -Xmx1g

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-13-2026, 10:26 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Working...