Commit e9ba8a2b authored by Mathieu Giraud's avatar Mathieu Giraud

js/clone.js: getPrintableSize() display both raw and normalized reads when applicable

see #3650
parent 42aa9ea6
......@@ -625,7 +625,7 @@ Clone.prototype = {
getPrintableSize: function (time) {
var reads = this.getReads(time)
var reads = this.getRawReads(time)
s = this.getSequenceLength() + ' nt'
if (!this.quantifiable)
......@@ -634,6 +634,11 @@ Clone.prototype = {
s += ', '
s += this.m.toStringThousands(reads) + ' read' + (reads > 1 ? 's' : '') + ' '
reads = this.getReads(time)
if (this.normalized_reads && this.m.normalization_mode == this.m.NORM_EXTERNAL)
s += "[" + this.m.toStringThousands(reads) + " normalized]"
if (reads < this.m.NB_READS_THRESHOLD_QUANTIFIABLE)
return s
......
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