-
Notifications
You must be signed in to change notification settings - Fork 9
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
radmeth-adjust replaces significant p-values in scientific notation with '1' and thus hides best DMC #31
Comments
…in scientific notation with '1' and thus hides best DMC smithlabcode#31
@iromeo Could this relate to speed of the code? I looked at your solution and I think it looks fine (at least it would be no worse), but I wonder if it would be more robust to just use |
@iromeo I'll just pull and we can enhance this later if you think it's warranted. |
@andrewdavidsmith I agree that
AFAIU the At the moment the whole adjustment step works pretty fast, compared to regression step or reads alignment. So as a user I don't see much sense in adjustment step optimization. P.S: I could compare performance of several approaches on my WGBS samples. |
@iromeo is there a reason this is still open or did we just forget to close it? I recall the problem was fixed, right? |
I think it is ok to close it. I use methpipe with this fix (from my fork) and everything is ok. As for performance issue - as I mentioned before the adjustment step is much faster compared to very slow regression step, so I don't think that anything is needed to be optimised here. |
They’re still the open PR. I can try to merge it. The code has changed much, but it should be ok.On Jul 12, 2023, at 8:46 AM, Roman Chernyatchik ***@***.***> wrote:
I think it is ok to close it. I use methpipe with this fix (from my fork) and everything is ok.
As for performance issue - as I mentioned before the adjustment step is much faster compared to very slow regression step, so I don't think that anything is needed to be optimised here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
'methpipe' to 'dnmtools' code refactoring introduced a critical bug in
radmeth-adjust
. In 1.2.1 version & current master branch the adjust step replaces significant p-values written in scientific notation with '1.0' and thus hides best DMC and mark them as totally insignificant.Example:
Fragment of DMC table after regression step:
After adjust step:
the bug is in
is_number
function, it isn't aware that number could have '-' and 'e' chars as it is scientific notation:Example DMC table attached.
dmc.txt
I've implemented & tested a fix, will attach it as pull request
The text was updated successfully, but these errors were encountered: