Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • aoifemc
    Junior Member
    • Aug 2012
    • 4

    DESeq filtering

    I have a question about filtering prior to DE analysis using DESeq -is common practice to just use all raw count values for conditions (i.e. disease/control) or would it be better to ensure that every gene being tested for differential expression has at least say 5 or 10 reads in each of the replicates within the condition groups. I understand that DESeq can account for low read counts & I've found in my data that I get a larger number of genes that are significant when I filter as I guess there aren't as many tests being conducted however I'm unsure which i should go with.
    I know this kind of question will depend on the data itself and there may be no right or wrong answers but I know very few people doing this kind of analysis with whom I can discuss ...and in my data I've found that not all of the genes that are significant with the unfiltered data are still significant when I filter(despite the inc in the number of genes reaching significance) so Im just wondering what people consider best practice ??
    thanks for any advice
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Have a look at this paper.

    Comment

    • aoifemc
      Junior Member
      • Aug 2012
      • 4

      #3
      Great-Thanks!!

      Comment

      • Simon Anders
        Senior Member
        • Feb 2010
        • 995

        #4
        Note also that we have recently expanded the DESeq vignette with a section discussing such filtering.

        Comment

        • pinki999
          Member
          • Oct 2010
          • 37

          #5
          Can we carry out VST (variance stabilizing transformation) after the filtering step?

          Comment

          • rfilbert
            Member
            • Dec 2012
            • 43

            #6
            pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?

            Comment

            • dpryan
              Devon Ryan
              • Jul 2011
              • 3478

              #7
              Originally posted by rfilbert View Post
              pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?
              There's no benefit to performing tests on genes that have no chance at showing a difference due to counts being too low. Had you bothered to read the paper I referenced, you would have known that.

              Comment

              • chadn737
                Senior Member
                • Jan 2009
                • 392

                #8
                Originally posted by rfilbert View Post
                pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?

                1) Specifically why is prefiltering "a bad idea"?

                2) It has nothing to do with not being able to handle "large data". Detection power is reduced due to the number of genes tested, and is true for ALL software. Prefiltering is a way of addressing the issue by removing those genes that are unlikely to be differentially expressed and so reduce the overall number of tests performed.
                Last edited by chadn737; 01-16-2013, 06:15 PM.

                Comment

                • pinki999
                  Member
                  • Oct 2010
                  • 37

                  #9
                  But, is it a good idea to filter before variance stabilizing?

                  Comment

                  • rfilbert
                    Member
                    • Dec 2012
                    • 43

                    #10
                    why pre-filter at all? It is only an opportunity for false negatives. I think the only reason for filtering is software that can't handle the whole genome.

                    Comment

                    • rfilbert
                      Member
                      • Dec 2012
                      • 43

                      #11
                      Originally posted by dpryan View Post
                      There's no benefit to performing tests on genes that have no chance at showing a difference due to counts being too low. Had you bothered to read the paper I referenced, you would have known that.
                      Clearly you have little background or access to a real statistician. Hello World! You must filter out low abundance transcripts - they are clearly not important!

                      Comment

                      • chadn737
                        Senior Member
                        • Jan 2009
                        • 392

                        #12
                        Originally posted by rfilbert View Post
                        why pre-filter at all? It is only an opportunity for false negatives. I think the only reason for filtering is software that can't handle the whole genome.
                        Clearly you have little background or access to a real statistician. Hello World! You must filter out low abundance transcripts - they are clearly not important!
                        Clearly you don't either, other than the salesman at Partek.

                        Prefiltering reduces False Negatives. When one prefilters, you are usually removing genes with zero or very few counts. At very low count numbers the shot noise can dominate and all but the most significant changes will not be considered differentially expressed. As typically there will be hundreds, if not thousands of genes with zero to only a few reads, this has a huge affect on multiple testing correction and can lead to a large number of False Negatives. Removing these genes relaxes the multiple testing correction so that more of these genes pass the test.

                        Prefiltering can increase False Positives, but you said False Negatives, not False Positives. However, this can largely be mitigated if you filter using methods like those described in the PNAS paper linked to previously.

                        Every program for differential expression has no problem handling entire genomes. I have used DESeq and EdgeR on genomes twice the size of the human genome with ease. Try using them before you blindly criticize.

                        Comment

                        • chadn737
                          Senior Member
                          • Jan 2009
                          • 392

                          #13
                          Originally posted by pinki999 View Post
                          But, is it a good idea to filter before variance stabilizing?
                          I'm not sure. What are you wanting to do with the variance stabilized data? As Filtering is usually done to increase detection of differential expression, there may not be any advantage in doing it for other purposes.

                          Comment

                          • rfilbert
                            Member
                            • Dec 2012
                            • 43

                            #14
                            Originally posted by chadn737 View Post
                            Clearly you don't either, other than the salesman at Partek.

                            Prefiltering reduces False Negatives. When one prefilters, you are usually removing genes with zero or very few counts. At very low count numbers the shot noise can dominate and all but the most significant changes will not be considered differentially expressed. As typically there will be hundreds, if not thousands of genes with zero to only a few reads, this has a huge affect on multiple testing correction and can lead to a large number of False Negatives. Removing these genes relaxes the multiple testing correction so that more of these genes pass the test.

                            Prefiltering can increase False Positives, but you said False Negatives, not False Positives. However, this can largely be mitigated if you filter using methods like those described in the PNAS paper linked to previously.

                            Every program for differential expression has no problem handling entire genomes. I have used DESeq and EdgeR on genomes twice the size of the human genome with ease. Try using them before you blindly criticize.
                            Um, if you filter out a gene that is truly differentially expressed, that is a false negative. Are you a statistician? Seems you are not.

                            Comment

                            • chadn737
                              Senior Member
                              • Jan 2009
                              • 392

                              #15
                              Originally posted by rfilbert View Post
                              Um, if you filter out a gene that is truly differentially expressed, that is a false negative. Are you a statistician? Seems you are not.
                              I see you aren't getting it.

                              Genes with very few reads, of which there can be hundreds or thousands, are unlikely to be called as differentially expressed, unless the differences are very large.

                              On the other hand, because of multiple testing correction, many genes of higher expression will not pass the threshold of being considered differentially expressed.

                              Filtering will result in a handful of genes with low expression that are differentially expressed being discarded, but will allow for many more genes of higher expression to pass the threshold of being differentially expressed.

                              So overall MORE genes are called differentially expressed and the overall number of false negatives is decreased.

                              You should take a day or two to actually read some papers on the matter. Like the linked PNAS paper, the DESeq, EdgeR, etc papers and vignettes. These all explain exactly what they do so that nothing is hidden, unlike the black boxes that you are putting your data into.
                              Last edited by chadn737; 01-16-2013, 06:15 PM.

                              Comment

                              Latest Articles

                              Collapse

                              • GATTACAT
                                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by GATTACAT
                                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                                07-01-2026, 11:43 AM
                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              9 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-30-2026, 05:37 AM
                              0 responses
                              13 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-26-2026, 11:10 AM
                              0 responses
                              20 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              54 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...