Hg38Config { public AlleleResource topmedAlleleResource() { String namespacePrefix = "hg38.topmed"; AlleleResourceProperties resourceProperties = getAlleleResourceProperties(namespacePrefix); Path resourcePath = resourceProperties.getAlleleResourcePath(); URL resourceUrl = resourceProperties.getAlleleResourceUrl(); return new TopMedAlleleResource(namespacePrefix, resourceUrl, resourcePath); }  @Bean Path hg38GenomePath(); @Bean Map<String, AlleleResource> hg38AlleleResources(); AlleleResource dbSnpAlleleResource(); AlleleResource clinVarAlleleResource(); AlleleResource espAlleleResource(); AlleleResource exacAlleleResource(); AlleleResource dbnsfpAlleleResource(); AlleleResource topmedAlleleResource(); AlleleResource uk10kAlleleResource(); AlleleResource gnomadGenomeAlleleResource(); AlleleResource gnomadExomeAlleleResource(); @Autowired
    public Environment environment; }
@Test public void testTopmedAlleleResource() throws Exception { AlleleResource alleleResource = instance.topmedAlleleResource(); AlleleArchive expectedArchive = new TabixAlleleArchive(Paths.get("src/test/resources/hg38/variants/TOPMED_GRCh38.vcf.gz")); assertThat(alleleResource.getAlleleParser(), instanceOf(TopMedAlleleParser.class)); assertThat(alleleResource.getAlleleArchive(), equalTo(expectedArchive)); }