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

NAs of methylpy add-methylation-level result #80

Open
liyangyang12 opened this issue Oct 17, 2022 · 5 comments
Open

NAs of methylpy add-methylation-level result #80

liyangyang12 opened this issue Oct 17, 2022 · 5 comments

Comments

@liyangyang12
Copy link

Dear yupenghe,
When calculating the methylation level of genome regions with "methylpy add-methylation-level", there are a lot of NAs, but there are methylation sites on IGV, why?
methylpy add-methylation-level results
UGH 4RMWGMM4$W@1K80RKGS
IGV
$03%G8}G%GS}QXIU3HQ6%CR
Thanks.

@yupenghe
Copy link
Owner

Hey liyangyang12,
Do you mind to provide more details about this issue? Specifically,

  • what is the full command you used to run methylpy add-methylation-level?
  • do all regions in this contig/chromosome have NA values in all samples?
  • could you share one allc file (and the corresponding idx file) for one sample that has data in this region?

@liyangyang12
Copy link
Author

Hey yupenghe,
I read your previous answer and found that I did not sort the bed file, now the problem is solved.
Thanks a lot for your time and effort!

@liyangyang12
Copy link
Author

liyangyang12 commented Oct 17, 2022

Hey yupenghe,
By the way, what is the difference between 0 and NA in the result of methylpy add-methylation-level?
Can I replace NA with 0?

@yupenghe
Copy link
Owner

Cool. Glad that it is solved. NA means no coverage (and in this case, methylp was able to find the correct CpG data for some regions due to BED file being unsorted). 0 means 0/N fragments that support methylation where N is the number of fragments covering the CpGs in the region and N>0.

@liyangyang12
Copy link
Author

ok. thank you!

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