Hi everyone, I'm recently work on a project using genome traits. I need to convert .wib format files to .bed files. But I can't find any software doing this, even on UCSC. And I searched the website, found that years ago someone also asked this question but no one answered.
I hope someone can help us solve this problem.
From UCSC, use wigToBigWig then bigWigToBedGraph. There is also the wig2bed fonction in BEDOPS that does this in a single step. Other options are discussed in this post: Wiggle File 2 Bed File
I've tried your suggestions, but it seems that .wib file is the binary version of .wig file, and the softwares (BEDOPS and wigToBigWig) produced errors like "Unrecognized line" or "Error: Invalid WIG line 1".
I wonder if I did anything wrong?
My apologize, I read "wig" instead of "wib". I actually never heard of .wib. Hope someone else can answer you.
Fine, thank you anyway.
When converting .wig files to .bed files, your suggestion works. But when it comes to .wib files, the softwares start to produce errors.