I want to add a SNP information to a phenotype file, in addition to sex, age and PC 1~10. Does anybody know how to do it? I think I need to retrieve dosage information from vcf.gz file first, then retrieve dosage information only for the SNP. Is this how you guys usually do?
Thank you in advance!