Adding sex and phenotype data to plink datasets

1,199 views
Skip to first unread message

hilyatuz zahroh

unread,
Nov 29, 2020, 7:38:06 PM11/29/20
to Christopher Chang, 'Matt' via plink2-users
Dear Chris and everyone,

I run GWAS data analysis with plink and found out that my data has so many missing sex and phenotypes (literally almost all missing). I have this data on a separate file. 
Is there any way to add this missing data into binary file of link?

Thank you 

Best regards,
Hilya

hilyatuz zahroh

unread,
Dec 1, 2020, 12:36:39 AM12/1/20
to plink2...@googlegroups.com
Dear Chris and everyone,

I run GWAS data analysis with plink and found out that my data has so many missing sex and phenotypes (literally almost all missing). I have this data on a separate file.
Is there any way to add this missing data into the binary file of Plink?

Bagmi Pattanaik

unread,
Dec 2, 2020, 4:52:47 AM12/2/20
to plink2-users
Hi
You could do following the instructions here  https://www.cog-genomics.org/plink/1.9/data
as you have mentioned you have the information about the sex and phenotype in another file, you could create .txt file according to the instruction.

plink --file --update-sex sex.txt --pheno pheno.txt

Hope this helps.

Bagmi

hilyatuz zahroh

unread,
Dec 4, 2020, 11:17:05 AM12/4/20
to plink2-users, Bagmi Pattanaik
Hi Bagmi,

Thank you very much for answering my question. Is it possible to run this function on bfile? Or will this only work on --file?
Thank you once again.

Hilya
 --
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plink2-users/2db1e1f3-4a03-4a49-8c63-a742f4c316d9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages