-
Notifications
You must be signed in to change notification settings - Fork 24
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
Minor allele freq for >2 pops #8
Comments
Hi Isaac, Just to be clear, is this how you are currently calculating the joint MAF file for >2 populations? I running fastsimcoal2 with 4 populations and would prefer to use the joint MAFs given the estimation issues with zero-laden MSFS files. Thanks so much for the great program. Best, Chad |
The minor allele for SFS with > 2 populations is determined by the frequency of alleles only within the sampled populations, not the global allele frequencies. In practice this shouldn't be a huge issue. |
Thanks, Isaac. I have been having some large deviations in results using the multiple joint SFS vs MSFS for greater than two populations (for two pops the results are very similar), so I thought maybe this was the culprit. Thanks for the clarification and advice. Best, Chad |
Hi Isaac, when i run the easySFS, all of the observation is zero, such as Best, Qin |
@qinshengyuan Good question! Since you don't show me your data, I have no idea what is wrong with it. What are the results when you run the |
The minor allele should be determined based on all populations combined for SFS constructed from more than 2 populations:
https://groups.google.com/forum/#!searchin/fastsimcoal/sfs$20multiple$20populations%7Csort:date/fastsimcoal/zWO_ERhHjOg/cnPXsDCXjRAJ
EDIT: This is only a problem for unfolded SFS, folded SFS doesn't care about minor allele.
The text was updated successfully, but these errors were encountered: