From 44acc358b75c1b2d8dfc7858b391717763b8891c Mon Sep 17 00:00:00 2001 From: jmaguire Date: Wed, 25 Mar 2009 15:18:10 +0000 Subject: [PATCH] Add a "notes" member to the AlleleFreqencyEstimate, e.g. for hapmap metadata. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@188 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/playground/utils/AlleleFrequencyEstimate.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/java/src/org/broadinstitute/sting/playground/utils/AlleleFrequencyEstimate.java b/java/src/org/broadinstitute/sting/playground/utils/AlleleFrequencyEstimate.java index 75d5fd60d..46e49cbdb 100755 --- a/java/src/org/broadinstitute/sting/playground/utils/AlleleFrequencyEstimate.java +++ b/java/src/org/broadinstitute/sting/playground/utils/AlleleFrequencyEstimate.java @@ -12,6 +12,7 @@ public class AlleleFrequencyEstimate { public double qstar; public double LOD; public int depth; + public String notes; public double getQstar() { @@ -33,17 +34,19 @@ public class AlleleFrequencyEstimate { this.qstar = qstar; this.LOD = LOD; this.depth = depth; + this.notes = ""; } public String asTabularString() { - return String.format("RESULT %s %c %c %f %f %f %d\n", + return String.format("RESULT %s %c %c %f %f %f %d %s\n", location, ref, alt, qhat, qstar, LOD, - depth); + depth, + notes); } public String asString() {