Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DavyK
    Junior Member
    • Jun 2012
    • 9

    #1

    Filtering multisample vcf files on DP

    Hi All,
    I have a multi-sample VCF file produced by the GATK Unified Genotyper. I need to now filter these variants for SNPs that have a DP < 10. However the DP entry in the info field for a multi-sample VCF is the depth across all samples. so very few variants will fail this filter and there will be many variants with low depth marked as a pass. Does anyone know of a GATK option to filter on the depth of the samples themselves. Of course, this presents another problem. How to resolve a variant that has low coverage in one individual and high coverage in another? The following is probably not possible in GATK but perhaps one could say if the largest depth across all samples is <10 or maybe if more than 10% of the samples have DP less than 10? Does it even make sense to do this?

    Cheers,
    Davy.
  • jkerouac
    Junior Member
    • Sep 2012
    • 4

    #2
    Yes it makes a lot of sense to do this. For example I have a modestly sized exome sequencing project of an extreme phenotype (50 and 50 samples). We filtered for highly deleterious variants, then compared what is in one group versus the other. What we found were a fair number false positives which fit a scenario where there was low coverage for this area (in general) but a few samples got up to a coverage depth (6-10 reads) where they were called. So there wasn't really a variant existing in one group that wasn't in the other, rather just stochastic calling of low coverage variants that gave a false positive. I think the slight unevenness of coverage from sample to sample in low coverage areas is a big problem.

    I don't have an answer right now, I just started working on this problem today (hence my finding your question) but I will repost if I work a solution out. And if anyone else knows how to filter VCF files such that you only select variants that were at least "callable" in all or a defined proportion of samples, I would much appreciate it.

    Comment

    • DavyK
      Junior Member
      • Jun 2012
      • 9

      #3
      Yes, filtering is clearly important, although you should always filter before comparing a two sample groups. Then you get into the issue of adjusting your filters based on what you see in a case vs control sample.

      In any case, on more thorough reading of the GATK documentation website, filtering on READ depth is no longer recommended. Instead they suggest a number of filters that might (emphasis on might) help to rule out FPs.

      For SNPs:

      QD < 2.0
      MQ < 40.0
      FS > 60.0
      HaplotypeScore > 13.0
      MQRankSum < -12.5
      ReadPosRankSum < -8.0

      I added another filter though from the seqanswers exome sequencing analysis wiki

      MQ0 >= 4 && ((MQ0 / (1.0 * DP)) > .01)

      However your project sounds like it's adequately powered for you to run the variant quality score recalibration tool from the GATK. Whole-exome of more than 30 samples is stated as being the minimum, and it's shown to be better than hard filtering.

      Comment

      • jkerouac
        Junior Member
        • Sep 2012
        • 4

        #4
        Thanks for the reply that is helpful.

        Yes we used the VQSR tool, and by manual inspection of hundreds of calls it did a nice job. But it doesn't get around the false positive problem I described (which I thought you were describing also): that is, low coverage areas that vary in their ability to be called from one sample to the next.

        Comment

        Latest Articles

        Collapse

        • kinpict.com
          Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by kinpict.com
          The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
          Today, 06:37 PM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-03-2026, 11:54 AM
        2 responses
        56 views
        0 reactions
        Last Post kinpict.com  
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        175 views
        0 reactions
        Last Post SEQadmin2  
        Working...