Announcement

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

  • BBDuk Out of Memory

    Hello! I am running BBDuk from BBTools to remove reads that map to a mammal host genome (2.3G). I am running the bbduk.sh script on just 1 sample (an R1 and R2; each 12G). Initially, I kept getting an "java.lang.OutOfMemoryError: Java heap space" or "java.lang.OutOfMemoryError: GC overhead limit exceeded" errors, so I started requesting 100G+ of memory for my slurm jobs. The jobs run until the time limit I set is reached (3 days), and they do not produce any output files or even temporary files. The last job I ran (1 node, 15 cores, 300G of memory) is below:

    bbduk.sh in1=R1.fastq in2=R2.fastq out1=clean.R1.fastq out2=clean.R2.fastq outm1=matched1.fq outm2=matched2.fq ref=CC.genomic.fna stats=stats.txt k=31 prealloc hdist=1 rskip=4 -Xmx255g

    The output I received:
    Executing jgi.BBDuk
    Version 38.87

    Initial size set to 2142000000
    36.158 seconds.
    Initial:
    Memory: max=273804m, total=273804m, free=85629m, used=188175m

    slurmstepd: error: *** JOB CANCELLED DUE TO TIME LIMIT ***

    ---------------------
    I have also tried adding the rskip=4 and qskip=4 flags to no avail. I ran the same code on just the first 1000 lines of my fastq file and also received the "out of memory" issue.

    Any idea for what might be going on? Why is this task taking so long and requires so much memory for 1 sample? What I can do to diagnose the issue and actually be able to successfully run my code? I have yet to successfully run the BBDuk code on my data.

  • #2
    You should use a different program for this purpose. Look up "bbsplit.sh". BBDuk is not the right program for this application.

    Comment


    • #3
      Thank you for your reply. That is what I was suspecting. I will look into other tools and/or bbsplit!!

      Comment


      • #4
        Originally posted by connieR View Post
        Thank you for your reply. That is what I was suspecting. I will look into other tools and/or bbsplit!!
        See: http://seqanswers.com/forums/showthread.php?t=41288

        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, Today, 09:55 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 10:48 AM
        0 responses
        17 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 11-29-2023, 08:26 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 11-29-2023, 08:12 AM
        0 responses
        14 views
        0 likes
        Last Post seqadmin  
        Working...
        X