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

        • 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
        25 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        22 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...