@Test(dataProvider = "failingIntervals") public void testDiagnosticLiftover(final Interval fromInterval) { final List<LiftOver.PartialLiftover> partials = liftOver.diagnosticLiftover(fromInterval); System.out.println("Diagnosing " + fromInterval + " (len " + fromInterval.length() + ")"); for (final LiftOver.PartialLiftover partial : partials) { System.out.println(partial); } }
@Test(dataProvider = "testIntervals") public void testBasic(final Interval in, final Interval expected) { final Interval out = liftOver.liftOver(in); Assert.assertEquals(out, expected); }
@BeforeClass public void initLiftOver() { liftOver = new LiftOver(CHAIN_FILE); contigMap = liftOver.getContigMap(); }