Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rachelly
    Member
    • Oct 2010
    • 37

    #1

    Allele frequency calculation in SNP calling

    Hi all,

    I was wondering how the allele frequency is calculated by SAMTOOLS (I'm using mpileup and then bcftools).
    It seems that my SNPs always have a frequency of either 1 or 0.5, and do not always match the DP4 values.

    For example:
    Code:
    chr01   11961   .       G       C       52      .       DP=38;AF1=0.5;CI95=0.5,0.5;DP4=12,16,3,7;MQ=42;FQ=55;PV4=0.71,0.26,0.052,0.41   GT:PL:GQ        0/1:82,0,255:85
    Here it seems that the allele frequency should be more 0.3 than 0.5, doesn't it?

    Another example:
    Code:
    chr02   667170  .       C       T       14.2    .       DP=135;AF1=1;CI95=1,1;DP4=13,1,79,38;MQ=60;FQ=-71;PV4=0.064,6.2e-46,1,1 GT:PL:GQ        1/1:47,44,0:55
    In this case the frequency is closer to 0.9 than to 1...

    How is the frequency calculated?

    Thanks!
    Rachelly.
  • clarissaboschi
    Member
    • Apr 2010
    • 63

    #2
    I have the same doubt!!!!!!!!

    Comment

    • shawpa
      Member
      • Aug 2011
      • 73

      #3
      I am running into the same question with GATK unified genotyper output. Any help? I want the exact frequency using the counts. It seems to always just give a .5 or 1

      Comment

      • lh3
        Senior Member
        • Feb 2008
        • 686

        #4
        GATK and samtools assume samples are all diploid. You should look at DP4 or pileup instead.

        Also note that samtools does not work with pooled samples.

        Comment

        • shawpa
          Member
          • Aug 2011
          • 73

          #5
          Originally posted by lh3 View Post
          GATK and samtools assume samples are all diploid. You should look at DP4 or pileup instead.

          Also note that samtools does not work with pooled samples.

          Could you clarify what DP4 or pileup is? I wasn't able to find a software package called either of those things. Could you point me in the right direction?

          Comment

          • shawpa
            Member
            • Aug 2011
            • 73

            #6
            Originally posted by shawpa View Post
            Could you clarify what DP4 or pileup is? I wasn't able to find a software package called either of those things. Could you point me in the right direction?
            Ignore what I just wrote. I realized now I was being very stupid because you were referring to a format. I guess I am just trying to find an easy way to extract those counts so that I can calculate allele frequency from those. I can't do that with GATK.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            43 views
            0 reactions
            Last Post SEQadmin2  
            Working...