Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jkozubek
    Member
    • Mar 2011
    • 18

    #1

    SAMTOOLS mpileup only INDELs, no SNPs?

    Hi All,

    I used BWA to create BAM files. Then I used samtools mpileup to create a VCF file. However, there were only indels (no SNPs) in my VCF file.

    Right now, I am using samtools fillmd to add MD tags to my BAM files.

    /home/directory/bin/samtools fillmd -Aeb /home/directory/bam/${file1}.bam /home/directory/Mouse/mm10.fa > /home/directory/bam/${file1}.recode.bam

    With a cursory look at my output, I now see the SNPs in the sequence reads (amid lots of =======). However, fillmd seems like it is taking a Very long time. Does anyone know whether the MD tags are essential to SNP calling? In other words, should this fix the issue? Other ideas?

    By the way, my vcf line was:
    /home/directory/bin/samtools mpileup -B -m 5 -q 5 -S -D -u -f /home/directory/Mouse/mm10.fa -b /home/directory/bam/bam.list | /home/directory/bin/bcftools view -bvcg - > /home/directory/bam/mm10.bcf
    /home/directory/bin/bcftools view /home/directory/bam/mm10.bcf | /home/directory/bin/vcfutils.pl varFilter > /home/directory/bam/mm10.vcf


    Jim
  • jkozubek
    Member
    • Mar 2011
    • 18

    #2
    I believe I did not specify -I parameter in bwa to specify Illumina 1.3+ ASCII

    Comment

    • jkozubek
      Member
      • Mar 2011
      • 18

      #3
      This was not the answer.
      In fact, upon further investigation, I discovered the sequence data we received has very low base quality. I set samtools mpileup to -Q 0 and now get lots of SNPs.

      Comment

      • jkozubek
        Member
        • Mar 2011
        • 18

        #4
        Sequencer is coding in Sanger/Illumina 1.9 (ASCii + 33) scale. I noticed BWA recoded the values by subtracting 33. So it adjusted all the base calls. I checked and the base calls are -33 in the BWA output. However, samtools still considers the code (ASCii + 33) by default, so it too subtracts 33. Therefore, the quality code was readjusted twice.

        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
          ...
          Today, 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, Today, 05:39 AM
        0 responses
        10 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 09:56 AM
        0 responses
        12 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-09-2026, 11:14 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 09-29-2026, 09:51 AM
        0 responses
        77 views
        0 reactions
        Last Post SEQadmin2  
        Working...