Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adisaxena
    Junior Member
    • Aug 2015
    • 6

    #1

    malloc error on OS X 10.11 (El Capitan) with Fastx_collapser

    Hi,

    I am trying to calculate duplicate and singleton sequences in my RNASeq reads with fastx_collapser (Fastx-Toolkit, Hannon lab) on a Mac Mini (2 core, 16 GB memory, OS X El Capital/10.11).

    Every time I run the fastx_collapser command in terminal I get this message:

    fastx_collapser(536,0xa2a32000) malloc: *** mach_vm_map(size=1048576) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
    Abort trap: 6

    OS X 10.11 doesn't allow one to "Repair Disk Permissions" (http://stackoverflow.com/questions/3...ach-vm-mapsize) and Disabling System Integrity Protection (http://osxdaily.com/2015/10/05/disab...tion-mac-os-x/) didnt help.

    Has anyone else encountered this problem? Shall be most grateful for any suggestions and advice!

    Thanks in advance-
    Adi
  • adisaxena
    Junior Member
    • Aug 2015
    • 6

    #2
    malloc error on OS X 10.11 (El Capitan) with Fastx_collapser

    Hi,

    I am trying to calculate duplicate and singleton sequences in my RNASeq reads with fastx_collapser (Fastx-Toolkit, Hannon lab) on a Mac Mini (2 core, 16 GB memory, OS X El Capital/10.11).

    Every time I run the fastx_collapser command in terminal I get this message:

    fastx_collapser(536,0xa2a32000) malloc: *** mach_vm_map(size=1048576) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
    Abort trap: 6

    OS X 10.11 doesn't allow one to "Repair Disk Permissions" (http://stackoverflow.com/questions/3...ach-vm-mapsize) and Disabling System Integrity Protection (http://osxdaily.com/2015/10/05/disab...tion-mac-os-x/) didnt help.

    Has anyone else encountered this problem? Shall be most grateful for any suggestions and advice!

    Thanks in advance-
    Adi

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      What size is your data file? Perhaps the thing to do would be to align the data and then use Picard to mark the duplicates.

      Comment

      • adisaxena
        Junior Member
        • Aug 2015
        • 6

        #4
        @Genomax, Many thanks for your reply. My file is 25gb and I have 2TB storage on my mac mini. Will look into Picard too.

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Did you compile the toolkit yourself?

          Comment

          • adisaxena
            Junior Member
            • Aug 2015
            • 6

            #6
            @Genomax
            Yes I did. I have used other tools from the kit (fastx_clipper, fastq_quality_trimmer) and they all worked fine.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Have you considered splitting the file in multiple and running rounds of fastx_collapser (since it appears to be trying to do this in memory)?

              You could also use dedupe.sh from BBMap to get an idea of perfect duplicates.

              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
              22 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              19 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...