Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • k2bhide
    Junior Member
    • Nov 2010
    • 5

    #1

    Missing SNPs in samtools output eventhough it display VDB values

    Samtools Version (0.1.18) error: I called SNPs for 17 samples from same organism, however some of the samples failed to list any SNPs on some of the chromosomes even though I expected some SNPs. Hence I looked in IGV browser and pileup information in order to verify whether there are any alternate alleles at the base position. It was clear that these positions had all mapped reads with alternate bases as compared to reference bases.

    I removed –v option from bcftools commands to get depth information for all the base positions irrespective of being called variant sites.

    Here is the command I used
    samtools mpileup -6 -Buf ../gff_and_Refgenome/ref.fasta in.bam | bcftools view -bcg -> in.var.raw.bcf
    bcftools view in.var.raw.bcf > vcfutils.pl varFilter -D50 > in.var.fil.vcf
    which gave following result for one of probable SNP positions, failed to be listed as SNP (AtoT) in final result file.

    Chr2 617743 . A . 28.2 . DP=95;VDB=0.0535;;AC1=2;FQ=-30 PL 0

    I would really appreciate if anyone would help me understand why such SNPs were ignored in final file eventhough it display VDB values which are related to SNP calling in samtools.
  • mbayer
    Member
    • Mar 2009
    • 31

    #2
    Hi k2bhide,

    here are a couple of things to try:

    - try the mpileup without the -B option, in case this is filtering out SNPs
    - try without the filtering script
    - set the minimum base quality for mpileup to 0, in case the variants you are observing happen to be read errors
    - set the SNP probability to low for bcftools (e.g. "-p 0.9999")

    All of the above will make the command output a lot of dross/false positives but it is useful for the purpose of understanding what's going on.

    You then need to tighten things up again to get your actual results. My approach is to make the initial SNP calling very relaxed and then filter appropriately, but if a SNP isn't there after the initial calling then it's obviously gone for good and you can't get it back.

    I typically use something like this:

    samtools mpileup -Q 0 -D -g -u -f <fastaFile> <bamFile> | bcftools view -vcgA -p 0.9999 - > SNPs.vcf

    cheers

    Micha

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