Difference between Genotype 0|1 and 1|0 in VCF file?
1
4
Entering edit mode
3.2 years ago
ved_vyas ▴ 40

I have a VCF file, I tried to find the total number of each GT. The result came out :

COUNT-----GT 
   4789----- 0/1 
  13621---- 0|1
  10701----- 1|0
  20462----- 1|1

I know 0 is for Ref. allele and 1 for first ALT allele, but why some are represented as 0|1 and some as 1|0 ?

GT Calling Genotype VCF Variant • 4.2k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
5
Entering edit mode
3.2 years ago

The order of alleles matters only when the variants are phased,

for unphased heterozygous mutations, there is no difference between 0/1 and 1/0, by convention it is written as 0/1

when we have phased variants then the order matters, 0|1 and 1|0 are used to indicate which variants are in the same phase.

ADD COMMENT
3
Entering edit mode

we should note a typical phasing algorithm can't follow a "mom|dad" convention, for instance, because they have no knowledge of the trio pedigree. You just know that 1|0 is from one parent and 0|1 is from the other with respect to other variants.

ADD REPLY

Login before adding your answer.

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