Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • susanklein
    Senior Member
    • Feb 2014
    • 116

    #1

    vcf file snp frequencies

    Hi,

    I'm analysing a mixed populaton of reads mapped to a gene and want to get the frequency of ALL SNPs in the data, even ones that samtools / bcftools things are not real, because they don't seem to be really designed for large mixed populations.

    The allele count (AC) field doesn't seem to be it, for example at base 19 in this sequence there is a coverage of 222 reads, 191 of which are same base as reference, A, and 31 of which are G. This is a significant population but it is not reported as a SNP, I can get bcftools to report all variants, and get an info line for this base, but it doesn't seem to contain the frequency anywhere, I need to do this for all bases for a lot of samples, so have to use scripts and command line tools, samtools, bcftools. The DP4 field doesn't have the information either because it pools the frequency of all alternative bases, and doesn't give the frequency of each one.

    Here's the line I need the frequency from:

    reference_gene 19 . A G 3.27827 . DP=222;VDB=3.97257e-05;SGB=-0.691153;RPB=0.609132;MQB=0.848924;BQB=3.59825e-05;MQ0F=0;AC=0;AN=2;DP4=199,0,18,0;MQ=29 GT:PL 0/0:0,255,245

    Thanks very much for any help!

    S.

    edit: my command line:
    samtools mpileup -uf A.bam | bcftools call -A -m -Ov > A.vcf
    Last edited by susanklein; 12-04-2014, 02:30 PM.
  • SNPsaurus
    Registered Vendor
    • May 2013
    • 525

    #2
    You might try LoFreq for calling rarer variants:
    Download LoFreq for free. Fast and sensitive variant-calling from sequencing data. None

    Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

    Comment

    • susanklein
      Senior Member
      • Feb 2014
      • 116

      #3
      Hi,

      thanks, not sure that will work for calling all variants? I have just found a script here that does what I need.

      https://www.biostars.org/p/82053/

      Thanks,

      S.

      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
      28 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
      38 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      44 views
      0 reactions
      Last Post SEQadmin2  
      Working...