Commit 9a578a93 authored by Mathieu Giraud's avatar Mathieu Giraud

js/clone.js: clone info window, warning for clones with low coverage

parent 31252411
......@@ -518,6 +518,16 @@ Clone.prototype = {
html += "<tr><td> sequence name </td><td colspan='" + time_length + "'>" + this.getSequenceName() + "</td></tr>"
html += "<tr><td> code </td><td colspan='" + time_length + "'>" + this.getCode() + "</td></tr>"
html += "<tr><td> length </td><td colspan='" + time_length + "'>" + this.getSequenceLength() + "</td></tr>"
//coverage info
if (typeof this.coverage != 'undefined') {
html += "<tr><td> average coverage </td><td colspan='" + time_length + "'><span "
if (this.coverage < this.COVERAGE_WARN)
html += "class='warning'"
html += ">" + this.coverage.toFixed(3) + "</span></td>"
}
// abundance info
html += "<tr><td> size (n-reads (total reads) )</td>"
for (var i = 0; i < time_length; i++) {
html += "<td>" + this.get('reads',this.m.samples.order[i]) +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment