Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abelhj
    Junior Member
    • Dec 2009
    • 4

    #1

    Samtools/bcftools problem

    I'm using samtools to look for SNPs with ultradeep (>18,000X) coverage. For some reason samtools and bcftools does not call some of the SNPs.

    Code:
    gi|251831106|ref|NC_012920.1|	16125	.	G	.	99	.	DP=18552;AF1=0;CI95=1.5,0;DP4=832,646,0,1;MQ=35;PV4=0.44,0.14,1,1	PL	0
    gi|251831106|ref|NC_012920.1|	16126	.	T	C	99	.	DP=18770;AF1=1;CI95=1,1;DP4=28,21,777,596;MQ=35;PV4=1,0,0.00042,0.28	PL	219,255,0
    For example, at position 16215, IGV gives me:
    Total count: 18522
    A: 17030 (92%, 8124+, 8906-)
    C: 0
    G: 1516 (8%, 861+, 655-)
    T: 5 (0%, 4+, 1-)
    N:1 (0%, 1+, 0-)

    Sam/bcftools should be making a SNP call at position 16215 but is not. Also, the first two counts in DP4 almost agree between bcftools and IGV, but the third and fourth do not. The sequences are quality trimmed and the reads containing the A allele are not of low quality.

    Anyone know why? Thanks.
  • cboustred
    Member
    • May 2010
    • 11

    #2
    Did you get any response to your post?

    I have similar data with ultra deep coverage where the total depth counts seen in IGV match the bcftools DP but the alternate allele counts are close but do not match those in the DP4 bcftools output.

    I assume this is to do with the quality of the calls but I thought I had disabled this with -BQ0 when generating the mpileup

    Any ideas?

    Thanks

    Comment

    • dariober
      Senior Member
      • May 2010
      • 311

      #3
      Originally posted by abelhj View Post
      I'm using samtools to look for SNPs with ultradeep (>18,000X) coverage. For some reason samtools and bcftools does not call some of the SNPs.
      Hi,

      Can you post the commands of samtools/bcftools you are using? If you use vcfutils.pl varFilter there is a -D option that does not call SNPs exceeding D depth (the default is 10000000 so probably this is not the problem if you didn't change it!)

      Sorry I can't be of more help...

      All the best
      Dario

      Comment

      • cboustred
        Member
        • May 2010
        • 11

        #4
        Hi, thanks for the quick response

        I am simply running

        samtools mpileup -l site.txt -BQ0 -d1000000 -uf ref.fasta test.sorted.bam > test_mpileup.bcf

        bcftools view -Acg test_mpileup.bcf

        I am just after the number of reads for each allele at a specific position, like the display you can get in IGV that the OP showed

        Comment

        • swbarnes2
          Senior Member
          • May 2008
          • 910

          #5
          Maybe try:

          mpileup -l site.txt -BQ0 -d1000000 ref.fasta test.sorted.bam > test_mpileup.pileup

          To see what the quality of your alternate letters are according to mpileup. Then look at the individual sam entries for those reads. Maybe there's a discrepancy there.

          Comment

          • cboustred
            Member
            • May 2010
            • 11

            #6
            Thanks for the reply, I've just come across VarScan (http://varscan.sourceforge.net/index.html) which works on the pileup output from samtools.

            Using this I am able to get the counts per allele per position in the pileup which also matches the IGV calls

            All the best

            Chris

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