Filter duplicate ID from PLINK file
1
0
Entering edit mode
3.1 years ago
Sumeet • 0

Hi All,

I am new to SNP-chip data analysis.

I have been exploring some SNP-chip data using plink 1.9, while checking the Relatedness using KING, I am getting an error of duplicate ID.

I was wondering if there is any method I can remove the duplicate individuals and retain only one copy of the same at every first step (before QC).

Thank you,

PLINK array SNP GWAS • 1.0k views
ADD COMMENT
2
Entering edit mode
3.1 years ago

You first need to edit your .fam file to assign unique IDs. After you've done that, you can follow up with e.g. plink's --extract or --exclude flag to select which samples you want to keep.

ADD COMMENT

Login before adding your answer.

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