DReichLab / EIG

Eigen tools by Nick Patterson and Alkes Price lab
Other
182 stars 59 forks source link

Error with smarteigenstrat.perl accepting pca output from smartpca.perl #75

Open harrsha4 opened 2 years ago

harrsha4 commented 2 years ago

kuretlab@Synuclein:~/Bayesian/EIG/bin$ $ ./smarteigenstrat.perl -output.geno -a output.snp -b output.ind -p output.evec -o output.chiseq -l output.log -k 10 smarteigenstrat -p output.chiseq.par >output.log OOPS: output.evec contains too many entries

Hello, I ran smartpca as instructed on my WGS dataset (349 individuals, 20 million SNPs). The smartpca.perl wrapper ran fine producing 10 principal components in an .evec file. However, when loading the pca file into smarteigenstrat.perl, the aforementioned error was returned. What I find interesting is that after outlier removal by smartpca, the .ind file had 349 individuals even when sigma was at default value and the log file noted the removal of outliers (around 30 individuals). Is there something I can do to fix this. Thanks in advance

kristjanmoore commented 2 years ago

Try -i output.geno instead of -output.geno.