@sa501428
hi.
I want to get the matrix from the hic file, arrange and orient the contig (including forward and reverse) based on the order defined by myself to get a new matrix , then use the matrix plot the heatmap.
i write a python script based on the hicstraw api. the script as below

i found sometimes the matrix_numpy shape is (1,1), i don't how to get the matrix corrrectly. please tell me how to get it.
waiting your reply.
thanks