Package org.broadinstitute.gatk.engine.arguments

Examples of org.broadinstitute.gatk.engine.arguments.GenotypeCalculationArgumentCollection


*/
public class GeneralPloidyFailOverAFCalculatorProviderUnitTest {

    @Test(dataProvider="nonThreadSafeConstructorsData")
    public void testNonThreadSafeConstructors(final int ploidy, final int maxAltAlleles) {
        final GenotypeCalculationArgumentCollection args = new GenotypeCalculationArgumentCollection();
        args.MAX_ALTERNATE_ALLELES = maxAltAlleles;
        args.samplePloidy = ploidy;

        final GeneralPloidyFailOverAFCalculatorProvider provider = new GeneralPloidyFailOverAFCalculatorProvider(args,null);

View Full Code Here


        final GenomeAnalysisEngine toolkit = new GenomeAnalysisEngine();
        final GATKArgumentCollection gatkArguments = new GATKArgumentCollection();
        gatkArguments.numberOfCPUThreadsPerDataThread =cpuThreadCount;
        gatkArguments.numberOfDataThreads = dataThreadCount;
        toolkit.setArguments(gatkArguments);
        final GenotypeCalculationArgumentCollection genotypeArgs = new GenotypeCalculationArgumentCollection();
        genotypeArgs.samplePloidy = ploidy;
        genotypeArgs.MAX_ALTERNATE_ALLELES = maxAltAlleles;
        final AFCalculatorProvider provider = GeneralPloidyFailOverAFCalculatorProvider.createThreadSafeProvider(toolkit,genotypeArgs,null);
        final Hashtable<Thread,AFCalculator> perThreadProvider = new Hashtable(cpuThreadCount * dataThreadCount);
        final List<Thread> threads = new ArrayList<>();
View Full Code Here

*/
public class FixedAFCalculatorProviderUnitTest {

    @Test(dataProvider="nonThreadSafeConstructorsData")
    public void testNonThreadSafeConstructors(final int ploidy, final int maxAltAlleles, final AFCalculatorImplementation preferred) {
        final GenotypeCalculationArgumentCollection args = new GenotypeCalculationArgumentCollection();
        args.MAX_ALTERNATE_ALLELES = maxAltAlleles;
        args.samplePloidy = ploidy;
        final StandardCallerArgumentCollection callerArgs = new StandardCallerArgumentCollection();
        if (preferred != null ) callerArgs.requestedAlleleFrequencyCalculationModel = preferred;
        callerArgs.genotypeArgs = args;
View Full Code Here

        gatkArguments.numberOfCPUThreadsPerDataThread =cpuThreadCount;
        gatkArguments.numberOfDataThreads = dataThreadCount;
        toolkit.setArguments(gatkArguments);
        final StandardCallerArgumentCollection callerArgs = new StandardCallerArgumentCollection();
        if (impl != null) callerArgs.requestedAlleleFrequencyCalculationModel = impl;
        final GenotypeCalculationArgumentCollection genotypeArgs = new GenotypeCalculationArgumentCollection();
        callerArgs.genotypeArgs = genotypeArgs;
        genotypeArgs.samplePloidy = ploidy;
        genotypeArgs.MAX_ALTERNATE_ALLELES = maxAltAlleles;
        final AFCalculatorProvider provider = FixedAFCalculatorProvider.createThreadSafeProvider(toolkit,callerArgs,null);
        final Hashtable<Thread,AFCalculator> perThreadProvider = new Hashtable(cpuThreadCount * dataThreadCount);
 
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.arguments.GenotypeCalculationArgumentCollection

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.