From cf407168cf2179699ee23631682b4d76bf5b7f57 Mon Sep 17 00:00:00 2001 From: jmaguire Date: Sun, 22 Mar 2009 16:47:49 +0000 Subject: [PATCH] keep track of the position you're called on. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@135 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/utils/AlleleFrequencyEstimate.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/playground/java/src/org/broadinstitute/sting/utils/AlleleFrequencyEstimate.java b/playground/java/src/org/broadinstitute/sting/utils/AlleleFrequencyEstimate.java index f370cffa9..5c0dedbc0 100755 --- a/playground/java/src/org/broadinstitute/sting/utils/AlleleFrequencyEstimate.java +++ b/playground/java/src/org/broadinstitute/sting/utils/AlleleFrequencyEstimate.java @@ -4,29 +4,35 @@ import org.broadinstitute.sting.gatk.walkers.AlleleFrequencyWalker; public class AlleleFrequencyEstimate { //AlleleFrequencyEstimate(); + public String location; public char ref; public char alt; public int N; public double qhat; public double qstar; public double LOD; + public int depth; - public double getQstar() { + public double getQstar() + { return qstar; } - public double getLOD() { + public double getLOD() + { return LOD; } - - public AlleleFrequencyEstimate(char ref, char alt, int N, double qhat, double qstar, double LOD) { + public AlleleFrequencyEstimate(String location, char ref, char alt, int N, double qhat, double qstar, double LOD, int depth) + { + this.location = location; this.ref = ref; this.alt = alt; this.N = N; this.qhat = qhat; this.qstar = qstar; this.LOD = LOD; + this.depth = depth; } public String asString() {