Search in sources :

Example 1 with VcfToHilbert

use of com.github.lindenb.jvarkit.tools.hilbert.VcfToHilbert in project jvarkit by lindenb.

the class TestNg01 method testVcfToHilbert.

@Test(dataProvider = "all_vcfs")
public void testVcfToHilbert(final String vcfPath) throws IOException {
    if (getVcfHeader(new File(vcfPath)).getNGenotypeSamples() == 0)
        return;
    File tmp = new File(TEST_RESULTS_DIR, "jeter.png");
    Assert.assertEquals(0, new VcfToHilbert().instanceMain(new String[] { "-o", tmp.getPath(), vcfPath }));
    Assert.assertTrue(tmp.exists());
}
Also used : VcfToHilbert(com.github.lindenb.jvarkit.tools.hilbert.VcfToHilbert) File(java.io.File) Test(org.testng.annotations.Test)

Aggregations

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