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

All snp have missing genotype for all individuals and will be ignored error #254

Open
kkamii opened this issue Aug 9, 2021 · 2 comments
Labels
Track bugs here. Please use google groups instead Support is handled on google groups

Comments

@kkamii
Copy link

kkamii commented Aug 9, 2021

Hi, I want to use bslmm model to predict my phenotype data.

I used - bslmm 1 option with -maf 0 -miss 1 -hwe 0 -r2 1 SNP QC options, so that all of snps can be analyzed

image

but, when I use -predict option, all of snps removed and predicted data have NA values.

how can I fix it?

@pjotrp pjotrp added the Track bugs here. Please use google groups instead Support is handled on google groups label Aug 14, 2021
@ArchibaldChain
Copy link

I got the same issue. When I fitted the bslmm, it worked fine. But when I use the fitted bslmm to predict new phenotype, it gives me the error that "snp xxx has missing genotype for all individuals and will be ignored." for all snps and predict no value.

@ArchibaldChain
Copy link

I carefully read the document. In section 4.9.3, it says

In particular, individuals with missing phenotypes will have predicted values, while individuals with non-missing phenotypes will have “NA”s.

That means even for prediction, you need to include the phenotype file. If the phenotype file contains 'NA', it gives predictions. Those non-“NA” value phenotypes will be used to analyze. But I still don't understand why it needs phenotype to do prediction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Track bugs here. Please use google groups instead Support is handled on google groups
Projects
None yet
Development

No branches or pull requests

3 participants