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
        Genetic Variation in Immunogenetics and Antibody Diversity
        by seqadmin



        The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
        11-06-2024, 07:24 PM
      • seqadmin
        Choosing Between NGS and qPCR
        by seqadmin



        Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
        10-18-2024, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 11:09 AM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Today, 06:13 AM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 11-01-2024, 06:09 AM
      0 responses
      30 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-30-2024, 05:31 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Working...
      X