Question: How to convert allele column of HapMap genotype data format into REF and ALT columns of VCF format?
gravatar for A.Mubashir
4 weeks ago by
A.Mubashir 0 wrote:

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

sequencing snp genome • 138 views
ADD COMMENTlink modified 4 weeks ago • written 4 weeks ago by A.Mubashir 0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1669 users visited in the last hour