@Test
public void testCallKirExons() throws Exception {

    Files.write(Resources.toByteArray(getClass().getResource("2DL1_0020101.bwa.sorted.bam")), bamFile);
    Files.write(Resources.toByteArray(getClass().getResource("kir-2dl1.exons.bed")), bedFile);
    cdna = false;
    removeGaps = false;
    new FilterConsensus(bamFile, bedFile, outputFile, gene, cdna, removeGaps, minimumBreadth, expectedPloidy).call();
    assertEquals(16, countLines(outputFile));
}