Search in sources :

Example 1 with Bam2Raster

use of com.github.lindenb.jvarkit.tools.bam2graphics.Bam2Raster in project jvarkit by lindenb.

the class TestNg01 method testBamToRaster.

@Test
public void testBamToRaster() throws IOException {
    File tmp = new File(TEST_RESULTS_DIR, "jeter.png");
    Assert.assertEquals(0, new Bam2Raster().instanceMain(new String[] { "-o", tmp.getPath(), "-R", TOY_FA, "-r", "ref:1-100", TOY_BAM }));
    Assert.assertTrue(tmp.exists());
}
Also used : File(java.io.File) Bam2Raster(com.github.lindenb.jvarkit.tools.bam2graphics.Bam2Raster) LowResBam2Raster(com.github.lindenb.jvarkit.tools.bam2graphics.LowResBam2Raster) Test(org.testng.annotations.Test)

Aggregations

Bam2Raster (com.github.lindenb.jvarkit.tools.bam2graphics.Bam2Raster)1 LowResBam2Raster (com.github.lindenb.jvarkit.tools.bam2graphics.LowResBam2Raster)1 File (java.io.File)1 Test (org.testng.annotations.Test)1