Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eilosei
    Member
    • Nov 2011
    • 19

    #1

    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!
  • Richard Finney
    Senior Member
    • Feb 2009
    • 701

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

    Comment

    • eilosei
      Member
      • Nov 2011
      • 19

      #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

      • Richard Finney
        Senior Member
        • Feb 2009
        • 701

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

        Comment

        • eilosei
          Member
          • Nov 2011
          • 19

          #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

          • SEQadmin2
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2






            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized
            ...
            07-31-2026, 11:01 AM
          • SEQadmin2
            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
            by SEQadmin2


            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

            The systematic characterization of the human proteome has
            ...
            07-20-2026, 11:48 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-31-2026, 02:55 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-23-2026, 11:41 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-20-2026, 11:10 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Working...