This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extracting Patient Ids From Imputed Genotype Data

Can you extract the patient IDs from a imputed genotype data done by MACH? If so, how? I know you can obtain the SNP names but what about the patients?

gwas imputation

1 answer

As far as I know MACH output .mldose file looks like this:

64745 MLDOSE 1 1 0 1 1 1 1 2
64746 MLDOSE 0 2 0 2 2 2 0 2
64747 MLDOSE 0 2 0 2 2 2 0 2
64748 MLDOSE 0 2 1 2 2 2 0 2

Where first column is PatientIDs, so cut -f1 -d" " > myPatientIDs.txt should give you PatientIDs.

Log in to answer this question.