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
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 08:47 AM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        60 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        59 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        54 views
        0 likes
        Last Post seqadmin  
        Working...
        X