Package org.broadinstitute.gatk.tools.walkers.genotyper

Examples of org.broadinstitute.gatk.tools.walkers.genotyper.CustomAFPriorProvider.forTotalPloidy()


            priorsList.add(priors[i]);
        }

        final AFPriorProvider provider = new CustomAFPriorProvider(priorsList);

        final double[] providedPriors = provider.forTotalPloidy(ploidy);
        Assert.assertNotNull(providedPriors);
        Assert.assertEquals(providedPriors.length, priors.length + 1);
        for (int i = 0; i < priors.length; i++)
            Assert.assertEquals(providedPriors[i+1],Math.log10(priors[i]),TOLERANCE);
        Assert.assertEquals(MathUtils.approximateLog10SumLog10(providedPriors),0,TOLERANCE);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.