-
Notifications
You must be signed in to change notification settings - Fork 8
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
Missing data for tetraploid multiparenting population #25
Comments
Hey @PaulaEB, Thanks for trying out I haven't gotten around to allowing for multiparent populations yet. Some things you can look into:
If the answer is yes to both, then combining the different populations would not help much. Estimating the parent genotypes and those parameters is the benefit of using a larger sample size. As for the missing data, if an individual has library(updog)
refvec <- c(3, 4, 0, 8, 3)
sizevec <- c(10, 10, 0, 10, 10)
fout <- flexdog(refvec = refvec, sizevec = sizevec, ploidy = 4, )
fout$geno
plot(fout$postmat[3, ], fout$gene_dist)
abline(0, 1)
refvec <- c(3, 4, NA, 8, 3)
sizevec <- c(10, 10, NA, 10, 10)
fout <- flexdog(refvec = refvec, sizevec = sizevec, ploidy = 4, )
fout$geno Best, |
Hello @dcgerard, many thanks for your clarification! I am going back to this data, but I would like to keep the missing (0) missing as GATK mark the missing values in DP as DP=0 (https://gatk.broadinstitute.org/hc/en-us/articles/6012243429531-GenotypeGVCFs-and-the-death-of-the-dot) Is it possible to change that from updog or should I do that in the VCF with other tool? Thanks again |
Yey @PaulaEB, You can do that in R really easily. E.g., suppose this is the matrix containing the read-depths: sizemat <- matrix(c(0, 1, 2, 1,
1, 0, 1, 1,
1, 2, 1, 0), ncol = 4, byrow = TRUE) Then we can convert those 0's to NA's via: sizemat[sizemat == 0] <- NA Cheers, |
Hello David, Has updog been updated to support multiparent populations? The manual states that it now supports more general populations, but I cannot find arguments for other population structures that S1 and bi-parental F1 for specification? Thank you, |
Hey @TrineAalborg, No, not yet. I'll get around to it when I find an interested graduate student 😂. You can either
If you fit each family separately, you can check if the If they are pretty different, then you can try Cheers, |
Okay thanks, I'll look into those options :) |
Hello David,
Thanks for developing updog!
My project goal is identify QTLs for pest resistance, so we have a multiparenting population similar to a NAM pop (4 pollen recipients and a pollen donor) so we have four half-sib families. We are treating each family separated but I'd like to know your thoughts about if it's possible to do use all the population for the genotype calling.
And a last question would be about the missing data for de geno field. In the multidog$inddf output we don't see missing data, is this normal?
Thank you very much!
Paula E
The text was updated successfully, but these errors were encountered: