Search in sources :

Example 1 with VcfRemoveUnusedAlt

use of com.github.lindenb.jvarkit.tools.misc.VcfRemoveUnusedAlt in project jvarkit by lindenb.

the class TestNg01 method testVcfRemoveUnusedAlt.

@Test(dataProvider = "all_vcfs")
public void testVcfRemoveUnusedAlt(final String vcfPath) throws IOException {
    File tmp = new File(TEST_RESULTS_DIR, "tmp.vcf");
    Assert.assertEquals(0, new VcfRemoveUnusedAlt().instanceMain(new String[] { "-o", tmp.getPath(), vcfPath }));
    assertIsVcf(tmp);
    Assert.assertTrue(tmp.delete());
}
Also used : VcfRemoveUnusedAlt(com.github.lindenb.jvarkit.tools.misc.VcfRemoveUnusedAlt) File(java.io.File) Test(org.testng.annotations.Test)

Aggregations

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