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

org.broadinstitute.hellbender.engine.spark.ReadWalkerContext Maven / Gradle / Ivy

The newest version!
package org.broadinstitute.hellbender.engine.spark;

import org.broadinstitute.hellbender.engine.FeatureContext;
import org.broadinstitute.hellbender.engine.ReferenceContext;
import org.broadinstitute.hellbender.utils.read.GATKRead;

/**
 * Encapsulates an {@link GATKRead} with its {@link ReferenceContext} and {@link FeatureContext}.
 */
public class ReadWalkerContext {
    private final GATKRead read;
    private final ReferenceContext referenceContext;
    private final FeatureContext featureContext;

    public ReadWalkerContext(GATKRead read, ReferenceContext referenceContext, FeatureContext featureContext) {
        this.read = read;
        this.referenceContext = referenceContext;
        this.featureContext = featureContext;
    }

    public GATKRead getRead() {
        return read;
    }

    public ReferenceContext getReferenceContext() {
        return referenceContext;
    }

    public FeatureContext getFeatureContext() {
        return featureContext;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy