Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • genotype in the output file of bcftools

    I am calling SNP with mpileup and bcftools. A problem of the genotype in the output file of bcftools is encountered. Following is one example line in vcf format.
    Code:
    scaffold30370   21103   .       A       G,T     999     .       DP=2200;VDB=0.0001;AF1=1;AC1=216;DP4=0,0,0,2190;MQ=37;FQ=-45.5  GT:PL:DP:SP:GQ  1/1:120,57,0,120,57,120:19:0:93 1/1:117,69,0,117,69,117:23:0:99 1/1:128,78,0,128,78,128:26:0:99 1/1:109,36,0,109,36,109:12:0:72 1/1:118,63,0,118,63,118:21:0:99 1/1:131,181,0,131,181,131:60:0:99 ...
    I have omitted the other individuals. I found that although there are three genotype, as indicated by column 5, the genotype in the 10+ columns only has 0 or 1. As vcf version 4.1 described, there should be genotype 2 in the GT field. I have checked all these snp sites across all 108 individuals.

    Is this a bug of bcftools?

  • #2
    I think you're misinterpreting it. What you are seeing is two alternate alleles, both different from the reference allele. Thus, there are only two bases in the genotype, not three, as the reference allele is not observed in those individuals. It is labeled 1/1 as both of the observed alleles are alternates. In the first individual with this score:

    1/1:120,57,0,120,57,120:19:0:9

    It implies that the most likely genotype is homozygous for the first alternate allele given, with the second most likely genotypes being heterozygous for wildtype or the other alternate allele (along with the first alternate allele).

    Comment


    • #3
      According to current VCF definition:
      The genotype of this sample. For a diploid, the GT field indicates the two alleles carried by the sample, encoded by a 0 for the REF allele, 1 for the first ALT allele, 2 for the second ALT allele, etc. When there's a single ALT allele (the by far more common case), GT will be either:

      0/0 - the sample is homozygous reference
      0/1 - the sample is heterozygous, carrying 1 copy of each of the REF and ALT alleles
      1/1 - the sample is homozygous alternate

      We would expect that 1/2 might present in the output.

      I guess samtools only consider two groups of genotype:
      0 for reference
      1 for any ALT alleles
      the likelihood for each genotype could only be traced in PL or GL field.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 08:47 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      54 views
      0 likes
      Last Post seqadmin  
      Working...
      X