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

Mean modification frequency: NaN #4

Open
Rodcarlessi opened this issue Aug 1, 2023 · 3 comments
Open

Mean modification frequency: NaN #4

Rodcarlessi opened this issue Aug 1, 2023 · 3 comments

Comments

@Rodcarlessi
Copy link

Hi guys,

I am trying to use mbtools but am getting zero total_calls and modified_calls for all reads. My data is modbams called with dorado using model [email protected] and --modified-bases 5mCG_5hmCG.

Any idea how to address this problem? Has anybody experienced this issue?

Many thanks!
Rodrigo

@Rodcarlessi
Copy link
Author

Hi again,

Just to report that I figured what seems to have been causing the problem in case anyone encounters the same issue.

Apparently, the 5hmCG calls were the problem. I used modkit adjust as follows to remove 5hmCG calls from the bam prior to passing to mbtools and this solved the issue.

modkit adjust-mods input.bam output.adjust.bam --ignore h

@jts
Copy link
Owner

jts commented Aug 3, 2023

Hi @Rodcarlessi,

Thanks for following up! That's good to know. When I have a bit of time to come back to mbtools I'll try to make sure I handle this case.

Jared

@hrrsjeong
Copy link

I had the same issue. Thanks @Rodcarlessi

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

3 participants