All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.campagnelab.dl.somatic.intermediaries.SimulationStrategy Maven / Gradle / Ivy

package org.campagnelab.dl.somatic.intermediaries;

import org.campagnelab.dl.varanalysis.protobuf.BaseInformationRecords;

/**
 * Mutate the second sample in a pair of sample to simulate somatic mutation and errors.
 * Created by fac2003 on 7/19/16.
 */
public interface SimulationStrategy {
    int numberOfSamplesSupported();
    BaseInformationRecords.BaseInformation mutate(boolean makeSomatic,
                                                  BaseInformationRecords.BaseInformation record,
                                                  BaseInformationRecords.SampleInfo germlineSample,
                                                  BaseInformationRecords.SampleInfo otherSample, SimulationCharacteristics sim);

    void setup(double deltaSmall, double deltaBig, double zygHeuristic, long seed, double canonThreshold);

    void setSeed(long seed);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy