Difference between genotype 0/1, 1/0, 0/2, 2/0?
1
0
Entering edit mode
19 months ago
nsmi8446 ▴ 130

Hi all,

Apologies if this has already been answered before. I couldn't find an answer on here.

I'm wondering what the difference is between genotypes 0/1, 1/0, 0/2, 2/0 in a vcf file? I assume there isn't one.

I've taken a look at this page without luck: https://samtools.github.io/hts-specs/VCFv4.1.pdf

Thanks in advance.

vcf • 509 views
ADD COMMENT
1
Entering edit mode
19 months ago
gayachit ▴ 200

You need to read the manual carefully. Its there on page 5 under genotype fields.

ADD COMMENT
0
Entering edit mode

Indeed, you will see a '2' in the GT field of a VCF record if it is a multi-allelic site:

  • 0 = ref base
  • 1 = first alternate base
  • 2 = second alternate base

Many programs cannot support multi-allelic records, so, you can split these into 2 (or more) records via:

bcftools norm -m-any
ADD REPLY

Login before adding your answer.

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