nloyfer / wgbs_tools

tools for working with Bisulfite Sequencing data while preserving reads intrinsic dependencies
Other
132 stars 35 forks source link

convert .fractional.bw data to pat or beta #30

Open avilella opened 1 year ago

avilella commented 1 year ago

Hi, I found a large dataset listed on the EpiRR project which contains '.fractional.bw' bigwig files. I'd like to display these samples side-by-side with other samples for which I've already created pat/beta files from the original bam files, but I am not sure how to proceed.

Is there a recommended way to convert '.fractional.bw' data to pat/beta format?

chr8    127738612       127738613       4.34783
chr8    127738613       127738614       3.0303
chr8    127738617       127738618       0
chr8    127738618       127738619       2.77778
chr8    127738621       127738622       0
chr8    127738622       127738623       0
chr8    127738624       127738625       11.1111
chr8    127738625       127738626       0
chr8    127738669       127738670       0
chr8    127738670       127738671       0
chr8    127738677       127738678       0
chr8    127738678       127738679       4.65116
chr8    127738681       127738682       0
chr8    127738682       127738683       0
chr8    127738684       127738685       0
chr8    127738685       127738686       2.17391
chr8    127738693       127738694       0
chr8    127738694       127738695       2.27273

Thanks