Announcement

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

  • 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

  • #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


    • #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


      • #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


        • #5
          Did you compile the toolkit yourself?

          Comment


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

            Comment


            • #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

              • seqadmin
                Advanced Methods for the Detection of Infectious Disease
                by seqadmin




                The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
                ...
                11-27-2023, 01:15 PM
              • seqadmin
                Strategies for Investigating the Microbiome
                by seqadmin




                Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
                11-09-2023, 07:02 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 12-01-2023, 09:55 AM
              0 responses
              19 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 11-30-2023, 10:48 AM
              0 responses
              19 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 11-29-2023, 08:26 AM
              0 responses
              14 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 11-29-2023, 08:12 AM
              0 responses
              16 views
              0 likes
              Last Post seqadmin  
              Working...
              X