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
        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
        ...
        Yesterday, 10:25 AM
      • SEQadmin2
        How Immunogenomics Decodes Immunity’s Genetic Blueprint
        by SEQadmin2




        The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

        This convergence of genetics, immunology, and computation...
        09-01-2026, 05:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 09-25-2026, 09:06 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-23-2026, 11:05 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-18-2026, 11:37 AM
      1 response
      46 views
      0 reactions
      Last Post pekgio
      by pekgio
       
      Started by SEQadmin2, 09-16-2026, 10:23 AM
      1 response
      55 views
      0 reactions
      Last Post pekgio
      by pekgio
       
      Working...