Seqanswers Leaderboard Ad

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

    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:

              featureCounts is available under GNU General Public License as part of the Subread (http://subread.sourceforge.net) or Rsubread (http://www.bioconductor.org) software packages.


              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:

                  featureCounts is available under GNU General Public License as part of the Subread (http://subread.sourceforge.net) or Rsubread (http://www.bioconductor.org) software packages.


                  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

                  • seqadmin
                    New Genomics Tools and Methods Shared at AGBT 2025
                    by seqadmin


                    This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                    The Headliner
                    The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                    03-03-2025, 01:39 PM
                  • seqadmin
                    Investigating the Gut Microbiome Through Diet and Spatial Biology
                    by seqadmin




                    The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
                    02-24-2025, 06:31 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 03-20-2025, 05:03 AM
                  0 responses
                  21 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-19-2025, 07:27 AM
                  0 responses
                  26 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-18-2025, 12:50 PM
                  0 responses
                  21 views
                  0 reactions
                  Last Post seqadmin  
                  Started by seqadmin, 03-03-2025, 01:15 PM
                  0 responses
                  189 views
                  0 reactions
                  Last Post seqadmin  
                  Working...