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

Calculate Founders More Accuately #65

Open
reedacartwright opened this issue Oct 29, 2015 · 0 comments
Open

Calculate Founders More Accuately #65

reedacartwright opened this issue Oct 29, 2015 · 0 comments

Comments

@reedacartwright
Copy link
Contributor

Currently dng-call assumes that all founders are samples from independent populations govern by identical finite-sites models. This simplifies our peeling calculations. However, they should all come from the same population and be dependent samples:

P(g_i | g_1 ... g_{i-1}; params) ~ DirichletMultinomial(params, g_1 ... g_{i-1})

There are many ways to improve probability calculations after a site has been found to be a candidate:

  • Estimate the allele frequency at that site in the founders and calculating probabilities using that.
  • Numerically integrate or sample over possible allele frequencies. Because individuals are independent once allele frequencies are known.
  • Use Gibbs sampling to evaluate the the expectation
  • If two parents are founders, sample correctly their joint frequency.

Determine which one of these to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants