Hi all,
I've been trying to use plink2 to set up a quick PRS demo, and I'm having some trouble ensuring scores are applied according to the right order of the alleles. In particular, I have my PGS files with scores that have IDs of the form `chrom:pos:effect:other`. But when I use the `--set-all-var-ids` flag with `plink2 --score` this will generate IDs of the form `chrom:pos:alt:ref`. I can't guarantee however that the effect allele in my PGS file will always be ref or alt, so I'd like the tool to intelligently figure out for each chrom/pos which alleles are present in my samples, and apply the appropriate score. Which combination of flags would I use to achieve this effect?
Thanks,
Ricky