Examples of IntMaxHeap


Examples of org.broadinstitute.gatk.utils.collections.IntMaxHeap

        genotypeCount = this.alleleFirstGenotypeOffsetByPloidy[ploidy][alleleCount];
        if (genotypeCount == GenotypeLikelihoodCalculators.GENOTYPE_COUNT_OVERFLOW)
            throw new IllegalArgumentException(
                    String.format("the combination of ploidy (%s) and number of alleles (%s) results in a very large number of genotypes (> %s). You need to limit ploidy or the number of alternative alleles to analyze this locus",
                            ploidy,alleleCount,Integer.MAX_VALUE));
        alleleHeap = new IntMaxHeap(ploidy);
        readLikelihoodsByGenotypeIndex = new double[genotypeCount][];
        log10 = ploidyLog10;
        // The number of possible components is limited by distinct allele count and ploidy.
        maximumDistinctAllelesInGenotype = Math.min(ploidy, alleleCount);
        genotypeAllelesAndCounts = new int[maximumDistinctAllelesInGenotype << 1];
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.