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

genetic variants on CpG sites #55

Open
qsonehara opened this issue Jul 31, 2023 · 3 comments
Open

genetic variants on CpG sites #55

qsonehara opened this issue Jul 31, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@qsonehara
Copy link

Hi,

I'm wondering how the genetic variants on CpG sites are treated by aligned_bam_to_cpg_scores.
For example, when a diploid genome has a heterozygous SNP on a CpG site, how will the coverage and modified/unmodified site counts in output files be affected?

Best,
Kyuto

@ctsa
Copy link
Member

ctsa commented Jul 31, 2023

First note that if the heterozygous SNP creates a CpG that isn't present in the reference, then you'll only see output for that site when --modsites-mode is set to the denovo option.

When output is generated for a heterozygous SNP site, I believe the current logic will give the non-CpG reads a methylation probability of zero, and count them towards the unmodified coverage.

@qsonehara
Copy link
Author

Thanks for your reply!

To my understanding, if one has a heterozygous SNP on a fully methylated CpG site, the modification probability will be evaluated as ~0.5.
Such a site needs attention in interpretation, especially when the interest is in the effects of epigenetic regulation.
I think it could be helpful if the counts of non-CpG reads were shown for each site in the output.

@ctsa ctsa added the enhancement New feature or request label Aug 3, 2023
@ctsa
Copy link
Member

ctsa commented Aug 3, 2023

Thanks @qsonehara , I think this is a good suggestion for us to have as an option, we can leave this as an feature ticket and see if it can be added in a future update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants