-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hicConvertFormat : Missing negative values in ginteractions (.tsv) output #584
Comments
The posted values are matching in the matrix and in your ginteractions file. At least the first three, these are exactly the diagonal values (0, 0), (1,1) and (2,2).
We just write out what the content of the matrix is: https://github.com/deeptools/HiCMatrix/blob/master/hicmatrix/lib/ginteractions.py#L25 Maybe the problem is located in R? |
- What is the content of the ginteractions file if you do not open it with R, but sth like less? Those are the first lines from call to "less" :
- What are the values at I 0 25000 I 25000 50000, I 0 25000 I 50000 75000, I 0 25000 I 75000 100000?
To me nothing is wrong here, negative values are simply discarded. Bash
R
|
Hi everyone,
I hope you're all fine.
I noticed that hicConvertFormat won't return negative values that are still present in a given .h5 matrix (norm KR).
This matrix represent differential interaction measures between two given conditions.
I'm using hicexplorer_3.4.3
Here is the output when I import the .h5 matrix :
Negative values are present and it is confirmed when plotting the matrix.
Then I use hicConvertFormat like this :
And this is the output of the .tsv file I obtain (under R in cm object):
What is weird is when asking for negative values, the only one I can obtain is located at the very end of the chromosome I:
I would rather use .h5 file but I have several problems with blosc filter compatibility and I can't load matrices under R currently.
Any workaround would be greatly appreciated !
BR
Alex
The text was updated successfully, but these errors were encountered: