Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasignor
    Member
    • Sep 2009
    • 28

    #1

    Software for variant frequency

    Hello all,

    I used to be able to use CLC for my SNP calling, which generates the reference base and the frequency of the variant allele in separate columns. I no longer have access to this program and have been using bwa-samtools. I have all of my files in bam format and have been generating SAM pileup tables using the -vcf option. The problem is it gives you the variant allele and consensus allele (not reference allele) and the phred scaled quality of the SNP, not its frequency. Is there a better software to use in order to get this information? Or is there a way to get this information from samtools?
    sasignor is online now Report Post Edit/Delete Message
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Samtools pileup gives you the reference allele, consensus call, and all bases (with strandedness) among other things.

    I suggest you take a look at these pages:
    http://samtools.sourceforge.net/pileup.shtml
    http://samtools.sourceforge.net/cns0.shtml

    Comment

    • sasignor
      Member
      • Sep 2009
      • 28

      #3
      Ah, yes, the part about the reference allele was a typo. What I mean is I was looking for them all to be generated in separate columns - the variant, and the reference, not as part of a the read bases, as well as the frequency of the alleles as opposed to the SNP quality scores. I think something like VarScan is what I was looking for, although I am still interested as to what other people use to generate this type of output.

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #4
        Originally posted by sasignor View Post
        Ah, yes, the part about the reference allele was a typo. What I mean is I was looking for them all to be generated in separate columns - the variant, and the reference, not as part of a the read bases, as well as the frequency of the alleles as opposed to the SNP quality scores. I think something like VarScan is what I was looking for, although I am still interested as to what other people use to generate this type of output.

        http://varscan.sourceforge.net/using-varscan.html
        A few lines of code using the read bases column conditioned on the variant call and reference allele would do it. You have all the information.

        Comment

        • kmcarr
          Senior Member
          • May 2008
          • 1181

          #5
          Here is a script I wrote for doing this. Pass the script the name of your pileup file (created with -vcf and any other filtering) and it will output the following (as tab delimited columns):

          1. Chromosome
          2. Position
          3. SNP (Ref > Alt base(s))
          4. Consensus quality
          5. Read depth
          6. Alt base fraction (Alt base/Read depth)
          7. Alt base %
          Attached Files

          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, Yesterday, 11:13 AM
          0 responses
          19 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          18 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
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...