-
Notifications
You must be signed in to change notification settings - Fork 40
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
pca sklearn failure in latest development version #45
Comments
hmm. maybe when there's a single sample we need to use |
I'll try to carve out some time on friday to work on peddy and get these resolved. thanks for reporting. |
I can run with 1 sample on master. It seems like maybe you're only finding a single snp out of the full set. |
I see the problem that's causing this. Will release 0.4.2 shortly. |
actually, I don't think that should affect what you are reporting here. You can try updating to cyvcf2 v0.9.0 to see if that resolves it, but I don't think it will. |
Brent; |
It could, but it uses those sites for the heterozygosity stuff too, so the only thing left would be the sex plots. |
That would be helpful for me. I know the output is not especially useful, but in bcbio we often get not good enough data that goes in and would be great to have peddy exit cleanly just without the analysis we can't do. Right now I'm catching exceptions and doing other ugly things when it fails, so would love to improve on that. Thanks for considering this. |
I'm wary of writing software that catches all possible problems and gives a 0 exit code. |
Brent; which I'd like to improve on. Thanks again for this discussion. |
Brent;
We've been trying to use the latest development in bcbio (to get the initial hg38 support) and running into a failure during pca. Is there a minimum number of input samples needed to run pca, or am I doing something else wrong?
Ideally we'd love to be able to get ancestry prediction for single sample inputs. Thanks for any pointers/suggestions.
The text was updated successfully, but these errors were encountered: