Plink Error in PCA plot
0
0
Entering edit mode
4.8 years ago
tothepoint ▴ 940

Hello Everyone. I am working on gwas data and processed samples from 7 different varieties with 70+ sample size of pig. Currently I am trying to make PCA plot by Plink plink2 --bfile data --pca --allow-extra-chr

I am getting an error: "At least 2 people required for pairwise analysis." Please suggest what i am doing wrong and how to fix the issue. I will be grateful to you.

Plink pca vcf gwas • 1.8k views
ADD COMMENT
0
Entering edit mode

Please post the entire .log file.

ADD REPLY
0
Entering edit mode

I am getting this

102565458 variants loaded from .bim file.
1 person (0 males, 0 females, 1 ambiguous) loaded from .fam.
Ambiguous sex ID written to plink.nosex .
Error: At least 2 people required for pairwise analysis.
ADD REPLY
0
Entering edit mode

That isn’t the entire .log file, but it’s enough. Why do you expect this to work? The file contains only one sample, not 70.

ADD REPLY
0
Entering edit mode

First report the exact PLINK version you're using with plink2 --version

Count the lines of your .ped file (you may generate the ped file from bim with plink).

wc -l data.ped

That should be enough to see what's happening.

You can check the file formats by doing

file data.*
ADD REPLY

Login before adding your answer.

Traffic: 2116 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6