This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Create a phenotype file in PLINK format

Hi everyone,

how can i create a plink formatted phnotype data starting from an excel o text file? I have three columuns with FID IID and the phenotype. I tried several things, but nothing worked and I really need help.

I tried with

plink --pheno myfile --pheno-name columnwithpheno --out pheno

but is not working, it tells me "Error: No input dataset."

Does anyone have a solution?

Thanks

gwas phenotype plink

1 answer

You always need to provide the bed / ped file from PLINK using either --bfile or --file. If you don't have those genotype data, then maybe better explain your intend? e.g. what are you trying to do?

Log in to answer this question.