use of com.github.lindenb.jvarkit.tools.ngsfiles.NgsFilesSummary in project jvarkit by lindenb.
the class TestNg01 method testNgsFilesSummary.
@Test
public void testNgsFilesSummary() throws IOException {
final File input = new File(TEST_RESULTS_DIR, "jeter.path.txt");
PrintWriter pw = new PrintWriter(input);
pw.println(TOY_VCF_GZ);
pw.println(TOY_BAM);
pw.flush();
pw.close();
final File output = new File(TEST_RESULTS_DIR, "jeter.txt");
Assert.assertEquals(0, new NgsFilesSummary().instanceMain(new String[] { "-o", output.getPath(), input.getPath() }));
Assert.assertTrue(output.delete());
Assert.assertTrue(input.delete());
}
Aggregations