Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mebbert
    Junior Member
    • Jul 2012
    • 7

    CummeRbund: Error in dat$fpkm + pseudocount : non-numeric argument to binary operator

    Hi,

    I have a dataset with 4 conditions and 2 biological replicates each. I'm following the (Nature Protocols paper), however, when I try to create the density or box plots I get the following error:

    Error in dat$fpkm + pseudocount : non-numeric argument to binary operator
    Here is my basic code:
    Code:
    cuff<-readCufflinks()
    dens<-csDensity(genes(cuff))
    b<-csBoxplot(genes(cuff))
    I think something is seriously wrong with either the data coming from our core lab, my implementation of the TopHat pipeline, or the TopHat pipeline itself. Using CuffDiff on this data I'm getting 623 FAILED tests, 145024 NOTESTs, and 8829 OK. I also have another data set with similar issues mentioned in another thread where I also tested different parameters in CuffDiff to see if the data is the problem.

    Here is my code to generate the data mentioned in this thread. It's generalized to remove sample names, etc. so this wouldn't run as is. But you can see what I did:
    Code:
    datapath='/path/to/data/'
    genomepath='/path/to/genome/'
    gtfpath='/path/to/gtf/'
    
    # This is done for each of the 8 samples in separate PBS scripts
    tophat2 -p 12 -o ${datapath}results -G ${gtfpath}genes.gtf --transcriptome-index ${gtfpath}known ${genomepath}genome ${datapath}data.txt.gz
    cufflinks -p 12 -o ${datapath}sample-clout ${datapath}results/accepted_hits.bam
    
    # I create assemblies.txt before this step
    cuffmerge -g ${gtfpath}genes.gtf -s ${genomepath}genome.fa -p 12 ${datapath}assemblies.txt -o ${datapath}
    
    cuffdiff -o ${datapath}diff_out -b ${genomepath}genome.fa -p 12 -L Group1,Group2,Group3,Group4 -u ${datapath}merged_asm/merged.gtf \
    ${datapath}results1/accepted_hits.bam,${datapath}results2/accepted_hits.bam \
    ${datapath}results3/accepted_hits.bam,${datapath}results4/accepted_hits.bam \
    ${datapath}results5/accepted_hits.bam,${datapath}results6/accepted_hits.bam \
    ${datapath}results7/accepted_hits.bam,${datapath}results8/accepted_hits.bam
    I appreciate any help! I'm wondering if I need to abandon TopHat, etc., though I would rather not since this whole pipeline is more integrated than anything else I've seen for RNASeq!

    Useful information:
    • I'm using R 2.15.1, tophat2 2.0.3, cufflinks 2.0.2, and cummeRbund 1.99.2
  • lgoff
    Member
    • Feb 2008
    • 82

    #2
    Hi mebbert,
    If you can send me the cuffData.db file created by cummeRbund, I will try to take a look and see what is happening.

    Cheers,
    Loyal
    (lgoff[at]csail.mit.edu)

    Comment

    • mebbert
      Junior Member
      • Jul 2012
      • 7

      #3
      Loyal,

      I sent you an email a few days ago letting you know that the file is too large to email, but haven't heard back. Not sure if you received it. Is there another way to send you the file?

      Thanks,

      Mark
      P.S. In the meantime, I have proceeded using another set of tools. I'm using Novoalign and the RNASeq application within the USeq package, which have worked beautifully so far. However, I'm happy to provide information to help improve CuffLinks, etc.

      Comment

      • apadr007
        Member
        • Oct 2011
        • 21

        #4
        I'm having the same problem.

        Any ideas, Loyal?

        Comment

        Latest Articles

        Collapse

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        33 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-04-2026, 08:59 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 12:03 PM
        0 responses
        62 views
        0 reactions
        Last Post SEQadmin2  
        Working...