Closed:How to convert allele column of HapMap genotype data format into REF and ALT columns of VCF format?
0
0
Entering edit mode
3.5 years ago
Abbas.M • 0

How can we convert Allele column of Hapmap SNP genotype data format into ALT and REF columns of VCF format? In HapMap format, there is a column with header name allele. But in the vcf format, ALT and REF headers are present instead of allele headers like in hapmap. The Allele column contains A/C or C/G etc in HapMap. I want to know which base is the reference base A or C in A/C, C or G in C/G. But in vcf , ALT and REF columns are filled with single bases, either C, T, A or G. My question is, how can i convert Allele columns of hapmap format (A/C or C/G) into vcf ALT and REF alleles. Which allele of HapMap format, should i write as ALT and which allele as Ref. Actually, I want to convert allele column of HapMap format to ALT and REF alleles of VCF format. Is the first allele of HapMap, the allele of reference genome? Like, in C/G, C may be reference allele and G may be ALT allele or reverse. Does it follow any order like first one is reference allele and second is ALT allele or reverse will be the case? Thanks in Advance

genome snp SNP sequencing • 597 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2665 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6