Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dlepe
    Junior Member
    • Jul 2014
    • 8

    #1

    sum of FPKMs?

    I'm analyzing the expression levels of certain genes in different tissues with data from a database and I need to count two different genes as one because I know by experimental data that they were erroneously annotated.

    The expression levels in the database are in FPKM and I know I can't simple make the sum of the two genes to count it as one.

    If I had raw counts what I would do is

    gene A = 400, gene B = 300, counting them as a single gene = 700.

    what would be the best thing to do this with FPKMs?

    gene A = 12 FPKM
    gene B = 20 FPKM
    as single gene = x ?
    Last edited by dlepe; 07-23-2014, 11:51 AM.
  • blakeoft
    Member
    • Oct 2013
    • 79

    #2
    FPKM is fragments per kilobase of transcript per million mapped reads.

    So then
    x = total number of fragments / ((total number of bases of transcipt / 1000) * (mapped fragments / 1000000))
    = (fragments mapped to gene A + fragments mapped to gene B) / ((bases of gene A + bases of gene B) / 1000 * (mapped fragments / 1000000))

    This would be if gene A and gene B did not overlap (and by that I mean that no read is mapped to both gene A and gene B). If they do, you'll have to use something like the inclusion-exclusion principle. I don't think you can simply add the two FPKM values, like you mentioned.

    Comment

    • dlepe
      Junior Member
      • Jul 2014
      • 8

      #3
      The thing is I don´t have the total number of mapped fragments from the libraries, I would have to try to see if the raw data is available somewhere and do the mapping myself..

      Since I'm trying to get an estimation of the correlated expression between the gene in question to another gene a friend suggested to simply use the average of gene A and gene B as the expression value I'm trying to find.

      His reasoning is that since FPKMs are normalized by length, and assuming that the number of raw counts in gene A and B similar, the FPKM for only gene A or B should be very similar to the number of FPKMs we'd get if we calculate the FPKMs for they both as a single gene.

      Comment

      • blakeoft
        Member
        • Oct 2013
        • 79

        #4
        I suppose you could do an average. I think a weighted average would be better suited for this. You could weight each FPKM value by the length of the corresponding gene.

        Comment

        • dlepe
          Junior Member
          • Jul 2014
          • 8

          #5
          Yeah I guess, I'll see how that goes, thanks.

          Comment

          • blakeoft
            Member
            • Oct 2013
            • 79

            #6
            I just did the math, and the weighted average is what you want, provided the genes don't overlap like I previously stated. So if gene A has FPKM a, and gene B has FPKM b, you want:

            a * |A| + b * |B|
            |A| + |B|

            where |x| is the length of gene x.

            Edit: If you want, I can type up my reasoning in latex. I just don't know of a nice way to display fractions on seqanswers.

            Comment

            • dlepe
              Junior Member
              • Jul 2014
              • 8

              #7
              awesome, I'll look into it, thanks again.

              Comment

              Latest Articles

              Collapse

              • kinpict.com
                Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by kinpict.com
                The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                Today, 06:37 PM
              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2





                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                10-30-2026, 06:46 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 11-12-2026, 07:59 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-05-2026, 09:25 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-03-2026, 11:54 AM
              2 responses
              56 views
              0 reactions
              Last Post kinpict.com  
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              175 views
              0 reactions
              Last Post SEQadmin2  
              Working...