Package org.broadinstitute.gatk.engine.downsampling

Examples of org.broadinstitute.gatk.engine.downsampling.DownsampleType


    public static DownsamplingMethod getDownsamplingMethod( Class<? extends Walker> walkerClass ) {
        DownsamplingMethod downsamplingMethod = null;

        if( walkerClass.isAnnotationPresent(Downsample.class) ) {
            Downsample downsampleParameters = walkerClass.getAnnotation(Downsample.class);
            DownsampleType type = downsampleParameters.by();
            Integer toCoverage = downsampleParameters.toCoverage() >= 0 ? downsampleParameters.toCoverage() : null;
            Double toFraction = downsampleParameters.toFraction() >= 0.0d ? downsampleParameters.toFraction() : null;
            downsamplingMethod = new DownsamplingMethod(type, toCoverage, toFraction);
        }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.downsampling.DownsampleType

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.