This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Wiggle File 2 Bed File

Hi I have a wig file(variable step) I want to convert this wig file to a bed file. Can anyone tell me how to do that.

Thanks in advance

Regards Varun

wiggle format conversion bed

3 answers

googling for wig2bed returns a python script : http://code.google.com/p/chip-seq/source/browse/formatconvert/wig2bed.py ( http://code.google.com/p/bedops/wiki/wig2bed )

The wig2bed application that is part of the BEDOPS suite will convert both variable- and fixed-step WIG inputs to UCSC BED output.

Here is a perl script to convert wig to a bedgraph format: http://genomewiki.ucsc.edu/images/9/9d/FixStepToBedGraph_pl.txt

Log in to answer this question.