Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • DiffBind: error with dba.count

    Hello,

    I've been using DiffBind to analyze some ATAC-seq peak data. Briefly, peaks in these datasets represent sites of open chromatin. DiffBind seems to do a very good job, but I've encountered an error in my most recent comparison. Here's the R code:

    Code:
    > library(DiffBind)
    > diffpeaks <- dba(sampleSheet = "metadata.csv")
    # suppressed output
    > diffpeaks <- dba.count(diffpeaks)
    # suppressed output
    [B]Error in if (sum(tokeep) < length(tokeep)) { : 
      missing value where TRUE/FALSE needed[/B]
    In addition: Warning message:
    In dba.multicore.init(DBA$config) :
      Parallel execution unavailable: executing serially.
    I've bolded the actual error. I've looked through the dba.count() code, and I can't tell where the error is coming from. My best guess is that it's from the pv.count() function, but I can't seem to find anything about it anywhere. This is really a mystery to me (and I thought I knew what was going on in R too )...

    I’ve selected subsets of the metadata with varying sizes--sometimes it works, and sometimes I get the same error. This leads me to believe that it isn’t a memory issue.

    Does anyone have any ideas about this?

    Thanks for any help,

    Blake

  • #2
    It appears that DiffBind can't handle the "-" character (minus sign/hyphen) in the file names. Remove them and it should work!

    Cheers-
    Rory

    Comment


    • #3
      Hi Blake, just curious if this has been resolved. I'm getting the same exact error with my data; while I've pinpointed the exact subset where the error is coming from, my file names all have alphanumeric characters.

      Comment


      • #4
        Unfortunately, I have not resolved the issue yet. I'm just curious, what kind of machine are you running DiffBind on? I've used it several times without error on a Unix based HPC. But ever since I've tried using it on my windows computer, I get this error. The HPC has been down for maintenance, so I haven't been able to see if running it there solves the problem. I'll post my results whenever the cluster is back up.

        Comment


        • #5
          Thanks for your response. I'm running it on my Windows computer through RStudio. We do have a Unix based HPC, but I've never tried running R there. I'll give it a shot and see how it goes.

          Comment


          • #6
            Update: I ran the same set of data on our Unix based HPC and it worked!

            Comment


            • #7
              That's good to hear. I really don't have any sort of an idea of why DiffBind (specifically dba.count()) does not seem to work on Windows. I look forward to when I can use our HPC again! Thanks for the update.

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Recent Innovations in Spatial Biology
                by seqadmin


                Spatial biology is an exciting field that encompasses a wide range of techniques and technologies aimed at mapping the organization and interactions of various biomolecules in their native environments. As this area of research progresses, new tools and methodologies are being introduced, accompanied by efforts to establish benchmarking standards and drive technological innovation.

                3D Genomics
                While spatial biology often involves studying proteins and RNAs in their...
                01-01-2025, 07:30 PM
              • seqadmin
                Advancing Precision Medicine for Rare Diseases in Children
                by seqadmin




                Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                12-16-2024, 07:57 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Yesterday, 11:18 AM
              0 responses
              16 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-30-2024, 01:35 PM
              0 responses
              33 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-17-2024, 10:28 AM
              0 responses
              41 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-13-2024, 08:24 AM
              0 responses
              57 views
              0 likes
              Last Post seqadmin  
              Working...
              X