Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


    • #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


      • #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

        • seqadmin
          Understanding Genetic Influence on Infectious Disease
          by seqadmin




          During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

          Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
          09-09-2024, 10:59 AM
        • seqadmin
          Addressing Off-Target Effects in CRISPR Technologies
          by seqadmin






          The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
          08-27-2024, 04:44 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 09-11-2024, 02:44 PM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-06-2024, 08:02 AM
        0 responses
        145 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-03-2024, 08:30 AM
        0 responses
        152 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 08-27-2024, 04:40 AM
        0 responses
        161 views
        0 likes
        Last Post seqadmin  
        Working...
        X