Commit 2cb64106 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

model.js: do not take into account not-quantifiable clones in the computation of 'smaller clones'

parent bbc6c6f8
......@@ -1081,7 +1081,7 @@ changeCloneNotation: function(cloneNotationType) {
var c = this.clone(pos)
if (c.isVirtual()) {
other_quantifiable_clones.push(pos);
} else if (c.isActive()) {
} else if (c.isActive() && c.quantifiable) {
for (var sample = 0; sample < this.samples.number ; sample++) {
for (var k = 0; k < this.clusters[pos].length; k++) {
newOthers[c.germline][sample] -= this.clone(this.clusters[pos][k]).get('reads', sample);
......
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