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

              • kinpict.com
                Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by kinpict.com
                The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                Today, 06:37 PM
              • 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,...
                10-30-2026, 06:46 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 11-12-2026, 07:59 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-05-2026, 09:25 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-03-2026, 11:54 AM
              2 responses
              56 views
              0 reactions
              Last Post kinpict.com  
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              175 views
              0 reactions
              Last Post SEQadmin2  
              Working...