Hg19GenomeAnalysisServiceAutoConfiguration extends GenomeAnalysisServiceConfigurer { @Bean("hg19genomeAnalysisService") @Override public GenomeAnalysisService genomeAnalysisService() { return buildGenomeAnalysisService(); } Hg19GenomeAnalysisServiceAutoConfiguration(Hg19GenomeProperties hg19GenomeProperties, Path exomiserDataDirectory); @Bean("hg19jannovarData") JannovarData jannovarData(); @Bean("hg19mvStore") MVStore mvStore(); @Bean("hg19variantAnnotator") @Override VariantAnnotator variantAnnotator(); @Bean("hg19variantFactory") @Override VariantFactory variantFactory(); @Bean("hg19variantDataService") @Override VariantDataService variantDataService(); @Bean("hg19genomeDataService") @Override GenomeDataService genomeDataService(); @Bean("hg19genomeAnalysisService") @Override GenomeAnalysisService genomeAnalysisService(); @Bean("hg19allelePropertiesDao") @Override AllelePropertiesDao allelePropertiesDao(); @Bean("hg19localFrequencyDao") @Override FrequencyDao localFrequencyDao(); @Bean("hg19remmDao") @Override RemmDao remmDao(); @Bean("hg19caddDao") @Override CaddDao caddDao(); @Bean("hg19testPathDao") @Override PathogenicityDao testPathScoreDao();  }
@Test public synchronized void genomeAnalysisService() throws Exception { load(EmptyConfiguration.class, TEST_DATA_ENV, "exomiser.hg19.data-version=1710", "exomiser.hg19.local-frequency-path=../local/local_freq.tsv.gz"); GenomeAnalysisService genomeAnalysisService = (GenomeAnalysisService) this.context.getBean("hg19genomeAnalysisService"); assertThat(genomeAnalysisService.getGenomeAssembly(), equalTo(GenomeAssembly.HG19)); assertThat(context.getBean("hg19jannovarData"), instanceOf(JannovarData.class)); assertThat(context.getBean("hg19mvStore"), instanceOf(MVStore.class)); assertThat(context.getBean("hg19variantAnnotator"), instanceOf(VariantAnnotator.class)); assertThat(context.getBean("hg19variantFactory"), instanceOf(VariantFactory.class)); assertThat(context.getBean("hg19variantDataService"), instanceOf(VariantDataService.class)); assertThat(context.getBean("hg19genomeDataService"), instanceOf(GenomeDataService.class)); assertThat(context.getBean("hg19allelePropertiesDao"), instanceOf(AllelePropertiesDao.class)); assertThat(context.getBean("hg19remmDao"), instanceOf(RemmDao.class)); assertThat(context.getBean("hg19caddDao"), instanceOf(CaddDao.class)); assertThat(context.getBean("hg19localFrequencyDao"), instanceOf(LocalFrequencyDao.class)); }