Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • EcoRInya
    Member
    • Apr 2016
    • 11

    DiffBind read counts normalisations

    Is there a way to turn off the normalisation by the library size (either full or effective) in DiffBind?

    The problem is that I the bam files I want to use are already normalised in a specific way which I don't want to change. I am looking for the way to turn off the normalisation in DiffBind. I found the option SCORE which can be DBA_RAW_READS, but it doesn't seem to affect subsequent differential analysis by any of the methods available. Does anyone know the way around this problem?
  • fanli
    Senior Member
    • Jul 2014
    • 197

    #2
    We ended up just running the underlying DESeq2/edgeR with manually set sizeFactors/normFactors. Seemed easier than going through DiffBind and not being 100% sure if normalization was actually off...

    Comment

    • rory
      Member
      • Aug 2008
      • 28

      #3
      There isn't a way to prevent the underlying differential analysis method from normalizing the read counts. The score parameter only changes the scoring method used for plots of global (non-analyzed) data. As fanli suggests, the best way is to use an underlying method (edgerR/DESeq2) directly if you want to do something more sophisticated.

      Comment

      • fanli
        Senior Member
        • Jul 2014
        • 197

        #4
        On a related note, is there any preference for how to incorporate information from control (e.g. IgG) libraries? From what I understand, DiffBind subtracts control reads in each binding interval. But is it equally valid to use the overall number of control reads in all binding intervals as a second normalization factor?

        Comment

        • rory
          Member
          • Aug 2008
          • 28

          #5
          This has generated a lot of discussion recently. Subtracting the reads, as DiffBind does by default, is a bit of a kludge that potentially violates the assumptions of the statistics underlying the methods for estimating dispersion for the negative binomial. The reads could be incorporated into the normalization using offsets -- essentially treating them like a copy number variation (cf the ABCD-DNA paper of Robinson et al, Genome Research 2012). This is mostly important for cases where you have different control for different conditions.

          Currently our preferred method is to use the control reads to generate blacklists of regions with anomalous coverage, then remove all reads in these regions in all samples. Then do peak calling with the blacklisted read files, including the control tracks. For the differential analysis, we then basically ignore the control reads, as they have already been used to a) remove regions where false positives/negative are likely and b) identify regions of interest. We use the Bioconductor package GreyListChIP to generate the blacklists from control reads prior to filtering.

          Here's a link to a recent post on this from another perspective: https://support.bioconductor.org/p/82099/

          Comment

          • EcoRInya
            Member
            • Apr 2016
            • 11

            #6
            I was actually wondering if there is a difference between running DESeq2 on its own or inside of DiffBind. Based on my experiments using the same data, the results of these two approaches are very different. From reading in the internet, I have got an idea that there is actually the difference: in DESeq2 statistical analysis it assumes that most of the genes don't change and in DiffBind it is assumed that everything outside of peaks don't change but peaks do. I might be completely wrong, please, correct me, if I am.

            Comment

            • EcoRInya
              Member
              • Apr 2016
              • 11

              #7
              Is there a way then to specify sizeFactors manually?

              Comment

              Latest Articles

              Collapse

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 06-09-2026, 11:58 AM
              0 responses
              30 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-05-2026, 10:09 AM
              0 responses
              38 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-04-2026, 08:59 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-02-2026, 12:03 PM
              0 responses
              64 views
              0 reactions
              Last Post SEQadmin2  
              Working...