HiC-Pro icon indicating copy to clipboard operation
HiC-Pro copied to clipboard

sparseToDense.py error

Open aaannaw opened this issue 2 years ago • 2 comments

Hi When I use sparseToDense.py to convert HiC-Pro output into dense format: python 00.sparseToDense.py -b Ma_40000_abs.bed Ma_40000_iced.matrix --perchr. The first row and column of the output result of Chr1 (Ma_40000_iced_Chr1_dense.matrix) are both zero. Is it normal?The pictures of My bed file (Ma_40000_abs.bed) , matrix file (Ma_40000_iced.matrix) and the output file of sparseToDense.py( 00.Ma_40000_iced_Chr1_dense.matrix) are as follows. image image image Could you give me any suggestion? Looking forward with your reply!

aaannaw avatar Nov 04 '22 15:11 aaannaw

Hi When I use sparseToDense.py to convert HiC-Pro output into dense format: python 00.sparseToDense.py -b Ma_40000_abs.bed Ma_40000_iced.matrix --perchr. The first row and column of the output result of Chr1 (Ma_40000_iced_Chr1_dense.matrix) are both zero. Is it normal?The pictures of My bed file (Ma_40000_abs.bed) , matrix file (Ma_40000_iced.matrix) and the output file of sparseToDense.py( 00.Ma_40000_iced_Chr1_dense.matrix) are as follows. image image image Could you give me any suggestion? Looking forward with your reply!

I got the same result as yours, is your problem solved

songxh1996 avatar Mar 10 '23 05:03 songxh1996

Hi, @songxh1996 @aaannaw

It does happen that the output densematrix is always shifted down and to the right by one resolution, with or without the --perchr parameter. Is there a follow up to this issue?

Miracle-Yao avatar Apr 07 '24 05:04 Miracle-Yao