This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extracting LD SNPs using PLINK2

I've been using plink1.9 to extract LD SNPs for a list of SNPs stored in file as follows:

plink1.9 --bfile 1kg_phase1_all --ld-window-r2 0.8 --ld-window-kb 100 --ld-window 1000000 --ld-snp-list snps.txt --r2 yes-really --out gwas --exclude plink_output/gwas.dupvar2

How to convert this command to plink2?

Tried to move this to plink2 and it seems like the semantics has changed dramatically, and I couldn't figure it out. Would appreciate it if someone versed on plink2 could help me out with this.

snps ld plink1.9 plink2

2 answers

It turns out that the command for extracting LD SNPs has not been implemented in PLINK2 yet.

Instead of plink, would you prefer to use other alternatives like Ensembl's LD Calculator?

I haven't used it before. I thought that plink is the "gold standard". Do you recommend it?

Log in to answer this question.