Question: Difference between genotype 0/1, 1/0, 0/2, 2/0?
0
gravatar for nsmi8446
5 months ago by
nsmi8446120
nsmi8446120 wrote:

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 • 199 views
ADD COMMENTlink written 5 months ago by nsmi8446120
1
gravatar for gayachit
5 months ago by
gayachit200
India
gayachit200 wrote:

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

ADD COMMENTlink written 5 months ago by gayachit200

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 REPLYlink written 5 months ago by Kevin Blighe65k
Please log in to add an answer.

Help
Access

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