Package org.broadinstitute.gatk.engine.walkers

Examples of org.broadinstitute.gatk.engine.walkers.Walker


        walkerManager = new WalkerManager();
    }

    @Test
    public void testPresentWalker() {
        Walker countLociWalker = walkerManager.createByName("CountLoci");
        Assert.assertEquals(CountLoci.class,countLociWalker.getClass());
    }
View Full Code Here


    @Test
    public void testAddingVCFHeaderInfo() {
        final VCFHeader header = new VCFHeader();

        final Walker walker1 = new VCFHeaderTestWalker();
        final Walker walker2 = new VCFHeaderTest2Walker();

        final GenomeAnalysisEngine testEngine1 = new GenomeAnalysisEngine();
        testEngine1.setWalker(walker1);

        final GenomeAnalysisEngine testEngine2 = new GenomeAnalysisEngine();
View Full Code Here

        // No walker info?  No plugins.
        if (getAnalysisName() == null) return new Class[] {};

        Collection<Class> argumentSources = new ArrayList<Class>();

        Walker walker = engine.getWalkerByName(getAnalysisName());
        engine.setArguments(getArgumentCollection());
        engine.setWalker(walker);
        walker.setToolkit(engine);
        argumentSources.add(walker.getClass());

        Collection<ReadFilter> filters = engine.createFilters();
        for(ReadFilter filter: filters)
            argumentSources.add(filter.getClass());
View Full Code Here

    @DataProvider(name = "GATKReportCreationTest")
    public Object[][] makeGATKReportCreationTest() {
        List<Object[]> tests = new ArrayList<Object[]>();

        final Walker readWalker = new CountReads();
        final Walker lociWalker = new CountLoci();
        final Walker rodWalker = new CountRODs();
        final Walker artWalker = new RunReportDummyActiveRegionWalker();

        final Exception noException = null;
        final Exception javaException = new IllegalArgumentException("javaException");
        final Exception stingException = new ReviewedGATKException("GATKException");
        final Exception userException = new UserException("userException");
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.walkers.Walker

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.