Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • variant calling using samtools -v- bcftools

    I am new to samtools and have been trying out several protocols on the web for variant calling. Can someone please tell me what the main difference is between this step of the deprecated protocol:
    samtools view -u aln.sorted.bam | samtools pileup -vcf Ref.fa - > aln.sorted.raw.txt

    and this step of the new recommended protocol?:
    samtools mpileup -ugf Ref.fa aln.sorted.bam | bcftools view -bcvg - > aln.sorted.raw.bcf

    I thought that both of these steps should return the unfiltered set of putative variants; however, the first one gives me substantially more variants than the second. I just want to make sure I am solid about what exactly is happening at these steps so that I can make informed decisions about what filtering is necessary downstream.

    Thanks for your help!

  • #2
    Mpileup by default adds a BAQ calculation, which pileup doesn't. Try the following, and see if the result is more like the pileup result

    samtools mpileup -Bugf Ref.fa aln.sorted.bam | bcftools view -bcvg - > aln.sorted.rawB.bcf

    Comment


    • #3
      Thanks swbarnes2. That helped out a bit. However, I am still only getting half the variants using mpileup that I was using pileup. It is most likely that these are ones that would be filtered out in later steps anyway; however, it would be nice to know what is happening for sure.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 05-10-2024, 06:35 AM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-09-2024, 02:46 PM
      0 responses
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-06-2024, 07:17 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Working...
      X