Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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.

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

    Comment


    • #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


      • #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


        • #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


          • #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

            • seqadmin
              Recent Advances in Sequencing Analysis Tools
              by seqadmin


              The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
              Today, 07:48 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Today, 07:17 AM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-02-2024, 08:06 AM
            0 responses
            19 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-30-2024, 12:17 PM
            0 responses
            20 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-29-2024, 10:49 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Working...
            X