Skip to content
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

the entropy values of all CpG sites were negative #15

Open
vanessayang0927 opened this issue Jan 26, 2022 · 1 comment
Open

the entropy values of all CpG sites were negative #15

vanessayang0927 opened this issue Jan 26, 2022 · 1 comment

Comments

@vanessayang0927
Copy link

vanessayang0927 commented Jan 26, 2022

Hi,
I installed version 5.0.0 successfully and run without error. However, the entropy values of all CpG sites were negative. Was this normal?

@guilhermesena1
Copy link
Contributor

guilhermesena1 commented Jun 3, 2022

this seems like a numerical issue. We'll look into the code but if you can share a small dataset in which the output returns negative values it would be super helpful for debugging.

We likely need to add return max(prob, 0.0) on compute_prob_read_has_state to avoid these numerical problems.

@andrewdavidsmith andrewdavidsmith transferred this issue from smithlabcode/methpipe Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants