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
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        by SEQadmin2



        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

        Despite this, “CRISPR helped turn genome editing from a specialized technique into
        ...
        07-31-2026, 11:01 AM
      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      31 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      40 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Working...