DriverGenePanelFactory { @NotNull public static List<DndsDriverGeneLikelihood> oncoLikelihood() { return DndsDriverGeneLikelihoodFile.fromInputStream(resource("/dnds/DndsDriverLikelihoodOnco.tsv")); }  @NotNull static DriverGenePanel empty(); @NotNull static DriverGenePanel create(@NotNull final DriverGenePanelAssembly assembly, final List<DriverGene> genes); @NotNull static List<DndsDriverGeneLikelihood> tsgLikelihood(); @NotNull static List<DndsDriverGeneLikelihood> oncoLikelihood();  }
@Test public void testReadOncoGenes() { DriverGenePanel genePanel = testGenePanel(); DndsDriverImpactLikelihood missense = genePanel.oncoLikelihood().get("ABL1").missense(); assertEquals(0.0014228, missense.driversPerSample(), 1e-7); assertEquals(4.436149558484221E-7, missense.passengersPerMutation(), 1e-8); }