Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

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

    The study of cell-population heterogeneity in a range of biological systems, from viruses to bacterial isolates to tumor samples, has been transformed by recent advances in sequencing throughput. While the high-coverage afforded can be used, in principle, to identify very rare variants in a populati …
    Providing nextRAD genotyping and PacBio sequencing services. http://snpsaurus.com

    Comment


    • #3
      Hi,

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



      Thanks,

      S.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin


        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
        Yesterday, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      45 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X