Package org.broadinstitute.gatk.engine.walkers.diffengine

Examples of org.broadinstitute.gatk.engine.walkers.diffengine.DiffableReader


    }

    @Test(enabled = true, dependsOnMethods = "testPluggableDiffableReaders")
    public void testVCF1() {
        logger.warn("testVCF1");
        DiffableReader vcfReader = engine.getReader("VCF");
        Assert.assertTrue(vcfReader.canRead(vcfFile));
        Assert.assertFalse(vcfReader.canRead(bamFile));

        DiffElement diff = vcfReader.readFromFile(vcfFile, -1);
        Assert.assertNotNull(diff);

        Assert.assertEquals(diff.getName(), vcfFile.getName());
        Assert.assertSame(diff.getParent(), DiffElement.ROOT);
View Full Code Here


    }

    @Test(enabled = true, dependsOnMethods = "testPluggableDiffableReaders")
    public void testBAM() {
        logger.warn("testBAM");
        DiffableReader bamReader = engine.getReader("BAM");
        Assert.assertTrue(bamReader.canRead(bamFile));
        Assert.assertFalse(bamReader.canRead(vcfFile));

        DiffElement diff = bamReader.readFromFile(bamFile, -1);
        Assert.assertNotNull(diff);

        Assert.assertEquals(diff.getName(), bamFile.getName());
        Assert.assertSame(diff.getParent(), DiffElement.ROOT);
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.walkers.diffengine.DiffableReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.