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

Different coverages for different --np_tresholds for ONT data. #87

Open
ljcousse opened this issue Oct 22, 2024 · 0 comments
Open

Different coverages for different --np_tresholds for ONT data. #87

ljcousse opened this issue Oct 22, 2024 · 0 comments

Comments

@ljcousse
Copy link

ljcousse commented Oct 22, 2024

For a project analysing ONT data, we wanted to check the impact of using different cut-offs ("--np_tresh") in the bam2pat function. I.e. we expect that for a more stringent cut-off less CpGs to be called as methylated. However, after loading the beta files into R (using the code from the docs), we also find differences in coverages between different cut-offs although the number of covered CpGs should be the same?

E.g.: with "head(content_25)", the first 6 CpGs using a --np_tresh 0.25 and "head(content_75)", the first 6 CpGs using a --np_tresh 0.75

print(head(content_25))
[,1] [,2]
[1,] 5 5
[2,] 5 5
[3,] 3 3
[4,] 6 6
[5,] 5 5
[6,] 5 5
print(head(content_75))
[,1] [,2]
[1,] 4 4
[2,] 2 2
[3,] 3 3
[4,] 6 6
[5,] 5 5
[6,] 5 5

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

1 participant