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
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM
          • seqadmin
            Recent Advances in Sequencing Technologies
            by seqadmin



            Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

            Long-Read Sequencing
            Long-read sequencing has seen remarkable advancements,...
            12-02-2024, 01:49 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          26 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          42 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-11-2024, 07:45 AM
          0 responses
          42 views
          0 likes
          Last Post seqadmin  
          Working...
          X