Hg38GenomeAnalysisServiceAutoConfiguration extends GenomeAnalysisServiceConfigurer { @Bean("hg38genomeAnalysisService") @Override public GenomeAnalysisService genomeAnalysisService() { return buildGenomeAnalysisService(); } Hg38GenomeAnalysisServiceAutoConfiguration(Hg38GenomeProperties hg38GenomeProperties, Path exomiserDataDirectory); @Bean("hg38jannovarData") JannovarData jannovarData(); @Bean("hg38mvStore") MVStore mvStore(); @Bean("hg38variantAnnotator") @Override VariantAnnotator variantAnnotator(); @Bean("hg38variantFactory") @Override VariantFactory variantFactory(); @Bean("hg38variantDataService") @Override VariantDataService variantDataService(); @Bean("hg38genomeDataService") @Override GenomeDataService genomeDataService(); @Bean("hg38genomeAnalysisService") @Override GenomeAnalysisService genomeAnalysisService(); @Bean("hg38allelePropertiesDao") @Override AllelePropertiesDao allelePropertiesDao(); @Bean("hg38localFrequencyDao") @Override FrequencyDao localFrequencyDao(); @Bean("hg38remmDao") @Override RemmDao remmDao(); @Bean("hg38caddDao") @Override CaddDao caddDao(); @Bean("hg38testPathDao") @Override PathogenicityDao testPathScoreDao();  }
@Test public void genomeAnalysisService() throws Exception { load(EmptyConfiguration.class, TEST_DATA_ENV, "exomiser.hg38.data-version=1710"); GenomeAnalysisService genomeAnalysisService = (GenomeAnalysisService) this.context.getBean("hg38genomeAnalysisService"); assertThat(genomeAnalysisService.getGenomeAssembly(), equalTo(GenomeAssembly.HG38)); assertThat(context.getBean("hg38jannovarData"), instanceOf(JannovarData.class)); assertThat(context.getBean("hg38mvStore"), instanceOf(MVStore.class)); assertThat(context.getBean("hg38variantAnnotator"), instanceOf(VariantAnnotator.class)); assertThat(context.getBean("hg38variantFactory"), instanceOf(VariantFactory.class)); assertThat(context.getBean("hg38variantDataService"), instanceOf(VariantDataService.class)); assertThat(context.getBean("hg38genomeDataService"), instanceOf(GenomeDataService.class)); assertThat(context.getBean("hg38allelePropertiesDao"), instanceOf(AllelePropertiesDao.class)); assertThat(context.getBean("hg38remmDao"), instanceOf(RemmDao.class)); assertThat(context.getBean("hg38caddDao"), instanceOf(CaddDao.class)); assertThat(context.getBean("hg38localFrequencyDao"), instanceOf(LocalFrequencyDao.class)); }