Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bwa samse problem

    Hi there,

    I'm trying to use bwa to align Paired-end reads to mouse genome. The alignment step goes well, but the bwa samse failed and generated error message like:

    [bwa_sai2sam_pe_core] convert to sequence coordinate...
    [infer_isize] (25, 50, 75) percentile: (133, 164, 201)
    [infer_isize] low and high boundaries: 51 and 337 for estimating avg and std
    [infer_isize] inferred external isize from 210397 pairs: 167.836 +/- 42.264
    [infer_isize] skewness: 0.224; kurtosis: -0.815; ap_prior: 1.00e-05
    [infer_isize] inferred maximum insert size: 462 (6.97 sigma)
    [bwa_sai2sam_pe_core] time elapses: 111.90 sec
    [bwa_sai2sam_pe_core] changing coordinates of 13666 alignments.
    [bwa_sai2sam_pe_core] align unmapped mate...
    [bwa_paired_sw] 5674 out of 6128 Q17 singletons are mated.
    [bwa_paired_sw] 1650 out of 2146 Q17 discordant pairs are fixed.
    [bwa_sai2sam_pe_core] time elapses: 1.93 sec
    [bwa_sai2sam_pe_core] refine gapped alignments... 0.41 sec
    [bwa_sai2sam_pe_core] print alignments... 2.58 sec
    [bwa_sai2sam_pe_core] 262144 sequences have been processed.
    [bwa_sai2sam_pe_core] convert to sequence coordinate...
    bwa(88853,0xa70dc1c0) malloc: *** mach_vm_map(size=1022164992) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug

    There is no problem to align that file by "bwa samse" from one end.

    Could anyone tell what is the problem? How may I get it to work? Thank you!

  • #2
    Your mac is out of memory.
    Close your other programs and try again.

    Comment


    • #3
      Thank you for the suggestion. I tried to release the memory and hard drive space. The program processed a little bit more reads but it still stopped with the same error message. Is that because I still don't have enough memory and hard drive space to complete the job? I'm using my mac (16GB) to do the alignment. I've never got problem with single reads. What's the minimum requirement for running BWA on paired-end reads?

      Originally posted by Richard Finney View Post
      Your mac is out of memory.
      Close your other programs and try again.

      Comment


      • #4
        16 GB should be fine. What is your command line? How much free memory do you have? (not total memory).

        Comment


        • #5
          Here is my command:
          bwa sampe RefGenome/mm9bwaidx file_1.bwa file_2.bwa file_1.fastq.gz file_2.fastq.gz > file.sam

          This is the memory in my mac when I run the command.

          Physical Memory: 16.00 GB
          - Available Memory: 9.63 GB
          - Memory Used: 6.37 GB
          App Memory: 4.76 GB
          Wired Memory: 1.27 GB
          Compressed: 330.88 MB
          - Catched Files: 5.01 GB


          Originally posted by Richard Finney View Post
          16 GB should be fine. What is your command line? How much free memory do you have? (not total memory).

          Comment

          Latest Articles

          Collapse

          • 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
          • seqadmin
            The Impact of AI in Genomic Medicine
            by seqadmin



            Artificial intelligence (AI) has evolved from a futuristic vision to a mainstream technology, highlighted by the introduction of tools like OpenAI's ChatGPT and Google's Gemini. In recent years, AI has become increasingly integrated into the field of genomics. This integration has enabled new scientific discoveries while simultaneously raising important ethical questions1. Interviews with two researchers at the center of this intersection provide insightful perspectives into...
            02-26-2024, 02:07 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 03-14-2024, 06:13 AM
          0 responses
          32 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-08-2024, 08:03 AM
          0 responses
          71 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-07-2024, 08:13 AM
          0 responses
          80 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-06-2024, 09:51 AM
          0 responses
          68 views
          0 likes
          Last Post seqadmin  
          Working...
          X