DriverGenePanelFactory { @NotNull public static List<DndsDriverGeneLikelihood> tsgLikelihood() { return DndsDriverGeneLikelihoodFile.fromInputStream(resource("/dnds/DndsDriverLikelihoodTsg.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 testReadTSGGenes() { DriverGenePanel genePanel = testGenePanel(); DndsDriverGeneLikelihood gene = genePanel.tsgLikelihood().get("ACVR1B"); DndsDriverImpactLikelihood missense = gene.missense(); assertEquals("ACVR1B", gene.gene()); assertEquals(0.003, missense.driversPerSample(), 0.001); assertEquals(2e-07, missense.passengersPerMutation(), 1e-7); }