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
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      49 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      67 views
      0 likes
      Last Post seqadmin  
      Working...
      X