icn3d 3.31.6 → 3.31.7
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 +19 -22
- package/icn3d.min.js +2 -2
- package/icn3d.module.js +19 -22
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -9154,7 +9154,7 @@ class ClickMenu {
|
|
|
9154
9154
|
});
|
|
9155
9155
|
|
|
9156
9156
|
me.myEventCls.onIds("#" + me.pre + "mn1_exportKabat", "click", async function(e) { let ic = me.icn3d; //e.preventDefault();
|
|
9157
|
-
|
|
9157
|
+
ic.refnumCls.exportRefnum('kabat');
|
|
9158
9158
|
thisClass.setLogCmd("export refnum kabat", true);
|
|
9159
9159
|
});
|
|
9160
9160
|
|
|
@@ -53077,20 +53077,14 @@ class ChainalignParser {
|
|
|
53077
53077
|
|
|
53078
53078
|
// add color only for the newly loaded structures
|
|
53079
53079
|
ic.setColorCls.setColorByOptions(opts, hAtoms);
|
|
53080
|
-
|
|
53080
|
+
|
|
53081
|
+
await ic.ParserUtilsCls.renderStructure();
|
|
53082
|
+
|
|
53081
53083
|
if(ic.bAnnoShown) {
|
|
53082
53084
|
await ic.showAnnoCls.showAnnotations();
|
|
53083
53085
|
ic.annotationCls.resetAnnoTabAll();
|
|
53084
53086
|
}
|
|
53085
53087
|
|
|
53086
|
-
// await ic.ParserUtilsCls.renderStructure();
|
|
53087
|
-
// ic.drawCls.draw();
|
|
53088
|
-
|
|
53089
|
-
// if(ic.bAnnoShown) {
|
|
53090
|
-
// await ic.showAnnoCls.showAnnotations();
|
|
53091
|
-
// ic.annotationCls.resetAnnoTabAll();
|
|
53092
|
-
// }
|
|
53093
|
-
|
|
53094
53088
|
if(me.cfg.rotate !== undefined) ic.resizeCanvasCls.rotStruc(me.cfg.rotate, true);
|
|
53095
53089
|
|
|
53096
53090
|
if(bQuery && me.cfg.matchedchains) {
|
|
@@ -59436,7 +59430,9 @@ class ParserUtils {
|
|
|
59436
59430
|
|
|
59437
59431
|
if(data && data.pdbid) {
|
|
59438
59432
|
let question = "This is a single-spanning (bitopic) transmembrane protein according to the Membranome database. Do you want to align the protein with the model from Membranome? If you click \"OK\", you can press the letter \"a\" to alternate the structures.";
|
|
59439
|
-
|
|
59433
|
+
|
|
59434
|
+
if (me.bNode) return;
|
|
59435
|
+
|
|
59440
59436
|
if (me.cfg.afmem == 'off') {
|
|
59441
59437
|
// do nothing
|
|
59442
59438
|
/// if(ic.deferredOpm !== undefined) ic.deferredOpm.resolve();
|
|
@@ -70453,13 +70449,13 @@ class Dssp {
|
|
|
70453
70449
|
ic.ref2igtype['CD28_1yjdC_human_V'] = 'IgV';
|
|
70454
70450
|
ic.ref2igtype['CD2_1hnfA_human_C2-n2'] = 'IgC2';
|
|
70455
70451
|
ic.ref2igtype['CD2_1hnfA_human_V-n1'] = 'IgV';
|
|
70456
|
-
ic.ref2igtype['CD3d_6jxrd_human_C1'] = '
|
|
70457
|
-
ic.ref2igtype['CD3e_6jxrf_human_C1'] = '
|
|
70458
|
-
ic.ref2igtype['CD3g_6jxrg_human_C2'] = '
|
|
70452
|
+
ic.ref2igtype['CD3d_6jxrd_human_C1'] = 'IgC1';
|
|
70453
|
+
ic.ref2igtype['CD3e_6jxrf_human_C1'] = 'IgC1';
|
|
70454
|
+
ic.ref2igtype['CD3g_6jxrg_human_C2'] = 'IgC2';
|
|
70459
70455
|
ic.ref2igtype['CD8a_1cd8A_human_V'] = 'IgV';
|
|
70460
70456
|
ic.ref2igtype['CoAtomerGamma1_1r4xA_human'] = 'IgE';
|
|
70461
70457
|
ic.ref2igtype['Contactin1_2ee2A_human_FN3-n9'] = 'IgFN3';
|
|
70462
|
-
ic.ref2igtype['Contactin1_3s97C_human_Iset-n2'] = '
|
|
70458
|
+
ic.ref2igtype['Contactin1_3s97C_human_Iset-n2'] = 'IgI';
|
|
70463
70459
|
ic.ref2igtype['CuZnSuperoxideDismutase_1hl5C_human'] = 'SOD';
|
|
70464
70460
|
ic.ref2igtype['ECadherin_4zt1A_human_n2'] = 'Cadherin';
|
|
70465
70461
|
ic.ref2igtype['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'] = 'IgE';
|
|
@@ -70467,7 +70463,7 @@ class Dssp {
|
|
|
70467
70463
|
ic.ref2igtype['FAB-HEAVY_5esv_V-n1'] = 'IgV';
|
|
70468
70464
|
ic.ref2igtype['FAB-LIGHT_5esv_C1-n2'] = 'IgC1';
|
|
70469
70465
|
ic.ref2igtype['FAB-LIGHT_5esv_V-n1'] = 'IgV';
|
|
70470
|
-
ic.ref2igtype['GHR_1axiB_human_C1-n1'] = '
|
|
70466
|
+
ic.ref2igtype['GHR_1axiB_human_C1-n1'] = 'IgC1';
|
|
70471
70467
|
ic.ref2igtype['ICOS_6x4gA_human_V'] = 'IgV';
|
|
70472
70468
|
ic.ref2igtype['IL6Rb_1bquB_human_FN3-n2'] = 'IgFN3';
|
|
70473
70469
|
ic.ref2igtype['IL6Rb_1bquB_human_FN3-n3'] = 'IgFN3';
|
|
@@ -70475,7 +70471,7 @@ class Dssp {
|
|
|
70475
70471
|
ic.ref2igtype['InsulinR_8guyE_human_FN3-n2'] = 'IgFN3';
|
|
70476
70472
|
ic.ref2igtype['IsdA_2iteA_bacteria'] = 'IgE';
|
|
70477
70473
|
ic.ref2igtype['JAM1_1nbqA_human_Iset-n2'] = 'IgI';
|
|
70478
|
-
ic.ref2igtype['LAG3_7tzgD_human_C1-n2'] = '
|
|
70474
|
+
ic.ref2igtype['LAG3_7tzgD_human_C1-n2'] = 'IgC1';
|
|
70479
70475
|
ic.ref2igtype['LAG3_7tzgD_human_V-n1'] = 'IgV';
|
|
70480
70476
|
ic.ref2igtype['LaminAC_1ifrA_human'] = 'Lamin';
|
|
70481
70477
|
ic.ref2igtype['MHCIa_7phrH_human_C1'] = 'IgC1';
|
|
@@ -70489,7 +70485,7 @@ class Dssp {
|
|
|
70489
70485
|
ic.ref2igtype['RBPJ_6py8C_human_Unk-n1'] = 'IgFN3-like';
|
|
70490
70486
|
ic.ref2igtype['RBPJ_6py8C_human_Unk-n2'] = 'IgFN3-like';
|
|
70491
70487
|
ic.ref2igtype['Sidekick2_1wf5A_human_FN3-n7'] = 'IgFN3';
|
|
70492
|
-
ic.ref2igtype['Siglec3_5j0bB_human_C1-n2'] = '
|
|
70488
|
+
ic.ref2igtype['Siglec3_5j0bB_human_C1-n2'] = 'IgC1';
|
|
70493
70489
|
ic.ref2igtype['TCRa_6jxrm_human_C1-n2'] = 'IgC1';
|
|
70494
70490
|
ic.ref2igtype['TCRa_6jxrm_human_V-n1'] = 'IgV';
|
|
70495
70491
|
ic.ref2igtype['TEAD1_3kysC_human'] = 'IgE';
|
|
@@ -70498,7 +70494,7 @@ class Dssp {
|
|
|
70498
70494
|
ic.ref2igtype['Titin_4uowM_human_Iset-n152'] = 'IgI';
|
|
70499
70495
|
ic.ref2igtype['VISTA_6oilA_human_V'] = 'IgV';
|
|
70500
70496
|
ic.ref2igtype['VNAR_1t6vN_shark_V'] = 'IgV';
|
|
70501
|
-
ic.ref2igtype['VTCN1_Q7Z7D3_human_C1-n2'] = '
|
|
70497
|
+
ic.ref2igtype['VTCN1_Q7Z7D3_human_C1-n2'] = 'IgC1';
|
|
70502
70498
|
}
|
|
70503
70499
|
|
|
70504
70500
|
getPdbAjaxArray() { let ic = this.icn3d, me = ic.icn3dui;
|
|
@@ -71189,7 +71185,7 @@ class Dssp {
|
|
|
71189
71185
|
|
|
71190
71186
|
if(seg.q_start.indexOf('8550') != -1) {
|
|
71191
71187
|
// check C' and D strands
|
|
71192
|
-
if(cntBtwCE == 1) {
|
|
71188
|
+
if(cntBtwCE == 1 && CAtom && EAtom && (CpAtom || DAtom)) {
|
|
71193
71189
|
let distToC = 999, distToE = 999;
|
|
71194
71190
|
for(let j = 0, jl = CAtomArray.length; j < jl; ++j) {
|
|
71195
71191
|
let dist = (bCpstrand) ? CpAtom.coord.distanceTo(CAtomArray[j].coord) : DAtom.coord.distanceTo(CAtomArray[j].coord);
|
|
@@ -71477,7 +71473,7 @@ class Dssp {
|
|
|
71477
71473
|
// 1. show IgStrand ref numbers
|
|
71478
71474
|
if(type == 'igstrand' || type == 'IgStrand') {
|
|
71479
71475
|
// iGStrand reference numbers were adjusted when showing in sequences
|
|
71480
|
-
// if(me.bNode) {
|
|
71476
|
+
// if(me.bNode) {
|
|
71481
71477
|
if(ic.bShowRefnum) {
|
|
71482
71478
|
for(let chnid in ic.chains) {
|
|
71483
71479
|
let atom = ic.firstAtomObjCls.getFirstAtomObj(ic.chains[chnid]);
|
|
@@ -71528,7 +71524,8 @@ class Dssp {
|
|
|
71528
71524
|
let bIgDomain = stru2bIgDomain.hasOwnProperty(structure) ? 1 : 0;
|
|
71529
71525
|
|
|
71530
71526
|
refData += '{"' + structure + '": {"Ig domain" : ' + bIgDomain + ', "igs": [\n';
|
|
71531
|
-
|
|
71527
|
+
|
|
71528
|
+
for(let m = 0, ml = ic.structures[structure].length; ic.bShowRefnum && m < ml; ++m) {
|
|
71532
71529
|
let chnid = ic.structures[structure][m];
|
|
71533
71530
|
let igArray = ic.chain2igArray[chnid];
|
|
71534
71531
|
|