plink2 --bfile merged_forpca_allchr \
--remove related_to_remove.txt \
--freq counts \
--memory 60000 \
--out tgp_ref_pcs \
--pca allele-wts \
--threads 10
plink2 --bfile merged_forpca_allchr \
--keep related_to_remove.txt \
--read-freq tgp_ref_pcs.acount \
--score tgp_ref_pcs.eigenvec.allele 2 5 header-read no-mean-imputation variance-standardize \
--score-col-nums 6-15 \
--out related_projection
LOG FILE for step 2
PLINK v2.0.0-a.5.15LM 64-bit Intel (7 Oct 2024) cog-genomics.org/plink/2.0/
(C) 2005-2024 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to related_projection.log.
Options in effect:
--bfile merged_forpca_allchr
--keep related_to_remove.txt
--out related_projection
--read-freq tgp_ref_pcs.acount
--score tgp_ref_pcs.eigenvec.allele 2 5 header-read no-mean-imputation variance-standardize
--score-col-nums 6-15
Start time: Wed Nov 13 16:48:22 2024
385621 MiB RAM detected, ~323453 available; reserving 192810 MiB for main
workspace.
Using up to 72 threads (change this with --threads).
4091 samples (0 females, 0 males, 4091 ambiguous; 4091 founders) loaded from merged_forpca_allchr.fam.
282427 variants loaded from merged_forpca_allchr.bim.
Note: No phenotype data present.
--keep: 1300 samples remaining.
1300 samples (0 females, 0 males, 1300 ambiguous; 1300 founders) remaining
after main filters.
--read-freq: PLINK 2 --freq file detected.
--read-freq: Frequencies for 282427 variants loaded.
Warning: 564854 --score file entries were skipped due to mismatching allele
codes.
(Add the 'list-variants' modifier to see which variants were actually used for
scoring.)
Error: No valid variants in --score file.
End time: Wed Nov 13 16:48:22 2024
Wed Nov 13 16:48:22 PST 2024
I am very confused as to how I can have mismatching alleles when its the same dataset being used, and the only filter I am applying is removing individuals.
Appreciate any help here.
Thank you,
Hasuni
--
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/plink2-users/9877e014-ccab-4706-b793-5429a95b6a18n%40googlegroups.com.