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
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                10-30-2026, 06:46 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              40 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              73 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...