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

Issue with betabinomial estimation? #59

Open
danieljrichard opened this issue Jul 9, 2024 · 1 comment
Open

Issue with betabinomial estimation? #59

danieljrichard opened this issue Jul 9, 2024 · 1 comment

Comments

@danieljrichard
Copy link

Hello,
I've been using your software to much effect for scRNA for sometime now, and was hoping to bridge into scATAC. However, I'm running into an issue with the beta binomial estimation step. Namely, after sampling 500K sites (or even more) from the basecell outputs, I get the following error - which appears to becoming from the VGAM call:

Error in checkwz(wz, M = M, trace = trace, wzepsilon = control$wzepsilon) :
Some elements in the working weights variable 'wz' are not finite

Digging into it, the alt_CC and ref_CC vectors and manually calling the beta_binom_params function, it seems to work with some subsets but not others of the vector.
When I force all alt_CC values greater than 1 to 1, however, it runs and gives me parameters. Same with alt_BC and ref_BC. However, and perhaps not-surprisingly, when I run the rest of the pipeline with these estimated parameters, the majority of my mutations have a 'BetaBin_problem' flag after step2.

Any advice? I'm working with mouse, so I don't think using the default SComatic model parameters would work here.

@ArthurDondi
Copy link
Contributor

Hi,
Did you by any chance find out how to fix this problem?
Thanks!

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