Extracting LD SNPs using PLINK2
2
1
Entering edit mode
2.1 years ago
Sanjar ▴ 150

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 • 1.2k views
ADD COMMENT
1
Entering edit mode
2.0 years ago
Sanjar ▴ 150

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

ADD COMMENT
0
Entering edit mode
2.1 years ago
austin7923 ▴ 10

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

ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1755 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