How to delete Duplicate snps in plink 1.9
1
1
Entering edit mode
4 weeks ago
xuyang ▴ 10

Hello guys, I am new for plink 1.9 and recently I met an error with duplicate snps in my .bim file. I tried using --exclude to delete them and it deleting all matches, but I also need one of them to stay in the dataset. Is there any other available command line for dealing with duplicate snps? Thank you so much!

duplicate snp plink • 162 views
ADD COMMENT
2
Entering edit mode
4 weeks ago

It's only implemented in plink 2.0 rather than 1.9, but the --rm-dup flag (https://www.cog-genomics.org/plink/2.0/filter#rm_dup ) should do what you need.

ADD COMMENT

Login before adding your answer.

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