package org.opencb.biodata.models.alignment;

public class LowCoverageRegion {

    private int start;
    private int end;
    private double depthAvg;
    private double depthMin;

    public LowCoverageRegion() {
    }

    public LowCoverageRegion(int start, int end, double depthAvg, double depthMin) {
        this.start = start;
        this.end = end;
        this.depthAvg = depthAvg;
        this.depthMin = depthMin;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("LowCoverageRegion{");
        sb.append("start=").append(start);
        sb.append(", end=").append(end);
        sb.append(", depthAvg=").append(depthAvg);
        sb.append(", depthMin=").append(depthMin);
        sb.append('}');
        return sb.toString();
    }

    public int getStart() {
        return start;
    }

    public LowCoverageRegion setStart(int start) {
        this.start = start;
        return this;
    }

    public int getEnd() {
        return end;
    }

    public LowCoverageRegion setEnd(int end) {
        this.end = end;
        return this;
    }

    public double getDepthAvg() {
        return depthAvg;
    }

    public LowCoverageRegion setDepthAvg(double depthAvg) {
        this.depthAvg = depthAvg;
        return this;
    }

    public double getDepthMin() {
        return depthMin;
    }

    public LowCoverageRegion setDepthMin(double depthMin) {
        this.depthMin = depthMin;
        return this;
    }
}

@@ -73,16 +73,47 @@
 gion %7B%0A%0A
+    private String chromosome;%0A
     priv
@@ -123,24 +123,24 @@
  int start;%0A
-
     private 
@@ -276,16 +276,35 @@
 eRegion(
+String chromosome, 
 int star
@@ -343,32 +343,70 @@
 ble depthMin) %7B%0A
+        this.chromosome = chromosome;%0A
         this.sta
@@ -654,16 +654,85 @@
 append(%22
+chromosome='%22).append(chromosome).append('%5C'');%0A        sb.append(%22, 
 start=%22)
@@ -910,24 +910,24 @@
 ppend('%7D');%0A
-
         retu
@@ -943,32 +943,232 @@
 tring();%0A    %7D%0A%0A
+    public String getChromosome() %7B%0A        return chromosome;%0A    %7D%0A%0A    public LowCoverageRegion setChromosome(String chromosome) %7B%0A        this.chromosome = chromosome;%0A        return this;%0A    %7D%0A%0A
     public int g

add new fields to low coverage region model