Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • narges
    Member
    • Aug 2012
    • 29

    #1

    Get the RPKM value of the genes analyzed using DESeq or edgeR

    Hi,

    I have done analyzation over RNA seq data using edgeR and DESeq to find DE genes (BAM files -> HTSeq -> edgeR and DEseq).
    For some comparisons I need to have the RPKM values related to each gene. What is the best way of getting it?

    Thank you in advance.
  • Gordon Smyth
    Member
    • Apr 2011
    • 91

    #2
    The version of edgeR on the Bioconductor developmental repository has a function rpkm().

    Comment

    • ThePresident
      Member
      • Jun 2012
      • 72

      #3
      Originally posted by Gordon Smyth View Post
      The version of edgeR on the Bioconductor developmental repository has a function rpkm().
      Is it v3.08?

      Comment

      • Gordon Smyth
        Member
        • Apr 2011
        • 91

        #4
        Originally posted by ThePresident View Post
        Is it v3.08?
        No, the *development* repository:

        Differential expression analysis of RNA-seq and digital gene expression profiles with biological replication. Uses empirical Bayes estimation and exact tests based on the negative binomial distribution. Also useful for differential signal analysis with other types of genome-scale count data.

        Comment

        • narges
          Member
          • Aug 2012
          • 29

          #5
          Originally posted by Gordon Smyth View Post
          The version of edgeR on the Bioconductor developmental repository has a function rpkm().
          Thank you but can I ask how does this function calculate the gene length? Because my problem is that I do not know how to get the gene length to calculate the RPKM values. The gtf file I have used is the hg19 latest version from UCSC genome browser. I can do something like this: endposition - startpositoin+1. But there are different transcripts for each gene. which of these transcripts should be the as the source for the gene length? the average? the longest?

          Comment

          • sindrle
            Senior Member
            • Aug 2013
            • 266

            #6
            Im wondering the exact same thing..

            Comment

            • Gordon Smyth
              Member
              • Apr 2011
              • 91

              #7
              An appropriate measure of gene length must be input to rpkm(). Computing gene length is a job for the read count software rather than for the differential expression software because the appropriate measure of gene length depends on the way the reads have been counted.

              I use subread and featureCounts:



              to count reads. For most RNA-seq analyses, I count reads that overlap any exon for each gene, so the appropriate measure of gene length is the total exon length. Gene length is returned as part of the output from featureCounts.

              Comment

              • sindrle
                Senior Member
                • Aug 2013
                • 266

                #8
                Thanks!

                Is there a difference in choosing CPM/logCPM/FPKM to represent gene expression level if I want to correlate the expression of one gene against i.e. body weight?

                Or the change in gene expression of one gene against change in body weight etc.

                Comment

                • sindrle
                  Senior Member
                  • Aug 2013
                  • 266

                  #9
                  Originally posted by Gordon Smyth View Post
                  An appropriate measure of gene length must be input to rpkm(). Computing gene length is a job for the read count software rather than for the differential expression software because the appropriate measure of gene length depends on the way the reads have been counted.

                  I use subread and featureCounts:



                  to count reads. For most RNA-seq analyses, I count reads that overlap any exon for each gene, so the appropriate measure of gene length is the total exon length. Gene length is returned as part of the output from featureCounts.
                  I have used HTSeq for counting, I guess I can run featureCounts on one sample, just to get the gene lengths from my UCSC GTF file.

                  Then import the lengths to edgeR/DEseq fpkm()

                  Or am I missing some points here?

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                    by SEQadmin2



                    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                    ...
                    10-14-2026, 09:55 AM
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  16 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  21 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-13-2026, 09:56 AM
                  0 responses
                  21 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-09-2026, 11:14 AM
                  0 responses
                  27 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...