### Question:
VariantContextFilters extends VariantFilters<VariantContext> { @Override public VariantContextFilters addQualFilter(double minQual) { filters.add(variantContext -> variantContext.getPhredScaledQual() >= minQual); return this; }  @Override VariantContextFilters addTypeFilter(String type); @Override VariantContextFilters addSNPFilter(); @Override VariantContextFilters addQualFilter(double minQual); @Override VariantContextFilters addPassFilter(); @Override VariantContextFilters addPassFilter(String name); @Override VariantContextFilters addRegionFilter(Region region, boolean contained); @Override VariantContextFilters addRegionFilter(List<Region> regions, boolean contained);  }### Answer:
@Test public void test() throws Exception { Path inputPath = Paths.get(getClass().getResource("/ibs.vcf").toURI()); VariantContextFilters filters = new VariantContextFilters(); filters.addQualFilter(100); VCFFileReader reader = new VCFFileReader(inputPath.toFile(), false); Iterator<VariantContext> iterator = reader.iterator(); VCFHeader fileHeader = reader.getFileHeader(); int count = 0; while (iterator.hasNext()) { VariantContext variant = iterator.next(); if (filters.test(variant)) { count++; } } reader.close(); assertEquals(3, count); }