Exemple #1
0
 @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);
   }
 }
Exemple #2
0
 @Test(dataProvider = "testIntervals")
 public void testBasic(final Interval in, final Interval expected) {
   final Interval out = liftOver.liftOver(in);
   Assert.assertEquals(out, expected);
 }
Exemple #3
0
 @BeforeClass
 public void initLiftOver() {
   liftOver = new LiftOver(CHAIN_FILE);
   contigMap = liftOver.getContigMap();
 }