Hi
Probably this question have a simple answer but I could not find it until now. I have a VCF file that integrates the data of SNPs of 90 individuals and I would like to obtain a list that contain the ID of the SNP, the position and the mayor and minor alelle per position.
Something like this:
| ID | chr | position | mayor alelle | minor alelle |
|S1_10045 | 1 | 10045 | A | C |
|S1_157465 | 1 | 157465 | C | G |
|S1_267848 | 1 | 267848 | T | C |
Do you know how I could get something like this from a VCF file?
You can use plink to recode the vcf file into the major minor format
Ok, thank you, I will try it.