Commit e8d29139 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

model.js, clone.js: export getPrintableSize() in .csv

These informations are not so easy to parse... but at leastthey are here.
parent ec6d25c0
......@@ -529,6 +529,7 @@ Clone.prototype = {
for (var i=0; i<this.m.samples.order.length; i++) csv += "," + this.getReads(this.m.samples.order[i])
for (var i=0; i<this.m.samples.order.length; i++) csv += "," + this.getSize(this.m.samples.order[i])
for (var i=0; i<this.m.samples.order.length; i++) csv += "," + this.getPrintableSize(this.m.samples.order[i]).replace(/,/g, ';')
return csv
},
......
......@@ -1775,6 +1775,7 @@ Model.prototype = {
var csv = "name,id,system,tag,v,d,j,sequence"
for (var i=0; i<this.samples.order.length; i++) csv += ",reads_"+i
for (var i=0; i<this.samples.order.length; i++) csv += ",ratio_"+i
for (var i=0; i<this.samples.order.length; i++) csv += ",ratios_"+i
csv += "\n"
//only non-empty active clones and "other"
......
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