Unconfigured Ad

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

    #1

    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
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...