icn3d 3.34.3 → 3.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/icn3d.js +17 -1
- package/icn3d.min.js +1 -1
- package/icn3d.module.js +17 -1
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -40271,6 +40271,20 @@ class AnnoCddSite {
|
|
|
40271
40271
|
ic.bAjaxCddSite = true;
|
|
40272
40272
|
}
|
|
40273
40273
|
|
|
40274
|
+
getResiArrayStr(resiNCBIArray, chainid) { let ic = this.icn3d; ic.icn3dui;
|
|
40275
|
+
let resiArrayStr = '';
|
|
40276
|
+
for(let i = 0, il = resiNCBIArray.length; i < il; ++i) {
|
|
40277
|
+
let resiNCBI = resiNCBIArray[i];
|
|
40278
|
+
let residNCBI = chainid + '_' + resiNCBI;
|
|
40279
|
+
let resid = ic.ncbi2resid[residNCBI];
|
|
40280
|
+
let resi = resid.split('_')[2];
|
|
40281
|
+
if(i > 0) resiArrayStr += ',';
|
|
40282
|
+
resiArrayStr += resi;
|
|
40283
|
+
}
|
|
40284
|
+
|
|
40285
|
+
return resiArrayStr;
|
|
40286
|
+
}
|
|
40287
|
+
|
|
40274
40288
|
setDomainFeature(domainArray, chnid, type, html, html2, html3, acc2domain, titleArray, fullTitleArray) { let ic = this.icn3d, me = ic.icn3dui;
|
|
40275
40289
|
|
|
40276
40290
|
let bNonDomainFeat = (type != 'domain' && type != 'feat') ? true : false;
|
|
@@ -40407,7 +40421,9 @@ class AnnoCddSite {
|
|
|
40407
40421
|
if(ic.seqStartLen && ic.seqStartLen[chnid]) html += ic.showSeqCls.insertMulGap(ic.seqStartLen[chnid], '-');
|
|
40408
40422
|
|
|
40409
40423
|
if(me.bNode && type == 'domain') {
|
|
40410
|
-
|
|
40424
|
+
let fromStr = this.getResiArrayStr(fromArray, chnid);
|
|
40425
|
+
let toStr = this.getResiArrayStr(toArray, chnid);
|
|
40426
|
+
ic.chainid2cdd[chnid].push(fulltitle + "_from_" + fromStr + "_to_" + toStr);
|
|
40411
40427
|
}
|
|
40412
40428
|
|
|
40413
40429
|
for(let i = 0, il = ic.giSeq[chnid].length; i < il; ++i) {
|