Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Hi Julien Roux,

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



    Best wishes,
    Alejandro

    Comment


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


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

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 11:49 AM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 08:47 AM
        0 responses
        16 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        61 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        60 views
        0 likes
        Last Post seqadmin  
        Working...
        X