Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Rainbird
    Member
    • Dec 2012
    • 16

    Measuring gene expression from RNA-seq data

    Hi there,

    If I understand correctly, there are two ways to measure the gene expression from the RNA-seq data. The simple way is to use the tophat2 pipeline, which generates a file named "genes.fpkm_tracking". We can just extract the FPKM value from the file for each transcripts.

    We can also use htseq-count to get the reads count from a aligned file created by either bwa or bowtie2 or some other aligners, and then convert the reads count into RPKM value with the formula: 10^9*counts/"total counts"/"transcript length".

    However, when comparing the results from the above two methods, I found that the FPKM and RPKM values were pooly correlated. It about 0.5 for spearman correlation coefficient or 0.7 for the pearson correlation coefficient.

    So, which method should we trust? I personally feel that the tophat one might be better since the author of htseq once mentioned that htseq is designed to test differential expression but not to quantify expression.

    Any idea? is there another/better way to measuring gene expression from RNA-seq data?

    Thanks,
  • Wallysb01
    Senior Member
    • Feb 2011
    • 286

    #2
    I don't think bwa or bowtie2 deal with spliced reads, so you should use the same tophat2 alignment file (bam file) for htseq and cufflinks. You might find the correlation is a little closer after that.

    Comment

    • Simon Anders
      Senior Member
      • Feb 2010
      • 995

      #3
      To more things to consider:

      - htseq-count is not a tool to estimate the strength of gene expression in a sample. It is a tool to provide input for methods to test for differential expression. See my post #4 in this thread.

      (Personally I do not see much value in quantifying expression in a sample. What does it help me to know that one gene's expression is stronger than another gene's? Unless the difference is really strong (and then we do not need to discuss subtleties of counting strategies), we cannot infer that the gene with more mRNA will also produce more protein.)

      2. What have you used as "transcript length" when converting counts to RPKM values? One of the core points that the cufflinks authors made in their 2010 paper is that finding the right value for the "transcript length" is actually the harder problem.

      Comment

      • Rainbird
        Member
        • Dec 2012
        • 16

        #4
        @Wallysb01
        I tried "bwa aln"/"bwa mem"/bowtie2/tophat2. The accepted_hits.bam from topaht2 shows slightly higher correlation, but not substantial. It's about 0.55 compared to 0.5 from other aligners.

        @Simon
        1, Yes, there is a need to quantify gene expression. Most people are interested in finding differentially expressed genes in case/control studies. However, we'd also like to know the relative gene expression level in a physiological condition. For example, we can use this information to define housekeeping gene, or to find gene cluster in which genes are tend to be coexpressed. You are right, more mRNA doesn't necessarily mean more protein, but this is what we can do at this time. Quantifying gene expression is cheaper than quantifying protein expression, and people generally make the assumption that there exists a correlation.

        2, I dont' have much idea about how to define "transcript length", so I use the naive way by extracting the max transcript span in a given gtf file. (I use the same file as tophat2/cufflinks inputs)

        here is my code:

        awk '{print $NF"\t"$4"\t"$5}' mouse_refgene.gtf|awk '{n[$1]++;if(n[$1]==1){max[$1]=$3;min[$1]=$2}if(max[$1]<$3){max[$1]=$3};if(min[$1]>$2){min[$1]=$2}}END{for(x in n)print x"\t"max[x]-min[x]+1}'|sed 's/"//g;s/;//g'|sort > transcript_length

        Comment

        • dietmar13
          Senior Member
          • Mar 2010
          • 107

          #5
          @rainbird

          For example, we can use this information to define housekeeping gene, or to find gene cluster in which genes are tend to be coexpressed.
          but these task's are also only relatively obtainable. you do need many biological replicates to define housekeeping genes (low cv) and coexpressed clusters (highly correlated over these samples), assuming that coexpressed genes are correlated in expression over samples but NOT in expression hight (transcription factors and their regulated genes are correlated over samples but not equaly high expressed).

          Comment

          • Simon Anders
            Senior Member
            • Feb 2010
            • 995

            #6
            [QUOTE=Rainbird;107207 However, we'd also like to know the relative gene expression level in a physiological condition.[/QUOTE]

            You wote it yourself: "relative". If a method for expression estimation always undercounts gene A and overcounts gene B, but does so consistently by the same factor in all samples, it won't mess up your analysis. The important thing is to get right the differences between samples, not so much the absolute value in a sample. This is why I think that your method of comparing absolute expression values in a scatter plot is very helpful. Try a scatter plot of log expression ratios (log fold changes) between two samples, comparing the ratios from one method to those from the other method.

            In these ratios, transcript length cancels out. And this is why I don't care about it. (The cufflinks people care about it because they say, rightly, that it may change because a gene may produce short transcripts in one sample and longer ones in another. This is another reason why using transcript lengths from annotation is not very helpful.)

            Comment

            Latest Articles

            Collapse

            • 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...
              Today, 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
            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 10:08 AM
            0 responses
            6 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 11:05 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Working...