Question: bigwig to wig conversion
1
gravatar for jmack159
4.6 years ago by
jmack15920
United States
jmack15920 wrote:

I am trying to convert a bigwig file to a wig file to run through sitepro. I tried using the ucsc tool bigWigToWig and I get a file that looks like this:

#bedGraph section chr1:0-3079820
chr1    0    3001030    0
chr1    3001030    3001060    2.41
chr1    3001060    3001230    4.83
chr1    3001230    3001270    2.41
chr1    3001270    3002330    0
chr1    3002330    3002380    4.83
chr1    3002380    3002540    9.65
chr1    3002540    3002590    4.83
chr1    3002590    3003210    0

However, sitepro is choking on this wig file. I normally use wig files generated by MACS, which have a much different formatting:

track type=wiggle_0 name="macs_output_treat_all" description="Extended tag pileup from MACS version 1.4.2 20120305 for every 10 bp"
variableStep chrom=chr1 span=10
3001071    1
3001081    2
3001091    2
3001101    2
3001111    2
3001121    2
3001131    2
3001141    2

Why is the ucsc bigWigToWig tool giving me a bedgraph file rather than a wig file??

 

 

 
chip-seq software error • 2.8k views
ADD COMMENTlink modified 4.6 years ago by Dan D6.7k • written 4.6 years ago by jmack15920
3
gravatar for Dan D
4.6 years ago by
Dan D6.7k
Tennessee
Dan D6.7k wrote:

This guy experienced the same problem, and has an answer (and a script to go from bedGraph to wig) on his site:

http://sebastienvigneau.wordpress.com/2014/01/10/bigwig-to-bedgraph-to-wig/

ADD COMMENTlink modified 4.6 years ago • written 4.6 years ago by Dan D6.7k

Thanks! That script worked beautifully!

ADD REPLYlink written 4.6 years ago by jmack15920
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1904 users visited in the last hour