Closed sebastian-gregoricchio closed 1 year ago
I solved the problem by substituting the numerator of the division as follows in all occurrences:
import numpy as np
[...]
inter_left_density = np.float64(inter_left_number_of_contacts_nnz) / inter_left_number_of_contacts
inter_right_density = np.float64(inter_right_number_of_contacts_nzz) / inter_right_number_of_contacts
In that why when division by 0 happens I get NaN
Dear all, I am using HiCExplorer version 3.7.2
I generated two matrices.h5 by
hicSumMatrices --matrices {list_of_matrices_to_sum} --outFileName {output_matrix}
, in order to merge 3 replicates of two different conditions (let's call them A and B).Now I would like to compare the intra-TAD score of condition A vs B at specific TADs called in the control condition A.
Therefore I run the following command:
However I get this error message:
So I was wondering: there is another possibility to calculate the intraTADs density/score? Such as use any of the
hicFindTADs
outputs?Thank you in advance for your help!