Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aprice67
    Member
    • Nov 2012
    • 49

    #1

    Normalizing values for computing log ratios

    I am currently working on a project with RNA-Seq data. I need to compute a ratio of the number of reads at each position for two different protocols so I have log(protocol1value/protocol2value). The problem is that its quite often I will have something like log(25/0), which is impossible to compute. Is there a way to normalize the values so that I can make this sort of computation accurately?

    I want to add that, based on advice by some colleagues, I have considered and dismissed the possibilities of adding 1 to all counts before computation or replacing all 0's with very small numbers like .000001.

    I'm sure there must be a way, I am just having trouble finding it. Thanks in advance.
  • jparsons
    Member
    • Feb 2012
    • 62

    #2
    There is no accurate computation for log(25/0). If there was one, your computer would be happy giving it to you.

    Your colleagues have provided you with the appropriate workarounds for this problem. They aren't ideal, but they're all you can do. It's just a matter of asking yourself how to represent your 25/0.

    You have no real way of knowing what the "true" ratio of counts for that particular position is, so you need to choose whether you should underestimate the ratio (25/1), probably overestimate the ratio (25/1e-6), or put a big shiny asterisk next to them all and say "I don't know the real answer and am not comfortable guessing"

    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...