Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fhb
    Member
    • Aug 2010
    • 10

    #1

    suggestions to generate normalized BigWig file

    Hi everyone,

    I would like to create two BigWig files to display RNA-seq density histogram in the genome browser. My main dificulty is to have the histogram normalized taking into account that there is different number of aligned sequences between the two initial bam files. Can anyone suggest a way of doing it? Or a tool?

    as of now I am doing:

    coverageBed > to generage a .bedg file
    bedGraphToBigWig > to generage .bw file

    Can I simply correct number of reads in both files to a fixed number of total reads aligned (10 millinon for example)?

    Thanks very much!
  • biomattia
    Junior Member
    • Sep 2008
    • 2

    #2
    Hi,
    I was thinking about a similar issue. I was thinking about changing each sample according to a scaling factor, rather than reducing each data set to the same number of reads, or using the library size as reference. For example, I think Cufflinks determines the 3rd quartile of the loci FPKM. Details are not entirely clear on that but I would determine the 75th of the FPKM >1 as reported by other users. Then the coverage reported in the bedgraph can be multiplied by this scaling factor.
    Alternatively I was thinking about random subsetting the bam file of the alignments before using coverageBed. The proportion of reads to be randomly pulled out should be determined again based on the scaling factor.
    Eventually, I think the 1st solution (multiplying the coverage by the scaling factor) is both easier and more appropriate if you do not want to display the actual reads in the genome browser but only the coverage.
    Any ideas?

    Comment

    • mbjohnson
      Member
      • Apr 2009
      • 15

      #3
      Hi! Did either of you decide on a good way to do this? I've just been trying to do the same.
      Thanks!
      Matt

      Comment

      • biznatch
        Senior Member
        • Nov 2010
        • 124

        #4
        I've only done this for ChIP-Seq not RNA-seq so not sure if it applies, but I first normalize my .wig files by multiplying the coverage/height at each position by a scaling factor, as described by others above Eg. if there are 20 million reads and I want to scale to 10 million I multiply by 0.5. For ChIP-Seq I've found that most of my data has around 20 million reads so I've been scaling everything to 20 million, just for consistency, and so it doesn't change the actual data too much (although if a sample has way less reads it doesn't work well, eg. I was looking at one set of data that only had less than 5 million reads in their input sample, so scaling to 20 million doesn't look right). After scaling I then generate the bigwig files using wigToBigWig.
        Last edited by biznatch; 11-17-2011, 01:13 PM.

        Comment

        • mbjohnson
          Member
          • Apr 2009
          • 15

          #5
          Thanks, biznatch!

          I've been using bedtools' genomeCoverageBed to convert bam to bedgraph, then ucsc's bedGraphToBigWig. So there's no wiggle file step, but I assume the same principle applies to the data values in the bedgraph file.

          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-22-2026, 11:13 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...