higlass-manage icon indicating copy to clipboard operation
higlass-manage copied to clipboard

how to visualize pre-normalized data from HiCNorm in higlass

Open biomystery opened this issue 5 years ago • 2 comments

I've created a mcool file that can be ingested into the docker version higlass using higlass-mange ingest.

The mcool file has one hicnorm column (which is pre-calculated using HiCNorm) in addition to count column

$ cooler dump ${mcool}::resolutions/$res -H |awk '($4!=0)' |head

bin1_id bin2_id count   hicnorm
72648   72648   1351    73.4043
72648   72649   588     27.775
72648   72650   265     13.4901

My goal is to visualize this hicnorm values in higlass. But currently, I can only see raw counts in higlass.

Can you help me with this?

thanks!

biomystery avatar Oct 30 '19 07:10 biomystery

Is the file public? Would you mind sharing it so that we can debug?

@nvictus is there a way to get a list of transforms available in a cooler file so that we can add them here? https://github.com/higlass/clodius/blob/268f4adc5e662b3e2779d6b8a07f59a8e0b79325/clodius/tiles/cooler.py#L427

pkerpedjiev avatar Nov 01 '19 04:11 pkerpedjiev

Yes, populating the list of norm columns is trivial.

@biomystery For Hi-CNorm, is the desired transformation multiplicative (count*hicnorm1*hicnorm2) or divisive (count/hicnorm1/hicnorm2) or something else?

nvictus avatar Nov 02 '19 00:11 nvictus