Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BertieWooster
    Member
    • Jul 2009
    • 14

    #1

    Pileup shows variants - Not called as SNPs

    Hello,

    I notice that with samtools pileup/mpileup, there are several positions which have variants that can be classified as SNPs. However, they fail to show up when using the subsequent SNP program in its most basic form (i.e. without any filters or flags). What can be causing these 'calls' to drop off?

    Thanks,
    BertieW
  • gaffa
    Member
    • Oct 2010
    • 82

    #2
    Maybe you could post some examples?

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      First guess, the quality of the alternate letters is too low. Post the line of the mpileup that you think is a putative SNP, and see if that's the case.

      Comment

      • hrajasim
        Member
        • Aug 2009
        • 27

        #4
        I have a similar situation with several SNPs. I filtered out reads that align to this SNP position to investigate the mapping quality and base qualities. All reads aligning to the position where I observe this SNP on IGV have a mapping quality of 37 which is pretty good. All of these reads match perfectly without mismatch to the reference and a majority of these reads (>40) differ at this position compared to reference. But Samtools pileup does not call it a SNP. Is it just the limitation of samtools or is there something I could try to overcome this? The SNP I observe is at position 33388713
        Code:
        328MB44S:8:42:10743:11542#0 0 1 33388674 37 70M * 0 0 CCTTAGGTCACACTGCAGAACAGAGTGATATTGCAAAAAACCAAATTATCAGTCTACGTGCAACCACCAT gcghhhffdhhghfhhhhhhhhhfhehfhhhghghhgcfhghghhhhghhhhgdfhhhhhhffheahhhf XT:A:U NM:i:1 X0:i:1 X1:i:0 XM:i:1 XO:i:0 XG:i:0 MD:Z:39G30

        Comment

        • nilshomer
          Nils Homer
          • Nov 2008
          • 1283

          #5
          Looks like your base qualities are in Illumina's phred+64 format (see http://en.wikipedia.org/wiki/FASTQ_format). They should in Sanger format. Since the base qualities are out of range, all bets are off.

          Comment

          • hrajasim
            Member
            • Aug 2009
            • 27

            #6
            Thanks Nils. I am redoing the workflow with phred+33 qualities now. However, I am thinking what difference should I expect? It looks like with phred+64, I was overestimating the base quality and hence I was seeing lot many SNPs and indels than expected. With the corrected base qualities, this may go down. I wonder how I can expect this fix to enable the detection of the SNP that samtools had missed earlier. Any thoughts?

            Comment

            • nilshomer
              Nils Homer
              • Nov 2008
              • 1283

              #7
              Post your results when you are done.

              Comment

              • SWP
                Member
                • Nov 2010
                • 20

                #8
                BWA aln has a -I option if your fastq files are in Illumina format rather than Sanger. If this option is used are quality scores changed to phred+33 in the output?

                Comment

                • Papillon
                  Member
                  • Mar 2011
                  • 13

                  #9
                  I have a similar question and I hope someone can help me with this. If you need more info, just let me know.

                  I aligned my 2 x 100 bp reads with BWA - I and applied realignment with GATK in a later stage and looking at the results in IGV, everything looks quite good. There are some problems though.

                  The bam files of two family members show an AC-deletion at chr1:165,378,729 and that one is being called. At position 165,378,733 and 165,378,735 I find a C > T variants that are supported by 62 out of 62 and 58 out of 68 reads in one patient and by 36 out of 42 and 22 out of 42 reads in the second patient. Seems like clear snp's to me and the base call quality is definitely in SANGER format and between 30 and 40.

                  Does samtools allow snp's near indels or could the problem be somewhere else? (or maybe just because it is Monday)

                  Thank you!

                  EDIT: I know that both the deletion and the C>T snp are actual known variants (dbSNP132), although I can imagine it to be a bit complex, because they are in a repetitive region/simple repeats.
                  Last edited by Papillon; 05-09-2011, 11:49 AM.

                  Comment

                  • JimC
                    Member
                    • Nov 2008
                    • 10

                    #10
                    Similar Problem

                    I have a similar problem and don't want to start a separate thread unless necessary.

                    Illumina HiSeq paired-end genomic DNA for Arabidopsis.
                    Reads aligned using BWA (aln and sampe modules).
                    Alignment is sorted and indexed.

                    I used Samtools mpileup:
                    samtools mpileup -uf TAIR10.fa arab1.sorted.bam | bcftools view -c - > abar1.var.raw.vcf

                    When I compare a particular region: Chr5:4,764,955 between the output of mpileup & bcftools with the samtools tview -- I don't see the same results. I will post here if possible:

                    from the vcf file output:
                    Chr5 4763954 . T . 45 . DP=65;AF1=4.92e-07;CI95=1.5,0;DP4=1,4,0,0;MQ=54 PL 0
                    Chr5 4763955 . C . 3.67 . DP=64;AF1=1;CI95=0.5,1;DP4=0,0,0,3;MQ=60 PL 40
                    Chr5 4763956 . C . 42 . DP=64;AF1=4.837e-07;CI95=1.5,0;DP4=1,3,0,0;MQ=60 PL 0

                    The tview "view" is attached. I'm not sure why, with 64 reads, ALL with a T at position 4763955, that it is not called as a SNP. I'm trying to assess why? Is it the gap nearby?

                    Please note that this "gap" inserted into the reference is caused by a single low-quality read (not shown in the png file). How can I get BWA or mpileup to not insert such low quality inserts ??

                    Many Thanks !

                    Jim
                    Attached Files

                    Comment

                    • Papillon
                      Member
                      • Mar 2011
                      • 13

                      #11
                      Do'h, do I feel stupid!

                      I am also using SAMTools' varFilter to loose the variants which have too low coverage. But it actually does much more and this is why I am loosing these SNP's.

                      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
                      26 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
                      43 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...