Unconfigured Ad

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

    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

        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 05:37 AM
        0 responses
        6 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        51 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        110 views
        0 reactions
        Last Post SEQadmin2  
        Working...