public String getValueString(double position, WindowFunction windowFunction) {
    //  //LOG.info("getValueString");
    MutableString buffer = new MutableString();

    buffer.append(entry.toString());
    buffer.replace("\n", "<br>");

    if (this.isPaired()) {
      buffer.append("----------------------" + "<br>");
      buffer.append("Pair start = " + getMate().positionString() + "<br>");
      buffer.append("Pair is mapped = " + (getMate().isMapped() ? "yes" : "no") + "<br>");
      // buf.append("Pair is proper = " + (getProperPairFlag() ? "yes" : "no") + "<br>");
      if (getChr().equals(getMate().getChr())) {
        buffer.append("Insert size = " + getInferredInsertSize() + "<br>");
      }
      if (getPairOrientation().length() > 0) {
        buffer.append("Pair orientation = " + getPairOrientation() + "<br>");
      }
      if (isFirstOfPair()) {
        buffer.append("First of pair <br>");
      }
      if (isSecondOfPair()) {
        buffer.append("Second of pair <br>");
      }
    }
    return buffer.toString();
  }