Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stormin
    Member
    • Aug 2014
    • 23

    #1

    DESeq2 error

    Hi all,

    New to DESeq2 and getting error consistently while running this line:

    dds <- DESeq(dds)

    The error message:

    estimating size factors
    estimating dispersions
    same number of samples and coefficients to fit, estimating dispersion by treating samples as replicates
    gene-wise dispersion estimates
    mean-dispersion relationship
    Error in lfproc(x, y, weights = weights, cens = cens, base = base, geth = geth, :
    newsplit: out of vertex space
    Calls: DESeq ... estimateDispersionsFit -> localDispersionFit -> locfit -> lfproc -> .C
    In addition: There were 18 warnings (use warnings() to see them)
    Execution halted


    Any ideas? Thanks!
    Last edited by stormin; 09-06-2014, 11:38 AM.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Try manually specifying the fitType as parametric (dds <- DESeq(dds, fitType="parametric")). I'm actually not sure why it's using local fitting to begin with (last I looked, parametric was the default).

    Comment

    • stormin
      Member
      • Aug 2014
      • 23

      #3
      Hmm, that didn't work unfortunately. Here is my R script with the same error message. I'm new to R, so sorry in advance if there is a very obvious mistake. Thanks!


      #!/usr/bin/Rscript

      library('DESeq2')

      directory <- getwd()
      sink("DESeq_output.txt")
      sampleTable <- read.csv("sampleTable.csv")

      dds <- DESeqDataSetFromHTSeqCount(sampleTable=sampleTable, directory=directory, design = ~ condition)
      colData(dds)$condition <- relevel(colData(dds)$condition, "noCoverage")
      dds <- DESeq(dds, fitType="parametric")
      results <- results(dds)
      results <- results[order(results$padj), ]
      write.csv(results,file="DESeq_results.csv")
      sink()

      detach("packageESeq2")

      quit()
      Same error message plus addition 18 warnings:
      1: In estimateDispersionsFit(object, fitType = fitType, quiet = quiet) :
      the parametric fit of dispersion estimates over the mean of counts
      failed, which occurs when the trend is not well captured by the
      function y = a/x + b. A local regression fit is automatically performed,
      and the analysis can continue. You can specify fitType='local' or 'mean'
      to avoid this message if re-running the same data.
      When using local regression fit, the user should examine plotDispEsts(dds)
      to make sure the fitted line is not sharply curving up or down based on
      the position of individual points.
      2: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      3: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      4: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      5: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      6: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      7: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      8: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      9: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      10: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      11: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      12: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      13: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      14: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      15: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      16: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      17: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      18: In lfproc(x, y, weights = weights, cens = cens, base = base, ... :
      procv: no points with non-zero weight
      Content of the sampleTable.csv
      sampleName,fileName,condition
      2hnoCoverage,counts_Coverage.txt,Coverage
      2hCoverage,counts_noCoverage.txt,noCoverage
      Last edited by stormin; 09-07-2014, 09:45 AM.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        That's actually a different error. So it seems that a parametric fit doesn't work well for this dataset. One possibility would be to use local fitting and increase the number of vertexes. I don't think there's a way to do that with DESeq2 (there was with DESeq), though you could modify the code a bit.

        Your best bet would be to post this to the bioconductor email list and CC Michael Love, the DESeq2 maintainer. Please include the output of sessionInfo() in your email. It may turn that you'll need to send one of the DESeq2 authors your dataset so they can have a look.

        As an aside, I probably wouldn't put too much effort into an experiment where you're just comparing two samples against each other (as appears to be the case from your sampleTable).

        Comment

        • Michael Love
          Senior Member
          • Jul 2013
          • 333

          #5
          Can you include the sessionInfo()?

          As the local fit isn't working, you can just use:

          DESeq(dds, fitType="mean")

          How many rows/genes do you have?

          Comment

          • stormin
            Member
            • Aug 2014
            • 23

            #6
            Hi Devon, so what I am trying to do is to use DESeq2 to compare two data manipulation methods. The same RNAseq fastq dataset was used in tophat. Condition1 used coverage search (which takes a lot longer to run) while Condition2 used no coverage search. I suspect the additional coverage based junction search will not significantly impact reads and thus DE results. Although I still want to check.

            Perhaps the reason why DESeq is having so much trouble with this comparison is because the counts are mostly identical between the two conditions?

            To Michael, the mean fit worked and I will delve more into the manual to see why. However, the log2foldchange column doesn't make sense. The value is way too small for almost all of the genes with some being 0!

            Zach
            Last edited by stormin; 09-07-2014, 10:00 AM.

            Comment

            • Michael Love
              Senior Member
              • Jul 2013
              • 333

              #7
              hi Zach,

              Check out the DESeq2 vignette. We explain the new methods there (e.g. Fig 1). For even more details, check out the DESeq2 manuscript, which is linked on the front page of the vignette. Unreliable log fold changes (not supported by information) are shrunk towards 0.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 11:13 AM
              0 responses
              19 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              18 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              36 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...