Unconfigured Ad

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

    #1

    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
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...