CONVERTF lose population FID

69 views
Skip to first unread message

Inez

unread,
Sep 14, 2023, 8:41:22 AM9/14/23
to plink2-users
Is there a way to convert Plink format files to eigenstrat files that does not merge the FID and IID?

For instance, if I use convertf to transform my plink files (bed/bim/fam) to eigenstrat files (geno/snp/ind) and my fam files contains FID (population), IID (individual), sex,  parents and phenotype, convertf works in such a way that the FID and IID are merged into the ID. It uses the phenotype as population. 

Perhaps this is a question more aimed at the eigenstrat platform, but if anyone has an idea of a way to make sure that the third column of the .ind file after conversaion has the FID column rather than the phenotype column, that would help a lot!

Or if there is a different way to convert to eigenstrat whilst retaining the population name (that I have in the FID). 

Cheers, 
Inez

Christopher Chang

unread,
Sep 14, 2023, 11:11:45 PM9/14/23
to plink2-users
Last time I checked, eigenstrat software does not support this.  If you really need to keep distinct FIDs, you should just re-split FID/IID afterwards.
Reply all
Reply to author
Forward
0 new messages