Changing the sample IDs of a bed/bim/fam PLINK fileset
0
0
Entering edit mode
2.6 years ago
Arta • 0

Hi everyone,

I am working with a genotype set that is not identified with the samples IDs that I want. However, I do have a lookup table which I can use in R to get the right identification when I need it.

My question is: how do I fully replace the IDs using PLINK so that I don't have to cross-reference with R everytime?

--update-ids is all I have so far

Thank you

plink • 2.5k views
ADD COMMENT
1
Entering edit mode

Why not just use R to replace the IDs in the .fam file - you would only have to do this once and then you can use the correct IDs. Unless I misunderstand your question.

ADD REPLY
1
Entering edit mode

Sorry @Arta, I deleted my comment. But no, it wouldn't matter since the names aren't stored in the .bed file - the names are stored in order in the .fam, so you can change them, as long as you keep the lines in the same order.

ADD REPLY

Login before adding your answer.

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