Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexwong.carleton
    Junior Member
    • May 2013
    • 2

    #1

    indel calling problems with mpileup/bcftools

    Hello,

    I'm using samtools and bcftools to call snps from a targeted resequencing project. Nucleotide polymorphisms seem to be fine, but indels are proving to be a problem. I can see the indels in, say, samtools tview, with high coverage. However, my samtools/bcftools output find only a few reads at the relevant position.

    My commands (following local realignment) are:

    samtools mpileup -uf concatenated.fasta -L 1000000 -d 1000000 Ec_A10.realigned.bam >Ec_A10.mpileup
    bcftools view -bvc Ec_A10.mpileup >Ec_A10.var.raw.bcf
    bcftools view Ec_A10.var.raw.bcf >Ec_A10_name.vars.tsv

    The relevant line from the output is:

    #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT Ec_A10.test
    concatenated 2000 . CATCCTCGATGT C 185 . INDEL;DP=9;VDB=0.0074;AF1=0.5;AC1=1;DP4=2,2,1,4;MQ=60;FQ=159;PV4=0.52,0.00017,1,1 PL 223,0,194

    So, what is strange is that the reported depth is 9 reads, but there are clearly many more - I've also attached a screen shot from tview. Any suggestions on how to clear this up?

    Thanks!
    Attached Files
  • abi
    Member
    • May 2013
    • 18

    #2
    The results are wrong sometimes

    More importantly , it even shows up wrong SNPs which otherwise is not a SNP as per the bam file loaded on IGV.


    0 4009334 . A C 125 . DP=5;VDB=3.277706e-02;RPB=-1.291774e+00;AF1=0.5;AC1=1;DP4=1,1,2,1;MQ=59;FQ=74;PV4=1,0,1,0.38 GT:PL:GQ 0/1:155,0,101:99
    0 4009336 . T A 17.1 . DP=5;VDB=6.080000e-02;RPB=1.291774e+00;AF1=0.5;AC1=1;DP4=2,1,1,1;MQ=59;FQ=20.1;PV4=1,1,0.14,1 GT:PL:GQ 0/1:47,0,154:50

    As above 4009334 is a SNP but not as per IGV picture below:
    Attached Files
    Last edited by abi; 05-21-2013, 10:59 AM.

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      Originally posted by alexwong.carleton View Post
      Hello,

      I'm using samtools and bcftools to call snps from a targeted resequencing project. Nucleotide polymorphisms seem to be fine, but indels are proving to be a problem. I can see the indels in, say, samtools tview, with high coverage. However, my samtools/bcftools output find only a few reads at the relevant position.

      My commands (following local realignment) are:

      samtools mpileup -uf concatenated.fasta -L 1000000 -d 1000000 Ec_A10.realigned.bam >Ec_A10.mpileup
      bcftools view -bvc Ec_A10.mpileup >Ec_A10.var.raw.bcf
      bcftools view Ec_A10.var.raw.bcf >Ec_A10_name.vars.tsv

      The relevant line from the output is:

      #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT Ec_A10.test
      concatenated 2000 . CATCCTCGATGT C 185 . INDEL;DP=9;VDB=0.0074;AF1=0.5;AC1=1;DP4=2,2,1,4;MQ=60;FQ=159;PV4=0.52,0.00017,1,1 PL 223,0,194

      So, what is strange is that the reported depth is 9 reads, but there are clearly many more - I've also attached a screen shot from tview. Any suggestions on how to clear this up?

      Thanks!
      I only count 5 reads covering base 2000 in your picture.

      Why don't you try counting the fastq directly by grepping a little bit of sequence from each allele, or by adding the putative indel allele to your reference, and realigning?

      Comment

      • alexwong.carleton
        Junior Member
        • May 2013
        • 2

        #4
        swbarnes2 - Sorry, I should have made clear - the image captures only a small proportion of the reads covering the region. The mutation I'm looking for is an 11-bp deletion.

        I'll try out both of your suggestions - thanks! I should think that one or both should work, although ideally it would be nice to not have to have solutions tailored for specific mutations.

        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, Yesterday, 11:13 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        35 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...