Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bigWig_an error in UCSC genome browser

    Hi all,

    I made a bigWig file from a published ChIP-Seq data using Homer software. And, I uploaded the "trackfileoutput.txt" to UCSC genome browser (on "Paste URLs or data" in Add Custom Tracks). But, I got an error message such as "Error https://dl.dropboxusercontent.com/u/...ucsc.bigWig.bw is not a big wig file").

    The "trackfileoutput.txt" contains the header information that is uploaded as a custom track to UCSC at below;

    track type=bigWig name="tag_forebrain Total Tags = 5.96e+06, normalized to 1.00e+07" description="tag_forebrain Total Tags = 5.96e+06, normalized to 1.00e+07" bigDataUrl=https://dl.dropboxusercontent.com/u/167314749/tag_forebrain.ucsc.bigWig.bw color=15,94,94 visibility=full yLineOnOff=on autoScale=on yLineMark="0.0" alwaysZero=on graphType=bar maxHeightPixels=128:75:11 windowingFunction=maximum smoothingWindow=off

    And as an example, the format of the "tag_forebrain.ucsc.bigWig.bw" is at blow;

    chr1 3000020 3000136 1.45
    chr1 3000197 3000313 2.89
    chr1 3000940 3001056 1.45
    chr1 3001085 3001201 2.89
    chr1 3001741 3001857 1.45
    chr1 3005707 3005823 1.45
    chr1 3008543 3008659 1.45
    chr1 3010571 3010687 1.45
    chr1 3013107 3013190 1.45
    chr1 3013190 3013223 2.89
    chr1 3013223 3013233 1.45

    Does anyone know about this type of issue? Please share your information to resolve my problem. Thank you.

    taehee

  • #2
    That is indeed not a bigWig file.
    It's a bedGraph file.

    A bedGraph file is a text file.
    A bigWig file is the binary version of a bedGraph file.

    UCSC has a command line utility to convert bedGraph files to bigWig files, called bedGraphToBigWig.

    You can also view the bedGraph file in the UCSC Genome Browser, by changing the track type to bedGraph.
    The bigWig files, however, are smaller and indexed, therefore much faster to load and view.

    Comment


    • #3
      Thanks a lot blancha! I've uploaded my file as the bedGraph. But, I have one more question for you.

      To convert bedGraph to bigWig, I've downloaded the bedGraphToBigWig from UCSC. And I run the program;

      Taehyuks-MacBook-Proesktop Taehyuk$ bedGraphToBigWig tag_forebrain.ucsc.bedgraph mm10.chrom.sizes tag_forebrain.ucsc.bigwig

      But, I get an error like at below;

      tag_forebrain.ucsc.bedgraph is not case-sensitive sorted at line 2003164. Please use "sort -k1,1 -k2,2n" with LC_COLLATE=C, or bedSort and try again.

      Could you please give me a hint how I can resolve this issue?

      Many thanks!

      taehee

      Comment


      • #4
        The error message could be correct.
        Just check lines 2003163 to 2003165, to determine the problem.

        Code:
        sed -n '2003163, 2003165'p file.bedgraph
        If you see that the only problem is that the chromosomes are not in case-sensitive lexicographical order, just sort them.

        Code:
        LC_COLLATE=C sort -k1,1 -k2,2n file.bedgraph > file_sorted.bedgraph

        Comment


        • #5
          Thank you very much for your helps! Now, everything is fine.
          Last edited by taehee; 11-03-2015, 08:39 AM. Reason: wrong spelling

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 05-02-2024, 08:06 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-30-2024, 12:17 PM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-29-2024, 10:49 AM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-25-2024, 11:49 AM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Working...
          X