Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit ecd4c15e authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

js/clone.js: getHtmlInfo(), add a link 'get reads'

parent 5f34ef3f
......@@ -502,7 +502,16 @@ Clone.prototype = {
html += "<tr><td> clone name </td><td colspan='" + time_length + "'>" + this.getName() + "</td></tr>"
html += "<tr><td> clone size (n-reads (total reads) )</td>"
for (var i = 0; i < time_length; i++) {
html += "<td>" + this.getReads(this.m.samples.order[i]) + " (" + this.m.reads.segmented[this.m.samples.order[i]] + ")</td>"
html += "<td>"
html += this.getReads(this.m.samples.order[i]) + " (" + this.m.reads.segmented[this.m.samples.order[i]] + ")"
html += "<br/>"
call_reads = "db.call('default/run_request', { "
call_reads += "'sequence_file_id': '" + this.m.samples.db_key[this.m.samples.order[i]] + "', "
call_reads += "'config_id' : '" + this.m.db_key.config + "', "
call_reads += "'grep_reads' : '" + this.id + "' })"
console.log(call_reads)
html += "<span class='button' onclick=\"" + call_reads + "\"> get reads </span>"
html += "</td>"
}
html += "</tr><tr><td> clone size (%)</td>"
for (var i = 0; i < time_length; 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