use of com.github.lindenb.jvarkit.tools.misc.BamToSql in project jvarkit by lindenb.
the class TestNg01 method testBamToSql.
@Test
public void testBamToSql() throws IOException {
File tmp = new File(TEST_RESULTS_DIR, "jeter.sql");
Assert.assertEquals(0, new BamToSql().instanceMain(new String[] { "-o", tmp.getPath(), "-R", TOY_FA, "-r", "ref:1-100", TOY_BAM }));
Assert.assertTrue(tmp.exists());
}