Search in sources :

Example 1 with BamToSql

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());
}
Also used : BamToSql(com.github.lindenb.jvarkit.tools.misc.BamToSql) File(java.io.File) Test(org.testng.annotations.Test)

Aggregations

BamToSql (com.github.lindenb.jvarkit.tools.misc.BamToSql)1 File (java.io.File)1 Test (org.testng.annotations.Test)1