Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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


    • #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


      • #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


        • #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

          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          9 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          51 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          67 views
          0 likes
          Last Post seqadmin  
          Working...
          X