Commit 605e9d50 authored by Mathieu Giraud's avatar Mathieu Giraud

js/clone.js: getVIdentityIMGT(), also checks for "V-REGION identity %" without indels

To be discussed. See #2396.
parent cbf4a167
Pipeline #2201 failed with stages
in 4 seconds
......@@ -846,9 +846,13 @@ Clone.prototype = {
getVIdentityIMGT: function () {
if (typeof this.seg.imgt !== 'undefined'
&& this.seg.imgt !== null
&& typeof this.seg.imgt['V-REGION identity % (with ins/del events)'] != 'undefined') {
return this.seg.imgt["V-REGION identity % (with ins/del events)"]
&& this.seg.imgt !== null) {
if (typeof this.seg.imgt['V-REGION identity %'] != 'undefined')
return this.seg.imgt["V-REGION identity %"];
if (typeof this.seg.imgt['V-REGION identity % (with ins/del events)'] != 'undefined')
return this.seg.imgt["V-REGION identity % (with ins/del events)"];
}
return "unknown"
},
......
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