Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • blakeoft
    Member
    • Oct 2013
    • 79

    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
  • rory
    Member
    • Aug 2008
    • 28

    #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

    • lime gin
      Junior Member
      • Jul 2012
      • 3

      #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

      • blakeoft
        Member
        • Oct 2013
        • 79

        #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

        • lime gin
          Junior Member
          • Jul 2012
          • 3

          #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

          • lime gin
            Junior Member
            • Jul 2012
            • 3

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

            Comment

            • blakeoft
              Member
              • Oct 2013
              • 79

              #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

              • mylaser
                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by mylaser
                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                This guide explains everything you need to know about...
                Yesterday, 01:13 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • SEQadmin2
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                07-08-2026, 05:17 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              10 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Working...