Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kvarala
    Junior Member
    • Nov 2008
    • 5

    SNP Frequency

    I am trying to estimate the frequency of SNP occurence in my library as reported by the maq aligner. The quick and dirty way of doing this, I believe, is to calculate the number of bases of the reference genome that are covered by at least 3 uniquely mapped reads. That should match the cutoff specified in SNPFilter command of maq. Does anyone know if this information is available somewhere in the maq output files?
    Also, please let me know if you think my logic for estimating the frequency is blatantly wrong. I understand that its not perfect but this is just my first hack at it.
  • apfejes
    Senior Member
    • Feb 2008
    • 236

    #2
    Hi Kvarla,

    I've written several SNP callers myself. In principle, your method is good. I don't trust 3 independent fragments, however - I think it's not nearly enough. Generally, I'll use a minimum of 8x, and the base qualities of each aligned base must be over a given threshold (20 for scores out of 30, 27 for scores out of 40). Some people also require that you see fragments in both directions. YMMV.

    I don't think MAQ is much different than that.

    The only thing I'm not sure of is why you're doing an estimate - it's not hard to get the actual value of SNPs in your library.

    Anthony
    The more you know, the more you know you don't know. —Aristotle

    Comment

    • kvarala
      Junior Member
      • Nov 2008
      • 5

      #3
      I can easily find the number of SNPs. I'm trying to get the number of bases that are aligned at the same quality as the SNP calls but are identical to the reference. I don't think its accurate to estimate the SNP frequency as no. of SNPs called / total bases aligned since all the bases are not available for making that call.

      Comment

      • apfejes
        Senior Member
        • Feb 2008
        • 236

        #4
        That makes sense. I typically just write out the number of bases observed with that level of coverage, since I use my own SNP callers. I'm not sure how one would get Maq to do that on it's own. I can point you to one of my SNP callers, since it's open source and produces similar results to maq, but I don't think that's what you're asking.

        As far as I'm concerned, there really is no way to estimate the number of bases Maq will see without doing the actual calculation.

        Anthony
        The more you know, the more you know you don't know. —Aristotle

        Comment

        • bioinfosm
          Senior Member
          • Jan 2008
          • 483

          #5
          will maq's pileup be of help?
          use the verbose command to output qualities as well, and then parse out the numbers
          --
          bioinfosm

          Comment

          • kvarala
            Junior Member
            • Nov 2008
            • 5

            #6
            ah.. of course. Thanks bioinfosm for the pointer. Serves me right for not reading the manual more carefully. Next time before I ask I'll make sure I RTFM.

            Comment

            • dvh
              Member
              • Jul 2008
              • 35

              #7
              Note there are some default filters on maq pileup output:
              -m INT Maximum number of mismatches allowed for a read to be used [7]
              -Q INT Maximum allowed number of quality values of mismatches [60]

              We find these subtly change results - dont expect maq pileup to generate exactly what is in the .map file.

              david

              Comment

              • sam253
                Junior Member
                • Mar 2010
                • 3

                #8
                SNP frequency

                Hi,

                Could you please tell me how you use pileup file for SNP frequency. I am also trying to find out variant proportion in each position. Do you know how can I calculate that? e.g if If reference base is A and consensus base is T/G how can I know at what proportion each one of these bases are?

                Thanks

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by SEQadmin2


                  Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.

                  Probing...
                  Today, 11:10 AM
                • SEQadmin2
                  Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                  by SEQadmin2



                  Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                  There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                  Yesterday, 05:17 AM
                • GATTACAT
                  Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                  by GATTACAT
                  Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                  07-01-2026, 11:43 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Today, 10:04 AM
                0 responses
                7 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Yesterday, 10:08 AM
                0 responses
                6 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                9 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-02-2026, 11:08 AM
                0 responses
                31 views
                0 reactions
                Last Post SEQadmin2  
                Working...