Closed WRui closed 2 years ago
It depends what you want to do with the beta file.
If you want to see a visualization then you can try something like:
wgbstools vis *.beta -r chr3:119528843-119529245 --heatmap
if you want to open it in python, then something like:
np.fromfile(beta_file, dtype=np.uint8).reshape((-1, 2))
you can also use the view command to see it in bed format
See here for an explanation on the beta format: https://github.com/nloyfer/wgbs_tools/blob/master/docs/beta_format.md
Hi, could you show me how to read the beta file? In addition, what each column means for pat files?