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
This commit is contained in:
jmaguire 2009-03-25 15:18:10 +00:00
parent d11bb0fc64
commit 44acc358b7
1 changed files with 5 additions and 2 deletions

View File

@ -12,6 +12,7 @@ public class AlleleFrequencyEstimate {
public double qstar; public double qstar;
public double LOD; public double LOD;
public int depth; public int depth;
public String notes;
public double getQstar() public double getQstar()
{ {
@ -33,17 +34,19 @@ public class AlleleFrequencyEstimate {
this.qstar = qstar; this.qstar = qstar;
this.LOD = LOD; this.LOD = LOD;
this.depth = depth; this.depth = depth;
this.notes = "";
} }
public String asTabularString() { 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, location,
ref, ref,
alt, alt,
qhat, qhat,
qstar, qstar,
LOD, LOD,
depth); depth,
notes);
} }
public String asString() { public String asString() {