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
        Best Practices for Single-Cell Sequencing Analysis
        by seqadmin



        While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
        Yesterday, 07:15 AM
      • seqadmin
        Latest Developments in Precision Medicine
        by seqadmin



        Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

        Somatic Genomics
        “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
        05-24-2024, 01:16 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 06:58 AM
      0 responses
      5 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 08:18 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 08:04 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-03-2024, 06:55 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Working...
      X