Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Chiel
    Junior Member
    • Sep 2008
    • 2

    Samtools variant calling questions

    Hi,

    In our group we are using samtools for variant calling. As a basic guide we use the example given at http://samtools.sourceforge.net/mpileup.shtml. It seems samtools is able to perform as a nice tool to get from bam to a useful variant call format that can be annotated using other resources. Yet we have some difficulties understanding and applying some parts to proper use.

    Instead of what is shown in the example we want to apply variant calling on a single sample. The first question is if it's safe to use mpileup on a single sample in a similar way as is shown in the example, or should I use normal pileup for this? (And does this still apply BAQ?)

    Then the data is converted to a raw bcf file using bcftools. The second question is if this output contains every possible variant disregarding quality, depth, and the number of variant supporting calls? I assume this is the case and further polishing is done using vcfutils but please correct me if I'm wrong.

    Finally, vcfutils' varfilter is applied for filtering. In the example only a depth filter is shown. Next to the depth there are some other thresholds we would like to set. We would like to apply a (base) quality cutoff, a strand-bias filter for reference and variant calls, and inlcude variant supporting calls.

    A close inspection of the varfilter help shows a couple of possibilities. I'll briefly describe how we think they should be used, or what our difficulties are.
    -Using the -a flag we can set the number of variant supporting calls?
    -The -1 flag seems to be a p-val for strand bias cutoff. Yet I'm unable to find any explanation on what useful values we can use. (Or how this behaves in certain conditions we are interested in. i.e. Both reference and variant calls found on both strands.
    -Then there are the -2, -3, and -4 flags which imply serveral p-val setting. Default values are given. However, also here an explanation on how to alter this for different practical conditions would be very welcome.
    -The default value for mapQ bias is 0, why?

    We couldn't find much information on these issues in literature or other recources. Nevertheless, some of these setting are crucial in variant calling and I would expect better descriptions than what we could find so far, especially when a clinical setting comes into play. It would be greatly appreciated if anyone could give some answers. Thanks.
  • hansdd
    Junior Member
    • May 2011
    • 6

    #2
    Originally posted by Chiel View Post
    Hi,

    In our group we are using samtools for variant calling. As a basic guide we use the example given at http://samtools.sourceforge.net/mpileup.shtml. It seems samtools is able to perform as a nice tool to get from bam to a useful variant call format that can be annotated using other resources. Yet we have some difficulties understanding and applying some parts to proper use.

    Instead of what is shown in the example we want to apply variant calling on a single sample. The first question is if it's safe to use mpileup on a single sample in a similar way as is shown in the example, or should I use normal pileup for this? (And does this still apply BAQ?)

    Then the data is converted to a raw bcf file using bcftools. The second question is if this output contains every possible variant disregarding quality, depth, and the number of variant supporting calls? I assume this is the case and further polishing is done using vcfutils but please correct me if I'm wrong.

    Finally, vcfutils' varfilter is applied for filtering. In the example only a depth filter is shown. Next to the depth there are some other thresholds we would like to set. We would like to apply a (base) quality cutoff, a strand-bias filter for reference and variant calls, and inlcude variant supporting calls.

    A close inspection of the varfilter help shows a couple of possibilities. I'll briefly describe how we think they should be used, or what our difficulties are.
    -Using the -a flag we can set the number of variant supporting calls?
    -The -1 flag seems to be a p-val for strand bias cutoff. Yet I'm unable to find any explanation on what useful values we can use. (Or how this behaves in certain conditions we are interested in. i.e. Both reference and variant calls found on both strands.
    -Then there are the -2, -3, and -4 flags which imply serveral p-val setting. Default values are given. However, also here an explanation on how to alter this for different practical conditions would be very welcome.
    -The default value for mapQ bias is 0, why?

    We couldn't find much information on these issues in literature or other recources. Nevertheless, some of these setting are crucial in variant calling and I would expect better descriptions than what we could find so far, especially when a clinical setting comes into play. It would be greatly appreciated if anyone could give some answers. Thanks.
    I have many of the same questions and cannot find answers. Can someone give some guidance or points us towards resources which explain this more.

    Comment

    • sergiodealencar
      Junior Member
      • Feb 2011
      • 3

      #3
      I would also like to know how to filter strand bias using GATK Unified Genotyper. What is the ideal SB (Strand Bias) threshold value?

      Thanks,
      Sérgio

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM
      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-23-2026, 11:41 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-20-2026, 11:10 AM
      0 responses
      217 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-13-2026, 10:26 AM
      0 responses
      81 views
      0 reactions
      Last Post SEQadmin2  
      Working...