Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dmb
    Junior Member
    • Nov 2010
    • 6

    samtools mpileup and bcftools not reporting dbSNP ids

    The vcf output after running mpileup and bcftools seems to fail to report dbSNP ids. Here are the commands I used against my BAM file...pretty much identical to the example code provided with the mpileup documentation.


    samtools mpileup -ugf /data/genomes/hg19/hg19.fa aln.bam > aln_varRaw.bcf
    bcftools view -cvg aln_varRaw.bcf | vcfutils.pl varFilter -D100 > aln.vcf


    And here are the first 10 lines of the output vcf file.


    chr1 16571 . G A 3.02 . AF1=1.000;AFE=0.375;DP4=0,0,0,1;MQ=30 PL:GT:GQ 30,3,0:1/1:41
    chr1 74817 . G A 3.02 . AF1=1.000;AFE=0.375;DP4=0,0,0,1;MQ=30 PL:GT:GQ 30,3,0:1/1:41
    chr1 118617 . T C 3.02 . AF1=1.000;AFE=0.375;DP4=0,0,1,0;MQ=30 PL:GT:GQ 30,3,0:1/1:41
    chr1 231504 . G A 23.8 . AF1=1.000;AFE=0.829;DP4=0,0,2,0;MQ=30 PL:GT:GQ 55,6,0:1/1:49
    chr1 232960 . C A 11.1 . AF1=1.000;AFE=0.768;DP4=0,0,0,2;MQ=30 PL:GT:GQ 42,6,0:1/1:49
    chr1 233473 . C G 4.13 . AF1=0.500;AFE=0.307;DP4=1,1,2,0;MQ=30;PV4=1,0.0048,1,0.23 PL:GT:GQ 32,0,48:0/1:35
    chr1 235976 . C A 52 . AF1=1.000;AFE=0.899;DP4=0,0,2,1;MQ=30 PL:GT:GQ 84,9,0:1/1:63
    chr1 726481 . T G 13.9 . AF1=1.000;AFE=0.799;DP4=0,0,2,0;MQ=30 PL:GT:GQ 45,6,0:1/1:49
    chr1 726939 . G C 14.9 . AF1=1.000;AFE=0.806;DP4=0,0,1,1;MQ=30 PL:GT:GQ 46,6,0:1/1:49
    chr1 726944 . C G 21.8 . AF1=1.000;AFE=0.827;DP4=0,0,1,1;MQ=30 PL:GT:GQ 53,6,0:1/1:49


    I realize that these 10 calls may not have a match in dbSNP but NONE of my calls have an associated rsID. rsID should be listed in the 3rd column.

    I looked for specific parameters for setting up a connection to dbSNP but I cannot seem to find that information. Seems like I'm missing something.
    Thanks.
    Dan
  • epigen
    Senior Member
    • May 2010
    • 101

    #2
    The tools you're using just report the SNPs found in your data. You'll have to assign the SNPs the dbSNP data with another tool, e.g. GATK VariantAnnotator, to which you provide the dbSNP entries as a file.

    Comment

    • lanzz
      Junior Member
      • Aug 2012
      • 3

      #3
      So ga...I thought it can conect with dbSNP.

      Comment

      Latest Articles

      Collapse

      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      55 views
      0 reactions
      Last Post SEQadmin2  
      Working...