Add read depth parameters to output metadata

This commit is contained in:
eugenefischer
2022-09-27 11:13:12 -05:00
parent f7b3c133bf
commit 810abdb705
2 changed files with 29 additions and 9 deletions

View File

@@ -16,6 +16,8 @@ public class GraphWithMapData implements java.io.Serializable {
private Integer alphaCount;
private Integer betaCount;
private int readDepth;
private double readErrorRate;
private double errorCollisionRate;
private final Map<String, String> distCellsMapAlphaKey;
// private final Map<Integer, Integer> plateVtoAMap;
// private final Map<Integer, Integer> plateVtoBMap;
@@ -26,7 +28,8 @@ public class GraphWithMapData implements java.io.Serializable {
private final Duration time;
public GraphWithMapData(SimpleWeightedGraph graph, Integer numWells, Integer[] wellConcentrations,
Map<String, String> distCellsMapAlphaKey, Integer alphaCount, Integer betaCount, int readDepth, Duration time){
Map<String, String> distCellsMapAlphaKey, Integer alphaCount, Integer betaCount,
Integer readDepth, Double readErrorRate, Double errorCollisionRate, Duration time){
// Map<Integer, Integer> plateVtoAMap,
// Map<Integer,Integer> plateVtoBMap, Map<Integer, Integer> plateAtoVMap,
@@ -44,6 +47,9 @@ public class GraphWithMapData implements java.io.Serializable {
// this.plateBtoVMap = plateBtoVMap;
// this.alphaWellCounts = alphaWellCounts;
// this.betaWellCounts = betaWellCounts;
this.readDepth = readDepth;
this.readErrorRate = readErrorRate;
this.errorCollisionRate = errorCollisionRate;
this.time = time;
}
@@ -95,7 +101,7 @@ public class GraphWithMapData implements java.io.Serializable {
// return betaWellCounts;
// }
public int getReadDepth() { return readDepth; }
public Integer getReadDepth() { return readDepth; }
public Duration getTime() {
return time;
@@ -108,4 +114,12 @@ public class GraphWithMapData implements java.io.Serializable {
public String getSourceFilename() {
return sourceFilename;
}
public Double getReadErrorRate() {
return readErrorRate;
}
public Double getErrorCollisionRate() {
return errorCollisionRate;
}
}