Double Alt Heterozygous Variant In Vcf?
1
0
Entering edit mode
10.2 years ago
nmb ▴ 30

Was wondering how VCF denotes a heterozygous variant in which both alleles are different from the reference? E.g.: A to G/T.

I know how to express A > G/A or A > G/G, but wasn't able to find an explanation for the above the spec. I may have also been looking in the wrong place. Thanks in advance!

vcf variant • 3.0k views
ADD COMMENT
0
Entering edit mode

bcftools norm -m-snps: will turn G,T to two lines.

bcftools norm -m+snps: will turn two lines to one line and separte with ,

bcftools norm -m-snps dbSNP153.hg19.vcf -Ov -o dbSNP153.hg19.norm.vcf

ADD REPLY
2
Entering edit mode
10.2 years ago

Was wondering how VCF denotes a heterozygous variant in which both alleles are different from the reference? E.g.: A to G/T.

you'll find A in the REF column and G,T in the ALT column

"ALT : comma separated list of alternate non-reference alleles called on at least one of the samples"

ADD COMMENT
0
Entering edit mode

Thanks, makes sense! To answer a bit of my own question, it looks like the sample column would have 1/2 in that case to denote the allele.

ADD REPLY

Login before adding your answer.

Traffic: 1949 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