Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

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


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


      • #4
        I'm having the same problem.

        Any ideas, Loyal?

        Comment

        Latest Articles

        Collapse

        • 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
        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        30 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        32 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        53 views
        0 likes
        Last Post seqadmin  
        Working...
        X