This is a test version of Biostars. For the public version, visit https://www.biostars.org.
PCA with Plink1.9 - eigenval and eigenvec files are all 0

Hi all,

I was trying to run pca using plink with the command:

plink --bfile array.data --pca --out array.data.pca

The resulting array.data.pca.eigenval and array.data.pca.eigenvec files are all in 0.

head array.data.pca.eigenval
0
0
0
0
0

head array.data.pca.eigenval
fid1 iid1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
fid1 iid2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
fid2 iid3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
fid2 iid4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
fid2 iid5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

There were no errors or warnings during the run.

Have anyone encountered this problem before?

Thanks!

plink pca

1 answer

Retry with plink 2.0; at minimum, it will print a relevant error message.

Thanks! The error said it was because of very-low-MAF variants.

Log in to answer this question.