use of com.github.lindenb.jvarkit.tools.burden.VcfInjectPedigree in project jvarkit by lindenb.
the class TestNg01 method testVcfInjectPed.
@Test
public void testVcfInjectPed() throws IOException {
final File tmp = new File(TEST_RESULTS_DIR, "tmp.ped.vcf");
Assert.assertEquals(0, new VcfInjectPedigree().instanceMain(new String[] { "-o", tmp.getPath(), "--pedigree", PED01, VCF01 }));
assertIsVcf(tmp);
Assert.assertTrue(tmp.exists());
Assert.assertTrue(getVcfHeader(tmp).getOtherHeaderLines().stream().anyMatch(H -> H.getKey().equals("Sample")));
}
Aggregations