This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How To Extract Scores From Wigfix Files

Hi,

I've downloaded "Conservation scores for alignments of 45 vertebrate genomes with Human" and "Conservation scores for alignments of primates genomes with Human" from UCSC in WigFix format.

I wanna extract scores for each position within a certain region and get an output in bedgraph format.

And score should be 0 when the position is not recorded in Wig file.

The output could be like:

Chrom Start End Score

I know bigWigToBedGraph can extract score from bigWig file. Is there any similar tool to extract wigFix file?

Or is there an alternative way to do it?

Thanks for help.

1 answer

Use the wigToBigWig utility found here: http://hgdownload.cse.ucsc.edu/admin/exe/

Then you can use bigWigToBedGraph

Log in to answer this question.