-
Notifications
You must be signed in to change notification settings - Fork 7
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
log transform in view command causes division by 0 #67
Comments
Hi again, |
Hi, |
OK, thanks for the explanation. I will But I still have a question about this :
I noticed that the normalization procedure actually creates white lines since all the bins not included in the normalization procedure (outside the 3 MAD) become empty. In the example below, the diagonal of the centromere disappeared, and 2 blank lines appeared before and after (as a novice, I find it a strange behavior !). So if I directly normalize, I can't differentiate between low coverage bins and mapping issue, right ? note : maybe the SRA I used for these tests is of poor quality ? with too many uncut events ? |
Hi,
Low coverage bins are usually the ones with mapping issues. So if I understand your question, you want to differentiate the one with low coverage from the ones with no coverage at all. In order to keep the one with low coverage you can increase the MAD to 10 for example and they will be included to the normalization.
I have seen better contact map but that's not so bad, what's the binning size ?
Did you used the |
Hi again,
In the view command, the option -- transform with values ln, log2 or log10 causes this error :
WARNING :: /usr/local/lib/python3.7/dist-packages/hicstuff/commands.py:467: RuntimeWarning: divide by zero encountered in log
I imagine this is due to the pairs whithout any contact, which are treated as zeros.
By the way for these pairs with no contact :
Maybe an option "--color-blank-pixels" could be interesting ?
The text was updated successfully, but these errors were encountered: