Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • liying
    Member
    • Sep 2010
    • 11

    #1

    strange results of samtools

    Hi, everyone!
    I'm dealing with 14 sets of 81*2 data. After mapping them to reference genome by bwa 0.5.9-r16, I try to call variants using samtools 0.1.18. The strange thing is that all the thousands results of each sample are INDEL, though I can see there are SNPs by IGV.
    Do you have any idea about this?


    my command:
    samtools mpileup -6AB -Q 30 -uf Egrandis_162.fa 1.rmdup.bam | bcftools view -bvcg - >1_30.RawVar.bcf 2>mpileup.log&
    bcftools view 1_30.RawVar.bcf | vcfutils.pl varFilter -Q 30 -d 2 - > 1_30_30.FilterVar.vcf
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    Originally posted by liying View Post
    Hi, everyone!
    I'm dealing with 14 sets of 81*2 data. After mapping them to reference genome by bwa 0.5.9-r16, I try to call variants using samtools 0.1.18. The strange thing is that all the thousands results of each sample are INDEL, though I can see there are SNPs by IGV.
    Do you have any idea about this?


    my command:
    samtools mpileup -6AB -Q 30 -uf Egrandis_162.fa 1.rmdup.bam | bcftools view -bvcg - >1_30.RawVar.bcf 2>mpileup.log&
    bcftools view 1_30.RawVar.bcf | vcfutils.pl varFilter -Q 30 -d 2 - > 1_30_30.FilterVar.vcf
    Start by finiding a SNP that you see in IGV, and looking at the pileup in that position, and then the sam file in that region. Do the reads have good quality scores at the locus? Is the mapping quality alright? Something that I've observed, though it might not explain all your missing SNPs, is that sometimes, the BAQ calculations will mess up real SNPs, but not indels. I've occasionally seen this with sanger verified SNPs. So try rerunning mpileup with -B, see if that makes a difference.

    Comment

    • liying
      Member
      • Sep 2010
      • 11

      #3
      Originally posted by swbarnes2 View Post
      Start by finiding a SNP that you see in IGV, and looking at the pileup in that position, and then the sam file in that region. Do the reads have good quality scores at the locus? Is the mapping quality alright? Something that I've observed, though it might not explain all your missing SNPs, is that sometimes, the BAQ calculations will mess up real SNPs, but not indels. I've occasionally seen this with sanger verified SNPs. So try rerunning mpileup with -B, see if that makes a difference.
      Thanks for you reply.
      I'm sure these SNPs should pass my fliter. The MAPQ, baseQ and depth is good enough. And no matter how low threshold be set, I did not got any SNPs anyway.
      As -B option was already be used, I presumed you mean without it. That didn't help.

      Perhaps I should give up and try other SNPcaller.

      PS:GATK is really complicated. I'm trying.

      Comment

      • liying
        Member
        • Sep 2010
        • 11

        #4
        Foget it. I'm a fool. I shouldn't use -6 option after adding -I in bwa.
        Well, it's a good thing that I'm wrong and samtools is right, so I can use it...

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...