Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "refine gapped alignments... Segmentation fault" while using bwa sampe

    Dear all,
    I got struck to convert sai files (generated using bwa aln) to sam files using bwa sampe command.
    I have downloaded one sra file (SRR015553.sra) from sequence read archive of ncbi. Then I converted the SRR015553.sra file to two fastq files (as it contains pair end reads) by using sratoolkit.2.1.16 command:

    fastq-dump.2.1.18 --split-3 SRR015553.sra

    Then I converted the two fastq files thus generated viz. SRR015553_1.fastq and SRR015553_2.fastq to the respective sai files viz. SRR015553_sa1.sai and SRR015553_sa2.sai using the bwa aln command with no error. Finally when I was trying to convert the sai files to the sam file (by bwa sampe) using the command line:

    bwa sampe hg19.fa SRR015553_sa1.sai SRR015553_sa2.sai SRR015553_1.fastq SRR015553_2.fastq > SRR015553.sam

    I got the error in the form of segmentation error. The details of the last few lines before exit from the program are as follows:

    [bwa_paired_sw] 3 out of 8338 Q17 singletons are mated.
    [bwa_paired_sw] 0 out of 215506 Q17 discordant pairs are fixed.
    [bwa_sai2sam_pe_core] time elapses: 3.63 sec
    [bwa_sai2sam_pe_core] refine gapped alignments... Segmentation fault

    I have repeated the entire process several times but in vain. I am using a CentOs Linux machine with ram 64Gb and enough memory, so probably memory is not an issue in my case.
    Can you help me in solving my problem, where the error could appear. I did the same process of converting sra files to sam files with success for some other sra files but NOT in case of this sra file. Where I am wrong? Is there any problem in converting sra files to fastq files or elsewhere. Please help me to find the way out. Thank you.
    0
    Is it due to bwa error?
    0%
    0
    Is it due to sratoolkit error?
    0%
    0

  • #2
    Did you create the hg19 indexes yourself or are you using indexes downloaded from elsewhere?

    Check post #51 if you are using "nohup" to run this analysis to capture additional error info (http://seqanswers.com/forums/showpos...2&postcount=51). Parent thread is here: http://seqanswers.com/forums/showthread.php?t=2077

    Comment


    • #3
      Hi GenoMax,
      Thanks for your reply. Yes I did indexing of hg19.fa by using bwa. I am surprised to say that except that sra file (SRR015553.sra) as mentioned by me other sra files from the same run (Illumina) of the same individual viz. SRR015551.sra, SRR015552.sra etc worked perfectly. What and where should be the problem then?

      Comment


      • #4
        It is possible that perhaps the file in question (SRR015553.sra) was corrupted somewhere along the way. Have you tried to re-download from SRA and reanalyze? In the worst case scenario the original file at SRA may be corrupt.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM
        • seqadmin
          Techniques and Challenges in Conservation Genomics
          by seqadmin



          The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

          Avian Conservation
          Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
          03-08-2024, 10:41 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 06:37 PM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 06:07 PM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-22-2024, 10:03 AM
        0 responses
        51 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-21-2024, 07:32 AM
        0 responses
        67 views
        0 likes
        Last Post seqadmin  
        Working...
        X