Commit 2750c402 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/segmenter.js: computeAAseq, only if there is a cdr3

We currently do not have an ORF detection, so we should not compute the AA unless the CDR3 is given.
parent 1cfef95b
......@@ -666,9 +666,9 @@ Sequence.prototype = {
},
computeAAseq : function () {
var start = 0;
var stop = this.seq.length;
var start = -1;
var stop = -1;
var clone = this.m.clone(this.id);
if (typeof clone.seg != "undefined" && typeof clone.seg["cdr3"] != "undefined"){
start = clone.seg["cdr3"].start
......
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