Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Trouble with EdgeR DE (in Trinity)

    Hello everyone, I am very new to RNA-seq and trinity and command line, please bear with me!

    I have successfully assembled my runs and am now trying to perform a differential expression between two samples using the edgeR method (described in the trinity manual). However, I keep erroring, and could use some insight on how to fix it.

    Code:
    [sjeschon@login001 ~]$ /gpfs/runtime/opt/trinity/2013-08-14/Analysis/DifferentialExpression/run_DE_analysis.pl --matrix /gpfs/data/kmowry/sjescho                n/RNASeqResults/2transcripts.counts.matrix --method edgeR --output /gpfs/data/kmowry/sjeschon/RNASeqResults/edger0
    Got 2 samples, and got: 3 data fields.
    Header: assembly_trinity_15443687.isoforms.results      assembly_trinity_17707296.isoforms.results
    Next: agalma/gene:21261.0/isoform:4     489.05  NA
    
    $VAR1 = {
              'assembly_trinity_17707296' => 2,
              'assembly_trinity_15443687' => 1
            };
    $VAR1 = {
              'assembly_trinity_17707296' => [
                                               'assembly_trinity_17707296'
                                             ],
              'assembly_trinity_15443687' => [
                                               'assembly_trinity_15443687'
                                             ]
            };
    Samples to compare: $VAR1 = [
              'assembly_trinity_17707296',
              'assembly_trinity_15443687'
            ];
    
    CMD: R --vanilla -q < 2transcripts.counts.matrix.assembly_trinity_15443687_vs_assembly_trinity_17707296.assembly_trinity_15443687.vs.assembly_tri                nity_17707296.EdgeR.Rscript
    > library(edgeR)
    Loading required package: limma
    >
    > data = read.table("/gpfs/data/kmowry/sjeschon/RNASeqResults/2transcripts.counts.matrix", header=T, row.names=1, com='')
    > col_ordering = c(1,2)
    > rnaseqMatrix = data[,col_ordering]
    > rnaseqMatrix = round(rnaseqMatrix)
    > rnaseqMatrix = rnaseqMatrix[rowSums(rnaseqMatrix)>=10,]
    > conditions = factor(c(rep("assembly_trinity_15443687", 1), rep("assembly_trinity_17707296", 1)))
    >
    > exp_study = DGEList(counts=rnaseqMatrix, group=conditions)
    > exp_study = calcNormFactors(exp_study)
    Error in if (any(allzero)) x <- x[!allzero, , drop = FALSE] :
      missing value where TRUE/FALSE needed
    Calls: calcNormFactors
    Execution halted
    Error, cmd: R --vanilla -q < 2transcripts.counts.matrix.assembly_trinity_15443687_vs_assembly_trinity_17707296.assembly_trinity_15443687.vs.assem                bly_trinity_17707296.EdgeR.Rscript died with ret (256)  at /gpfs/runtime/opt/trinity/2013-08-14/Analysis/DifferentialExpression/run_DE_analysis.p                l line 439.
    
    
    
    
    WARNING: This EdgeR comparison failed...
    Any help would be greatly appreciated!

  • #2
    Not sure if the error is due to the NA in the table?

    Error in if (any(allzero)) x <- x[!allzero, , drop = FALSE] :
    missing value where TRUE/FALSE needed

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Recent Advances in Sequencing Analysis Tools
      by seqadmin


      The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
      05-06-2024, 07:48 AM
    • 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

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 05-14-2024, 07:03 AM
    0 responses
    20 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-10-2024, 06:35 AM
    0 responses
    44 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-09-2024, 02:46 PM
    0 responses
    54 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-07-2024, 06:57 AM
    0 responses
    42 views
    0 likes
    Last Post seqadmin  
    Working...
    X