Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Julien Roux
    Member
    • Dec 2011
    • 24

    DEXSeq memory requirements

    Dear all,
    I am analyzing a RNA-seq experiment with DEXSeq. There are 73 samples (from 23 different conditions).
    When trying to estimate the dispersions for the whole exonCountSet (all conditions together), I am running out of memory and the job terminates. I increased the maximum allowed memory to 128G for this job, but it seems to be still too little.
    Is this function supposed to use as much memory?
    Does anyone have some experience to share about the analysis of large datasets with DEXSeq?

    Code:
    ## The design and sample annotation is in data frame called "samples"
    > library("DEXSeq")
    > library(parallel)
    > allExons <- read.HTSeqCounts(countfiles = file.path("prepared_counts", rownames(samples), "counts_DEXSeq.txt"),
                              design = samples,
                              flattenedfile = annotationfile)
    > sampleNames(allExons) <- rownames(samples)
    > allExons <- estimateSizeFactors(allExons)
    > allExons <- estimateDispersions(allExons, nCores=8, minCount = 100, file = "DEXSeq_output.out")
    
    > sessionInfo()
    R version 2.15.0 (2012-03-30)
    Platform: x86_64-redhat-linux-gnu (64-bit)
    
    locale:
     [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
     [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
     [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
     [7] LC_PAPER=C                 LC_NAME=C                 
     [9] LC_ADDRESS=C               LC_TELEPHONE=C            
    [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
    
    attached base packages:
    [1] parallel  stats     graphics  grDevices utils     datasets  methods  
    [8] base     
    
    other attached packages:
    [1] DEXSeq_1.4.0       Biobase_2.16.0     BiocGenerics_0.4.0
    
    loaded via a namespace (and not attached):
    [1] biomaRt_2.12.0 hwriter_1.3    plyr_1.7.1     RCurl_1.91-1   statmod_1.4.16
    [6] stringr_0.6    XML_3.9-4
  • areyes
    Senior Member
    • Aug 2010
    • 165

    #2
    Hi Julien Roux,

    I think this post will be helpful also for your case:



    Best wishes,
    Alejandro

    Comment

    • Julien Roux
      Member
      • Dec 2011
      • 24

      #3
      Thanks Alejandro for you help!
      Indeed the "TRT" fucntions worked a lot more quickly and with a reasonable amount of memory.
      When you say:
      > And you can see that you get the same results:
      > plot(fData(pasillaExons)$pvalue, fData(pasillaExonsTRT)$pvalue, log="xy")
      ... I actually find that the p-values are well correlated but not identical (often larger p-values are seen for the TRT implementation). Do you have any idea why this is happening?
      Thnaks
      Julien

      Comment

      • Simon Anders
        Senior Member
        • Feb 2010
        • 995

        #4
        The TRT method is a different way of testing of differential exon usage than DEXSeq's default method, so the p values are only expected to be simlar, not identical.

        Comment

        Latest Articles

        Collapse

        • 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
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Working...