Error during target quality control

38 views
Skip to first unread message

Jalil Sharif

unread,
Oct 6, 2021, 3:18:08 PM10/6/21
to plink2-users
I am trying to run the following code
```
plink2 /path/to/file/ukb_imp_chr1 --fam /rds/general/user/js4120/home/fam_files/ukb_imp_chr.fam --extract /path/to/file/ukb_imp_chr1.QC.snplist --indep-pairwise 200 50 0.25 --out /path/to/file/ukb_imp_chr1.QC
```
I then ran:
```
plink2 /path/to/file/ukb_imp_chr1 --fam /rds/general/user/js4120/home/fam_files/ukb_imp_chr.fam --extract /path/to/file/ukb_imp_chr1.QC.snplist --set-all-var-ids @:# --new-id-max-allele-len 1000 --rm-dup retain-mismatch  --indep-pairwise 200 50 0.25 --out /path/to/file/ukb_imp_chr1.QC
```

In both instances I am getting the following error:

```
Error: --indep-pairwise requires unique variant IDs. (--set-all-var-ids and/or
--rm-dup may help.)
```

Christopher Chang

unread,
Oct 6, 2021, 3:25:49 PM10/6/21
to plink2-users
Why are you using the retain-mismatch mode of --rm-dup?
Reply all
Reply to author
Forward
0 new messages