GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
227 stars 37 forks source link

Strange behavior of bigwig visualization #88

Open camelest opened 1 year ago

camelest commented 1 year ago

Hi, thank you so much for the wonderful tool.

I have been working on bigwig visualization and depending on the display range, somehow the bigwig signals seem to change a lot. (v0.3.8) When we show the files at the boarder view, the signal becomes much lower.

Do you have any ideas what causes this?

frame = \ BigWig(bw1, alpha=0.6, color="#ff3366") + Title("fwd") + \ BigWig(bw2, alpha=0.6, color="#3300ff") + Title("rev")

frame.plot("chr5:35856000-35858000") frame.plot("chr5:35840000-35858000")

This does not change even if I add num_bins = 1

Thank you so much for your help!

Example2 Example1
wbszhu commented 7 months ago

Hi, can you provide more information (eg: bigwig files) help me to reproduce this problem? And also show me the whole code not just a snippet of them.