Difference between Genotype 0|1 and 1|0 in VCF file?
1
1
Entering edit mode
8 weeks ago
thechandan94 ▴ 10

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 • 290 views
ADD COMMENT
0
Entering edit mode
ADD REPLY
2
Entering edit mode
8 weeks 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
2
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: 1351 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