icn3d 3.30.3 → 3.30.5

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.module.js CHANGED
@@ -6729,7 +6729,7 @@ class ClickMenu {
6729
6729
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
6730
6730
  await ic.annotationCls.setAnnoTabIg(bSelection, template);
6731
6731
 
6732
- // ic.bRunRefnumAgain = false;
6732
+ ic.bRunRefnumAgain = false;
6733
6733
  }
6734
6734
 
6735
6735
  clickMenu1() { let me = this.icn3dui; me.icn3d;
@@ -8315,7 +8315,7 @@ class ClickMenu {
8315
8315
  // ic.drawCls.draw();
8316
8316
  // }
8317
8317
 
8318
- // ic.bRunRefnumAgain = false;
8318
+ ic.bRunRefnumAgain = false;
8319
8319
  });
8320
8320
 
8321
8321
  me.myEventCls.onIds("#" + me.pre + "mn6_igrefTpl", "click", async function(e) { me.icn3d; //e.preventDefault();
@@ -12884,17 +12884,17 @@ class SetDialog {
12884
12884
 
12885
12885
  setTemplateMenu() { let me = this.icn3dui; me.icn3d;
12886
12886
  let group2tpl = {};
12887
- group2tpl['V'] = ['CD28_1yjdC_human_V', 'CD2_1hnfA_human_V-n1', 'CD8a_1cd8A_human_V', 'FAB-HEAVY_5esv_V-n1', 'FAB-LIGHT_5esv_V-n1', 'ICOS_6x4gA_human_V', 'LAG3_7tzgD_human_V-n1', 'PDL1_4z18B_human_V-n1', 'PD1_4zqkB_human_V', 'TCRa_6jxrm_human_V-n1', 'VISTA_6oilA_human_V', 'VNAR_1t6vN_shark_V'];
12888
- group2tpl['C1'] = ['B2Microglobulin_7phrL_human_C1', 'FAB-LIGHT_5esv_C1-n2', 'FAB-HEAVY_5esv_C1-n2', 'GHR_1axiB_human_FN3-n1', 'MHCIa_7phrH_human_C1', 'TCRa_6jxrm_human_C1-n2', 'VTCN1_Q7Z7D3_human_V-n2'];
12889
- group2tpl['C2'] = ['CD2_1hnfA_human_C2-n2', 'Contactin1_3s97C_human_C2-n2', 'LAG3_7tzgD_human_C2-n2', 'Siglec3_5j0bB_human_C2-n2'];
12890
- group2tpl['I'] = ['BTLA_2aw2A_human_Iset', 'CD19_6al5A_human_C2orV-n1', 'JAM1_1nbqA_human_VorIset-n2', 'Palladin_2dm3A_human_Iset-n1', 'Titin_4uowM_human_Unk-n152'];
12891
- group2tpl['E'] = ['ASF1A_2iijA_human', 'CoAtomerGamma1_1r4xA_human', 'Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', 'IsdA_2iteA_bacteria', 'MPT63_1lmiA_bacteria', 'NaCaExchanger_2fwuA_dog_n2', 'NaKATPaseTransporterBeta_2zxeB_spurdogshark', 'TP34_2o6cA_bacteria', 'TP47_1o75A_bacteria', 'TEAD1_3kysC_human'];
12887
+ group2tpl['IgV'] = ['CD28_1yjdC_human_V', 'CD2_1hnfA_human_V-n1', 'CD8a_1cd8A_human_V', 'FAB-HEAVY_5esv_V-n1', 'FAB-LIGHT_5esv_V-n1', 'ICOS_6x4gA_human_V', 'LAG3_7tzgD_human_V-n1', 'PD1_4zqkB_human_V', 'PDL1_4z18B_human_V-n1', 'TCRa_6jxrm_human_V-n1', 'VISTA_6oilA_human_V', 'VNAR_1t6vN_shark_V'];
12888
+ group2tpl['IgC1'] = ['B2Microglobulin_7phrL_human_C1', 'CD3d_6jxrd_human_C1', 'CD3e_6jxrf_human_C1', 'FAB-LIGHT_5esv_C1-n2', 'FAB-HEAVY_5esv_C1-n2', 'GHR_1axiB_human_C1-n1', 'LAG3_7tzgD_human_C1-n2', 'MHCIa_7phrH_human_C1', 'Siglec3_5j0bB_human_C1-n2', 'TCRa_6jxrm_human_C1-n2', 'VTCN1_Q7Z7D3_human_C1-n2'];
12889
+ group2tpl['IgC2'] = ['CD2_1hnfA_human_C2-n2', 'CD3g_6jxrg_human_C2'];
12890
+ group2tpl['IgI'] = ['BTLA_2aw2A_human_Iset', 'Contactin1_3s97C_human_Iset-n2', 'JAM1_1nbqA_human_Iset-n2', 'Palladin_2dm3A_human_Iset-n1', 'Titin_4uowM_human_Iset-n152'];
12891
+ group2tpl['IgE'] = ['CoAtomerGamma1_1r4xA_human', 'Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', 'IsdA_2iteA_bacteria', 'NaKATPaseTransporterBeta_2zxeB_spurdogshark', 'TP34_2o6cA_bacteria', 'TP47_1o75A_bacteria'];
12892
12892
 
12893
- group2tpl['FN3'] = ['Contactin1_2ee2A_human_FN3-n9', 'IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3', 'InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2', 'Sidekick2_1wf5A_human_FN3-n7'];
12893
+ group2tpl['IgFN3'] = ['Contactin1_2ee2A_human_FN3-n9', 'IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3', 'InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2', 'Sidekick2_1wf5A_human_FN3-n7'];
12894
12894
 
12895
- group2tpl['FN3-like'] = ['BArrestin1_4jqiA_rat_n1', 'C3_2qkiD_human_n1', 'RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2'];
12895
+ group2tpl['IgFN3-like'] = ['ASF1A_2iijA_human', 'BArrestin1_4jqiA_rat_n1', 'C3_2qkiD_human_n1', 'MPT63_1lmiA_bacteria', 'NaCaExchanger_2fwuA_dog_n2', 'RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2', 'TEAD1_3kysC_human'];
12896
12896
 
12897
- group2tpl['Other'] = ['CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'LaminAC_1ifrA_human', 'ORF7a_1xakA_virus'];
12897
+ group2tpl['Other Ig'] = ['CD19_6al5A_human-n1', 'CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'LaminAC_1ifrA_human', 'ORF7a_1xakA_virus'];
12898
12898
 
12899
12899
  let tpl2strandsig = {};
12900
12900
  tpl2strandsig['ASF1A_2iijA_human'] = "A A' B C C' E F G G+";
@@ -12902,17 +12902,17 @@ class SetDialog {
12902
12902
  tpl2strandsig['BArrestin1_4jqiA_rat_n1'] = "A- A A' B C C' E F G";
12903
12903
  tpl2strandsig['BTLA_2aw2A_human_Iset'] = "A A' B C C' D E F G";
12904
12904
  tpl2strandsig['C3_2qkiD_human_n1'] = "A A' B C C' E F G";
12905
- tpl2strandsig['CD19_6al5A_human_C2orV-n1'] = "A' B C C' D E F G";
12905
+ tpl2strandsig['CD19_6al5A_human-n1'] = "A' B C C' D E F G";
12906
12906
  tpl2strandsig['CD28_1yjdC_human_V'] = "A A' B C C' C'' D E F G";
12907
12907
  tpl2strandsig['CD2_1hnfA_human_C2-n2'] = "A B C C' E F G";
12908
12908
  tpl2strandsig['CD2_1hnfA_human_V-n1'] = "A' B C C' C'' D E F G";
12909
- tpl2strandsig['CD3d_6jxrd_human_Iset'] = "A B C D E F G";
12910
- tpl2strandsig['CD3e_6jxrf_human_Iset'] = "A B C C' D E F G";
12911
- tpl2strandsig['CD3g_6jxrg_human_Iset'] = "A B C C' E F G G+";
12909
+ tpl2strandsig['CD3d_6jxrd_human_C1'] = "A B C D E F G";
12910
+ tpl2strandsig['CD3e_6jxrf_human_C1'] = "A B C C' D E F G";
12911
+ tpl2strandsig['CD3g_6jxrg_human_C2'] = "A B C C' E F G G+";
12912
12912
  tpl2strandsig['CD8a_1cd8A_human_V'] = "A A' B C C' C'' D E F G";
12913
12913
  tpl2strandsig['CoAtomerGamma1_1r4xA_human'] = "A- A B C D E F G";
12914
12914
  tpl2strandsig['Contactin1_2ee2A_human_FN3-n9'] = "A A' B C C' E F G";
12915
- tpl2strandsig['Contactin1_3s97C_human_C2-n2'] = "A A' B C D E F G";
12915
+ tpl2strandsig['Contactin1_3s97C_human_Iset-n2'] = "A A' B C D E F G";
12916
12916
  tpl2strandsig['CuZnSuperoxideDismutase_1hl5C_human'] = "A- A B C C' E F G";
12917
12917
  tpl2strandsig['ECadherin_4zt1A_human_n2'] = "A' B C D E F G";
12918
12918
  tpl2strandsig['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'] = "A--- A-- A- A B C C' C'' D E F G";
@@ -12920,15 +12920,15 @@ class SetDialog {
12920
12920
  tpl2strandsig['FAB-HEAVY_5esv_V-n1'] = "A B C C' C'' D E F G";
12921
12921
  tpl2strandsig['FAB-LIGHT_5esv_C1-n2'] = "A B C C' E F G";
12922
12922
  tpl2strandsig['FAB-LIGHT_5esv_V-n1'] = "A A' B C C' C'' D E F G";
12923
- tpl2strandsig['GHR_1axiB_human_FN3-n1'] = "A B C C' D E F G";
12923
+ tpl2strandsig['GHR_1axiB_human_C1-n1'] = "A B C C' D E F G";
12924
12924
  tpl2strandsig['ICOS_6x4gA_human_V'] = "A B C C' C'' D E F G";
12925
12925
  tpl2strandsig['IL6Rb_1bquB_human_FN3-n2'] = "A B C C' E F G";
12926
12926
  tpl2strandsig['IL6Rb_1bquB_human_FN3-n3'] = "A B C C' E F G";
12927
12927
  tpl2strandsig['InsulinR_8guyE_human_FN3-n1'] = "A B C C' E F G";
12928
12928
  tpl2strandsig['InsulinR_8guyE_human_FN3-n2'] = "A B C C' E F G";
12929
12929
  tpl2strandsig['IsdA_2iteA_bacteria'] = "A- A B C C' D E F G";
12930
- tpl2strandsig['JAM1_1nbqA_human_VorIset-n2'] = "A A' B C C' D E F G";
12931
- tpl2strandsig['LAG3_7tzgD_human_C2-n2'] = "A A' B C C' D E F G";
12930
+ tpl2strandsig['JAM1_1nbqA_human_Iset-n2'] = "A A' B C C' D E F G";
12931
+ tpl2strandsig['LAG3_7tzgD_human_C1-n2'] = "A A' B C C' D E F G";
12932
12932
  tpl2strandsig['LAG3_7tzgD_human_V-n1'] = "A' B C C' D E F G";
12933
12933
  tpl2strandsig['LaminAC_1ifrA_human'] = "A- A B C C' E E+ F G";
12934
12934
  tpl2strandsig['MHCIa_7phrH_human_C1'] = "A B C C' D E F G";
@@ -12942,16 +12942,16 @@ class SetDialog {
12942
12942
  tpl2strandsig['RBPJ_6py8C_human_Unk-n1'] = "A A' B C C' E F G";
12943
12943
  tpl2strandsig['RBPJ_6py8C_human_Unk-n2'] = "A B C D E F G";
12944
12944
  tpl2strandsig['Sidekick2_1wf5A_human_FN3-n7'] = "A B C C' E F G";
12945
- tpl2strandsig['Siglec3_5j0bB_human_C2-n2'] = "A A' B C D E F G";
12945
+ tpl2strandsig['Siglec3_5j0bB_human_C1-n2'] = "A A' B C D E F G";
12946
12946
  tpl2strandsig['TCRa_6jxrm_human_C1-n2'] = "A B C D E F G";
12947
12947
  tpl2strandsig['TCRa_6jxrm_human_V-n1'] = "A A' B C C' C'' D E F G";
12948
12948
  tpl2strandsig['TEAD1_3kysC_human'] = "A A+ A' B C C' E F G G+";
12949
12949
  tpl2strandsig['TP34_2o6cA_bacteria'] = "A- A B C C' D E F G";
12950
12950
  tpl2strandsig['TP47_1o75A_bacteria'] = "A B C C' D E F G";
12951
- tpl2strandsig['Titin_4uowM_human_Unk-n152'] = "A A' B C C' D E F G";
12951
+ tpl2strandsig['Titin_4uowM_human_Iset-n152'] = "A A' B C C' D E F G";
12952
12952
  tpl2strandsig['VISTA_6oilA_human_V'] = "A A' B C C' C'' D E F G G+";
12953
12953
  tpl2strandsig['VNAR_1t6vN_shark_V'] = "A A' B C C' D E F G";
12954
- tpl2strandsig['VTCN1_Q7Z7D3_human_V-n2'] = "A B C C' D E F G G+";
12954
+ tpl2strandsig['VTCN1_Q7Z7D3_human_C1-n2'] = "A B C C' D E F G G+";
12955
12955
 
12956
12956
  let html = '';
12957
12957
  for(let group in group2tpl) {
@@ -15894,7 +15894,7 @@ class AlignSeq {
15894
15894
  alignChainArray = Object.keys(ic.alnChains);
15895
15895
 
15896
15896
  if (bReverse) alignChainArray = alignChainArray.reverse();
15897
-
15897
+
15898
15898
  let maxSeqCnt = 0;
15899
15899
 
15900
15900
  let chainHash = {};
@@ -38621,8 +38621,6 @@ class AnnoIg {
38621
38621
  $("#" + ic.pre + "dt_" + type + "_" + chnid).html(html);
38622
38622
  $("#" + ic.pre + "ov_" + type + "_" + chnid).html(html2);
38623
38623
  $("#" + ic.pre + "tt_" + type + "_" + chnid).html(html3);
38624
-
38625
- ic.bRunRefnumAgain = false;
38626
38624
  }
38627
38625
 
38628
38626
  showAllRefNum(giSeq, chnid) { let ic = this.icn3d; ic.icn3dui;
@@ -43410,7 +43408,7 @@ class Annotation {
43410
43408
 
43411
43409
  ic.bRunRefnumAgain = true;
43412
43410
  await this.updateIg();
43413
- // ic.bRunRefnumAgain = false;
43411
+ ic.bRunRefnumAgain = false;
43414
43412
 
43415
43413
  this.updateInteraction();
43416
43414
  }
@@ -43492,8 +43490,9 @@ class Annotation {
43492
43490
 
43493
43491
  $("[id^=" + ic.pre + "transmem]").show();
43494
43492
  }
43495
- if($("#" + ic.pre + "anno_ig").length && $("#" + ic.pre + "anno_ig")[0].checked) {
43496
- // ic.bRunRefnumAgain = true;
43493
+ if($("#" + ic.pre + "anno_ig").length && $("#" + ic.pre + "anno_ig")[0].checked || ic.bShowRefnum) {
43494
+ // no need to redo ref num calculation
43495
+ ic.bRunRefnumAgain = false;
43497
43496
 
43498
43497
  await this.updateIg();
43499
43498
 
@@ -43606,6 +43605,7 @@ class Annotation {
43606
43605
  if($("#" + ic.pre + "anno_transmem").length) $("#" + ic.pre + "anno_transmem")[0].checked = false;
43607
43606
  }
43608
43607
  async setAnnoTabIg(bSelection, template) { let ic = this.icn3d; ic.icn3dui;
43608
+
43609
43609
  await this.updateIg(bSelection, template);
43610
43610
 
43611
43611
  $("[id^=" + ic.pre + "ig]").show();
@@ -43768,7 +43768,7 @@ class Annotation {
43768
43768
  await thisClass.setAnnoTabIg();
43769
43769
  me.htmlCls.clickMenuCls.setLogCmd("set annotation ig", true);
43770
43770
 
43771
- // ic.bRunRefnumAgain = false;
43771
+ ic.bRunRefnumAgain = false;
43772
43772
  }
43773
43773
  else {
43774
43774
  thisClass.hideAnnoTabIg();
@@ -49992,7 +49992,7 @@ class ChainalignParser {
49992
49992
  await this.downloadChainalignmentPart3(chainresiCalphaHash2, chainidArray, ic.hAtoms);
49993
49993
  }
49994
49994
 
49995
- setMsa(chainidArray, bVastplus, bRealign) { let ic = this.icn3d, me = ic.icn3dui;
49995
+ setMsa(chainidArray, bVastplus, bRealign) { let ic = this.icn3d, me = ic.icn3dui;
49996
49996
  // get aligned length for each pair
49997
49997
  let index_alignLen = [];
49998
49998
  for(let index = 1, indexl = chainidArray.length; index < indexl; ++index) {
@@ -50815,6 +50815,7 @@ class ChainalignParser {
50815
50815
  // vastplusAtype: 0: VAST, global, 1: VAST, invarant core, 2: TM-align, global
50816
50816
  // VAST+ on the fly
50817
50817
  let structArray = Object.keys(ic.structures);
50818
+ if(vastplusAtype == 2) me.cfg.aligntool = 'tmalign';
50818
50819
  await ic.vastplusCls.vastplusAlign(structArray, vastplusAtype);
50819
50820
  }
50820
50821
 
@@ -56583,7 +56584,8 @@ class ParserUtils {
56583
56584
 
56584
56585
  // display the structure right away. load the mns and sequences later
56585
56586
  setTimeout(async function(){
56586
- if(ic.bInitial) {
56587
+ if(ic.bInitial) {
56588
+ // if(!ic.bAnnoShown || ic.bResetAnno) {
56587
56589
  // if(me.cfg.showsets) {
56588
56590
  // ic.definedSetsCls.showSets();
56589
56591
  // }
@@ -58257,7 +58259,14 @@ class SetSeqAlign {
58257
58259
  // resi = ic.qt_start_end[chainIndex][i].t_start;
58258
58260
  // }
58259
58261
  // else {
58260
- let resiPos = (bRealign || me.cfg.aligntool != 'tmalign') ? j : j - baseResi;
58262
+ // let resiPos = (bRealign || me.cfg.aligntool != 'tmalign') ? j : j - baseResi;
58263
+ let resiPos;
58264
+ if(me.cfg.aligntool == 'tmalign') {
58265
+ resiPos = j - baseResi;
58266
+ }
58267
+ else {
58268
+ resiPos = (bRealign) ? j : j - baseResi;
58269
+ }
58261
58270
  resi = ic.ParserUtilsCls.getResi(chainidArray[0], resiPos);
58262
58271
  // }
58263
58272
 
@@ -60051,6 +60060,7 @@ class Vastplus {
60051
60060
  }
60052
60061
 
60053
60062
  let bRealign = true, atype = 2; // VAST+ based on TM-align
60063
+ me.cfg.aligntool = 'tmalign';
60054
60064
  await ic.vastplusCls.vastplusAlign(Object.keys(structHash), atype, bRealign);
60055
60065
  }
60056
60066
 
@@ -60995,7 +61005,7 @@ class ApplyCommand {
60995
61005
  else if(command == 'set annotation ig') {
60996
61006
  ic.bRunRefnumAgain = true;
60997
61007
  await ic.annotationCls.setAnnoTabIg();
60998
- // ic.bRunRefnumAgain = false;
61008
+ ic.bRunRefnumAgain = false;
60999
61009
  }
61000
61010
  else if(command == 'ig refnum on') {
61001
61011
  ic.bRunRefnumAgain = true;
@@ -61003,7 +61013,7 @@ class ApplyCommand {
61003
61013
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
61004
61014
  await ic.annotationCls.setAnnoTabIg(true);
61005
61015
 
61006
- // ic.bRunRefnumAgain = false;
61016
+ ic.bRunRefnumAgain = false;
61007
61017
  }
61008
61018
  else if(command == 'highlight level up') {
61009
61019
  ic.resid2specCls.switchHighlightLevelUp();
@@ -63726,7 +63736,7 @@ class LoadScript {
63726
63736
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
63727
63737
  await ic.annotationCls.setAnnoTabIg(true);
63728
63738
 
63729
- // ic.bRunRefnumAgain = false;
63739
+ ic.bRunRefnumAgain = false;
63730
63740
  }
63731
63741
  else if(lastCommand.indexOf('set annotation 3ddomain') == 0) {
63732
63742
  thisClass.applyCommand3ddomain(lastCommand);
@@ -66753,7 +66763,7 @@ class Dssp {
66753
66763
 
66754
66764
  setRefPdbs() { let ic = this.icn3d; ic.icn3dui;
66755
66765
  // round 1, 16 templates
66756
- ic.refpdbArray = ['1InsulinR_8guyE_human_FN3-n1', '1Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', '1CoAtomerGamma1_1r4xA_human', '1C3_2qkiD_human_n1', '1CuZnSuperoxideDismutase_1hl5C_human', '1ASF1A_2iijA_human', '1FAB-LIGHT_5esv_C1-n2', '1CD2_1hnfA_human_C2-n2', '1NaCaExchanger_2fwuA_dog_n2', '1NaKATPaseTransporterBeta_2zxeB_spurdogshark', '1FAB-HEAVY_5esv_V-n1', '1PDL1_4z18B_human_V-n1', '1BTLA_2aw2A_human_Iset', '1LaminAC_1ifrA_human', '1CD3g_6jxrg_human_Iset', '1CD28_1yjdC_human_V', '1CD19_6al5A_human_C2orV-n1'];
66766
+ ic.refpdbArray = ['1InsulinR_8guyE_human_FN3-n1', '1Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', '1CoAtomerGamma1_1r4xA_human', '1C3_2qkiD_human_n1', '1CuZnSuperoxideDismutase_1hl5C_human', '1ASF1A_2iijA_human', '1FAB-LIGHT_5esv_C1-n2', '1CD2_1hnfA_human_C2-n2', '1NaCaExchanger_2fwuA_dog_n2', '1NaKATPaseTransporterBeta_2zxeB_spurdogshark', '1FAB-HEAVY_5esv_V-n1', '1PDL1_4z18B_human_V-n1', '1BTLA_2aw2A_human_Iset', '1LaminAC_1ifrA_human', '1CD3g_6jxrg_human_C2', '1CD28_1yjdC_human_V', '1CD19_6al5A_human-n1'];
66757
66767
 
66758
66768
  // round 2
66759
66769
  ic.refpdbHash = {};
@@ -66763,19 +66773,19 @@ class Dssp {
66763
66773
  ic.refpdbHash['1C3_2qkiD_human_n1'] = ['C3_2qkiD_human_n1', 'BArrestin1_4jqiA_rat_n1', 'RBPJ_6py8C_human_Unk-n1'];
66764
66774
  ic.refpdbHash['1CuZnSuperoxideDismutase_1hl5C_human'] = ['CuZnSuperoxideDismutase_1hl5C_human', 'TEAD1_3kysC_human'];
66765
66775
  ic.refpdbHash['1ASF1A_2iijA_human'] = ['ASF1A_2iijA_human', 'RBPJ_6py8C_human_Unk-n2', 'TP47_1o75A_bacteria'];
66766
- ic.refpdbHash['1FAB-LIGHT_5esv_C1-n2'] = ['FAB-LIGHT_5esv_C1-n2', 'GHR_1axiB_human_FN3-n1', 'VTCN1_Q7Z7D3_human_V-n2', 'B2Microglobulin_7phrL_human_C1', 'FAB-HEAVY_5esv_C1-n2', 'MHCIa_7phrH_human_C1'];
66767
- ic.refpdbHash['1CD2_1hnfA_human_C2-n2'] = ['CD2_1hnfA_human_C2-n2', 'Siglec3_5j0bB_human_C2-n2'];
66776
+ ic.refpdbHash['1FAB-LIGHT_5esv_C1-n2'] = ['FAB-LIGHT_5esv_C1-n2', 'GHR_1axiB_human_C1-n1', 'VTCN1_Q7Z7D3_human_C1-n2', 'B2Microglobulin_7phrL_human_C1', 'FAB-HEAVY_5esv_C1-n2', 'MHCIa_7phrH_human_C1'];
66777
+ ic.refpdbHash['1CD2_1hnfA_human_C2-n2'] = ['CD2_1hnfA_human_C2-n2', 'Siglec3_5j0bB_human_C1-n2'];
66768
66778
  ic.refpdbHash['1NaCaExchanger_2fwuA_dog_n2'] = ['NaCaExchanger_2fwuA_dog_n2', 'ORF7a_1xakA_virus', 'ECadherin_4zt1A_human_n2'];
66769
66779
  ic.refpdbHash['1NaKATPaseTransporterBeta_2zxeB_spurdogshark'] = ['NaKATPaseTransporterBeta_2zxeB_spurdogshark'];
66770
66780
  ic.refpdbHash['1FAB-HEAVY_5esv_V-n1'] = ['FAB-HEAVY_5esv_V-n1', 'FAB-LIGHT_5esv_V-n1', 'VNAR_1t6vN_shark_V', 'TCRa_6jxrm_human_V-n1', 'VISTA_6oilA_human_V', 'CD8a_1cd8A_human_V', 'PD1_4zqkB_human_V'];
66771
66781
  ic.refpdbHash['1PDL1_4z18B_human_V-n1'] = ['PDL1_4z18B_human_V-n1', 'CD2_1hnfA_human_V-n1', 'LAG3_7tzgD_human_V-n1'];
66772
- ic.refpdbHash['1BTLA_2aw2A_human_Iset'] = ['BTLA_2aw2A_human_Iset', 'Palladin_2dm3A_human_Iset-n1', 'Titin_4uowM_human_Unk-n152', 'LAG3_7tzgD_human_C2-n2', 'JAM1_1nbqA_human_VorIset-n2', 'Contactin1_3s97C_human_C2-n2'];
66773
- ic.refpdbHash['1LaminAC_1ifrA_human'] = ['LaminAC_1ifrA_human', 'CD3d_6jxrd_human_Iset'];
66774
- ic.refpdbHash['1CD3g_6jxrg_human_Iset'] = ['CD3g_6jxrg_human_Iset', 'TCRa_6jxrm_human_C1-n2', 'IsdA_2iteA_bacteria'];
66775
- ic.refpdbHash['1CD28_1yjdC_human_V'] = ['CD28_1yjdC_human_V', 'MPT63_1lmiA_bacteria', 'CD3e_6jxrf_human_Iset'];
66776
- ic.refpdbHash['1CD19_6al5A_human_C2orV-n1'] = ['CD19_6al5A_human_C2orV-n1'];
66782
+ ic.refpdbHash['1BTLA_2aw2A_human_Iset'] = ['BTLA_2aw2A_human_Iset', 'Palladin_2dm3A_human_Iset-n1', 'Titin_4uowM_human_Iset-n152', 'LAG3_7tzgD_human_C1-n2', 'JAM1_1nbqA_human_Iset-n2', 'Contactin1_3s97C_human_Iset-n2'];
66783
+ ic.refpdbHash['1LaminAC_1ifrA_human'] = ['LaminAC_1ifrA_human', 'CD3d_6jxrd_human_C1'];
66784
+ ic.refpdbHash['1CD3g_6jxrg_human_C2'] = ['CD3g_6jxrg_human_C2', 'TCRa_6jxrm_human_C1-n2', 'IsdA_2iteA_bacteria'];
66785
+ ic.refpdbHash['1CD28_1yjdC_human_V'] = ['CD28_1yjdC_human_V', 'MPT63_1lmiA_bacteria', 'CD3e_6jxrf_human_C1'];
66786
+ ic.refpdbHash['1CD19_6al5A_human-n1'] = ['CD19_6al5A_human-n1'];
66777
66787
 
66778
- ic.refpdbHash['all_templates'] = ['ASF1A_2iijA_human', 'B2Microglobulin_7phrL_human_C1', 'BArrestin1_4jqiA_rat_n1', 'BTLA_2aw2A_human_Iset', 'C3_2qkiD_human_n1', 'CD19_6al5A_human_C2orV-n1', 'CD28_1yjdC_human_V', 'CD2_1hnfA_human_C2-n2', 'CD2_1hnfA_human_V-n1', 'CD3d_6jxrd_human_Iset', 'CD3e_6jxrf_human_Iset', 'CD3g_6jxrg_human_Iset', 'CD8a_1cd8A_human_V', 'CoAtomerGamma1_1r4xA_human', 'Contactin1_2ee2A_human_FN3-n9', 'Contactin1_3s97C_human_C2-n2', 'CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', 'FAB-HEAVY_5esv_C1-n2', 'FAB-HEAVY_5esv_V-n1', 'FAB-LIGHT_5esv_C1-n2', 'FAB-LIGHT_5esv_V-n1', 'GHR_1axiB_human_FN3-n1', 'ICOS_6x4gA_human_V', 'IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3', 'InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2', 'IsdA_2iteA_bacteria', 'JAM1_1nbqA_human_VorIset-n2', 'LAG3_7tzgD_human_C2-n2', 'LAG3_7tzgD_human_V-n1', 'LaminAC_1ifrA_human', 'MHCIa_7phrH_human_C1', 'MPT63_1lmiA_bacteria', 'NaCaExchanger_2fwuA_dog_n2', 'NaKATPaseTransporterBeta_2zxeB_spurdogshark', 'ORF7a_1xakA_virus', 'PD1_4zqkB_human_V', 'PDL1_4z18B_human_V-n1', 'Palladin_2dm3A_human_Iset-n1', 'RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2', 'Sidekick2_1wf5A_human_FN3-n7', 'Siglec3_5j0bB_human_C2-n2', 'TCRa_6jxrm_human_C1-n2', 'TCRa_6jxrm_human_V-n1', 'TEAD1_3kysC_human', 'TP34_2o6cA_bacteria', 'TP47_1o75A_bacteria', 'Titin_4uowM_human_Unk-n152', 'VISTA_6oilA_human_V', 'VNAR_1t6vN_shark_V', 'VTCN1_Q7Z7D3_human_V-n2'];
66788
+ ic.refpdbHash['all_templates'] = ['ASF1A_2iijA_human', 'B2Microglobulin_7phrL_human_C1', 'BArrestin1_4jqiA_rat_n1', 'BTLA_2aw2A_human_Iset', 'C3_2qkiD_human_n1', 'CD19_6al5A_human-n1', 'CD28_1yjdC_human_V', 'CD2_1hnfA_human_C2-n2', 'CD2_1hnfA_human_V-n1', 'CD3d_6jxrd_human_C1', 'CD3e_6jxrf_human_C1', 'CD3g_6jxrg_human_C2', 'CD8a_1cd8A_human_V', 'CoAtomerGamma1_1r4xA_human', 'Contactin1_2ee2A_human_FN3-n9', 'Contactin1_3s97C_human_Iset-n2', 'CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', 'FAB-HEAVY_5esv_C1-n2', 'FAB-HEAVY_5esv_V-n1', 'FAB-LIGHT_5esv_C1-n2', 'FAB-LIGHT_5esv_V-n1', 'GHR_1axiB_human_C1-n1', 'ICOS_6x4gA_human_V', 'IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3', 'InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2', 'IsdA_2iteA_bacteria', 'JAM1_1nbqA_human_Iset-n2', 'LAG3_7tzgD_human_C1-n2', 'LAG3_7tzgD_human_V-n1', 'LaminAC_1ifrA_human', 'MHCIa_7phrH_human_C1', 'MPT63_1lmiA_bacteria', 'NaCaExchanger_2fwuA_dog_n2', 'NaKATPaseTransporterBeta_2zxeB_spurdogshark', 'ORF7a_1xakA_virus', 'PD1_4zqkB_human_V', 'PDL1_4z18B_human_V-n1', 'Palladin_2dm3A_human_Iset-n1', 'RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2', 'Sidekick2_1wf5A_human_FN3-n7', 'Siglec3_5j0bB_human_C1-n2', 'TCRa_6jxrm_human_C1-n2', 'TCRa_6jxrm_human_V-n1', 'TEAD1_3kysC_human', 'TP34_2o6cA_bacteria', 'TP47_1o75A_bacteria', 'Titin_4uowM_human_Iset-n152', 'VISTA_6oilA_human_V', 'VNAR_1t6vN_shark_V', 'VTCN1_Q7Z7D3_human_C1-n2'];
66779
66789
 
66780
66790
  // use known ref structure
66781
66791
  ic.refpdbHash['5ESV_C'] = ['FAB-HEAVY_5esv_V-n1', 'FAB-HEAVY_5esv_C1-n2'];
@@ -66783,7 +66793,7 @@ class Dssp {
66783
66793
  ic.refpdbHash['8GUY_E'] = ['InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2'];
66784
66794
  ic.refpdbHash['6JXR_m'] = ['TCRa_6jxrm_human_V-n1', 'TCRa_6jxrm_human_C1-n2'];
66785
66795
  ic.refpdbHash['1HNF_A'] = ['CD2_1hnfA_human_V-n1', 'CD2_1hnfA_human_C2-n2'];
66786
- ic.refpdbHash['7TZG_D'] = ['LAG3_7tzgD_human_V-n1', 'LAG3_7tzgD_human_C2-n2'];
66796
+ ic.refpdbHash['7TZG_D'] = ['LAG3_7tzgD_human_V-n1', 'LAG3_7tzgD_human_C1-n2'];
66787
66797
  ic.refpdbHash['6PY8_C'] = ['RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2'];
66788
66798
  ic.refpdbHash['1BQU_B'] = ['IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3'];
66789
66799
 
@@ -66793,7 +66803,7 @@ class Dssp {
66793
66803
  ic.refpdbHash['1I8A_A'] = ['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'];
66794
66804
  ic.refpdbHash['2FWU_A'] = ['NaCaExchanger_2fwuA_dog_n2'];
66795
66805
  ic.refpdbHash['4JQI_A'] = ['BArrestin1_4jqiA_rat_n1'];
66796
- ic.refpdbHash['1NBQ_A'] = ['JAM1_1nbqA_human_VorIset-n2'];
66806
+ ic.refpdbHash['1NBQ_A'] = ['JAM1_1nbqA_human_Iset-n2'];
66797
66807
  ic.refpdbHash['1O75_A'] = ['TP47_1o75A_bacteria'];
66798
66808
  ic.refpdbHash['7PHR_H'] = ['MHCIa_7phrH_human_C1'];
66799
66809
  ic.refpdbHash['2IIJ_A'] = ['ASF1A_2iijA_human'];
@@ -66805,9 +66815,9 @@ class Dssp {
66805
66815
  ic.refpdbHash['2AW2_A'] = ['BTLA_2aw2A_human_Iset'];
66806
66816
  ic.refpdbHash['1HL5_C'] = ['CuZnSuperoxideDismutase_1hl5C_human'];
66807
66817
  ic.refpdbHash['1WF5_A'] = ['Sidekick2_1wf5A_human_FN3-n7'];
66808
- ic.refpdbHash['5J0B_B'] = ['Siglec3_5j0bB_human_C2-n2'];
66818
+ ic.refpdbHash['5J0B_B'] = ['Siglec3_5j0bB_human_C1-n2'];
66809
66819
  ic.refpdbHash['1IFR_A'] = ['LaminAC_1ifrA_human'];
66810
- ic.refpdbHash['Q7Z7D3_A'] = ['VTCN1_Q7Z7D3_human_V-n2'];
66820
+ ic.refpdbHash['Q7Z7D3_A'] = ['VTCN1_Q7Z7D3_human_C1-n2'];
66811
66821
  ic.refpdbHash['4ZQK_B'] = ['PD1_4zqkB_human_V'];
66812
66822
  ic.refpdbHash['2DM3_A'] = ['Palladin_2dm3A_human_Iset-n1'];
66813
66823
  ic.refpdbHash['2ITE_A'] = ['IsdA_2iteA_bacteria'];
@@ -66815,17 +66825,17 @@ class Dssp {
66815
66825
  ic.refpdbHash['4ZT1_A'] = ['ECadherin_4zt1A_human_n2'];
66816
66826
  ic.refpdbHash['1LMI_A'] = ['MPT63_1lmiA_bacteria'];
66817
66827
  ic.refpdbHash['1CD8_A'] = ['CD8a_1cd8A_human_V'];
66818
- ic.refpdbHash['3S97_C'] = ['Contactin1_3s97C_human_C2-n2'];
66819
- ic.refpdbHash['1AXI_B'] = ['GHR_1axiB_human_FN3-n1'];
66828
+ ic.refpdbHash['3S97_C'] = ['Contactin1_3s97C_human_Iset-n2'];
66829
+ ic.refpdbHash['1AXI_B'] = ['GHR_1axiB_human_C1-n1'];
66820
66830
  ic.refpdbHash['6X4G_A'] = ['ICOS_6x4gA_human_V'];
66821
66831
  ic.refpdbHash['2EE2_A'] = ['Contactin1_2ee2A_human_FN3-n9'];
66822
- ic.refpdbHash['4UOW_M'] = ['Titin_4uowM_human_Unk-n152'];
66823
- ic.refpdbHash['6A15_A'] = ['CD19_6al5A_human_C2orV-n1'];
66832
+ ic.refpdbHash['4UOW_M'] = ['Titin_4uowM_human_Iset-n152'];
66833
+ ic.refpdbHash['6A15_A'] = ['CD19_6al5A_human-n1'];
66824
66834
  ic.refpdbHash['2QKI_D'] = ['C3_2qkiD_human_n1'];
66825
66835
  ic.refpdbHash['1YJD_C'] = ['CD28_1yjdC_human_V'];
66826
- ic.refpdbHash['6JXR_d'] = ['CD3d_6jxrd_human_Iset'];
66827
- ic.refpdbHash['6JXR_f'] = ['CD3e_6jxrf_human_Iset'];
66828
- ic.refpdbHash['6JXR_g'] = ['CD3g_6jxrg_human_Iset'];
66836
+ ic.refpdbHash['6JXR_d'] = ['CD3d_6jxrd_human_C1'];
66837
+ ic.refpdbHash['6JXR_f'] = ['CD3e_6jxrf_human_C1'];
66838
+ ic.refpdbHash['6JXR_g'] = ['CD3g_6jxrg_human_C2'];
66829
66839
 
66830
66840
  // assign Ig types
66831
66841
  ic.ref2igtype = {};
@@ -66835,17 +66845,17 @@ class Dssp {
66835
66845
  ic.ref2igtype['BArrestin1_4jqiA_rat_n1'] = 'IgFN3-like';
66836
66846
  ic.ref2igtype['BTLA_2aw2A_human_Iset'] = 'IgI';
66837
66847
  ic.ref2igtype['C3_2qkiD_human_n1'] = 'IgFN3-like';
66838
- ic.ref2igtype['CD19_6al5A_human_C2orV-n1'] = 'CD19';
66848
+ ic.ref2igtype['CD19_6al5A_human-n1'] = 'CD19';
66839
66849
  ic.ref2igtype['CD28_1yjdC_human_V'] = 'IgV';
66840
66850
  ic.ref2igtype['CD2_1hnfA_human_C2-n2'] = 'IgC2';
66841
66851
  ic.ref2igtype['CD2_1hnfA_human_V-n1'] = 'IgV';
66842
- ic.ref2igtype['CD3d_6jxrd_human_Iset'] = 'IgI';
66843
- ic.ref2igtype['CD3e_6jxrf_human_Iset'] = 'IgI';
66844
- ic.ref2igtype['CD3g_6jxrg_human_Iset'] = 'IgI';
66852
+ ic.ref2igtype['CD3d_6jxrd_human_C1'] = 'IgI';
66853
+ ic.ref2igtype['CD3e_6jxrf_human_C1'] = 'IgI';
66854
+ ic.ref2igtype['CD3g_6jxrg_human_C2'] = 'IgI';
66845
66855
  ic.ref2igtype['CD8a_1cd8A_human_V'] = 'IgV';
66846
66856
  ic.ref2igtype['CoAtomerGamma1_1r4xA_human'] = 'IgE';
66847
66857
  ic.ref2igtype['Contactin1_2ee2A_human_FN3-n9'] = 'IgFN3';
66848
- ic.ref2igtype['Contactin1_3s97C_human_C2-n2'] = 'IgC2';
66858
+ ic.ref2igtype['Contactin1_3s97C_human_Iset-n2'] = 'IgC2';
66849
66859
  ic.ref2igtype['CuZnSuperoxideDismutase_1hl5C_human'] = 'SOD';
66850
66860
  ic.ref2igtype['ECadherin_4zt1A_human_n2'] = 'Cadherin';
66851
66861
  ic.ref2igtype['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'] = 'IgE';
@@ -66853,15 +66863,15 @@ class Dssp {
66853
66863
  ic.ref2igtype['FAB-HEAVY_5esv_V-n1'] = 'IgV';
66854
66864
  ic.ref2igtype['FAB-LIGHT_5esv_C1-n2'] = 'IgC1';
66855
66865
  ic.ref2igtype['FAB-LIGHT_5esv_V-n1'] = 'IgV';
66856
- ic.ref2igtype['GHR_1axiB_human_FN3-n1'] = 'IgFN3';
66866
+ ic.ref2igtype['GHR_1axiB_human_C1-n1'] = 'IgFN3';
66857
66867
  ic.ref2igtype['ICOS_6x4gA_human_V'] = 'IgV';
66858
66868
  ic.ref2igtype['IL6Rb_1bquB_human_FN3-n2'] = 'IgFN3';
66859
66869
  ic.ref2igtype['IL6Rb_1bquB_human_FN3-n3'] = 'IgFN3';
66860
66870
  ic.ref2igtype['InsulinR_8guyE_human_FN3-n1'] = 'IgFN3';
66861
66871
  ic.ref2igtype['InsulinR_8guyE_human_FN3-n2'] = 'IgFN3';
66862
66872
  ic.ref2igtype['IsdA_2iteA_bacteria'] = 'IgE';
66863
- ic.ref2igtype['JAM1_1nbqA_human_VorIset-n2'] = 'IgI';
66864
- ic.ref2igtype['LAG3_7tzgD_human_C2-n2'] = 'IgC2';
66873
+ ic.ref2igtype['JAM1_1nbqA_human_Iset-n2'] = 'IgI';
66874
+ ic.ref2igtype['LAG3_7tzgD_human_C1-n2'] = 'IgC2';
66865
66875
  ic.ref2igtype['LAG3_7tzgD_human_V-n1'] = 'IgV';
66866
66876
  ic.ref2igtype['LaminAC_1ifrA_human'] = 'Lamin';
66867
66877
  ic.ref2igtype['MHCIa_7phrH_human_C1'] = 'IgC1';
@@ -66875,16 +66885,16 @@ class Dssp {
66875
66885
  ic.ref2igtype['RBPJ_6py8C_human_Unk-n1'] = 'IgFN3-like';
66876
66886
  ic.ref2igtype['RBPJ_6py8C_human_Unk-n2'] = 'IgFN3-like';
66877
66887
  ic.ref2igtype['Sidekick2_1wf5A_human_FN3-n7'] = 'IgFN3';
66878
- ic.ref2igtype['Siglec3_5j0bB_human_C2-n2'] = 'IgC2';
66888
+ ic.ref2igtype['Siglec3_5j0bB_human_C1-n2'] = 'IgC2';
66879
66889
  ic.ref2igtype['TCRa_6jxrm_human_C1-n2'] = 'IgC1';
66880
66890
  ic.ref2igtype['TCRa_6jxrm_human_V-n1'] = 'IgV';
66881
66891
  ic.ref2igtype['TEAD1_3kysC_human'] = 'IgE';
66882
66892
  ic.ref2igtype['TP34_2o6cA_bacteria'] = 'IgE';
66883
66893
  ic.ref2igtype['TP47_1o75A_bacteria'] = 'IgE';
66884
- ic.ref2igtype['Titin_4uowM_human_Unk-n152'] = 'IgI';
66894
+ ic.ref2igtype['Titin_4uowM_human_Iset-n152'] = 'IgI';
66885
66895
  ic.ref2igtype['VISTA_6oilA_human_V'] = 'IgV';
66886
66896
  ic.ref2igtype['VNAR_1t6vN_shark_V'] = 'IgV';
66887
- ic.ref2igtype['VTCN1_Q7Z7D3_human_V-n2'] = 'IgV';
66897
+ ic.ref2igtype['VTCN1_Q7Z7D3_human_C1-n2'] = 'IgV';
66888
66898
  }
66889
66899
 
66890
66900
  getPdbAjaxArray() { let ic = this.icn3d, me = ic.icn3dui;
@@ -67357,8 +67367,6 @@ class Dssp {
67357
67367
  }
67358
67368
  }
67359
67369
 
67360
- //!!!
67361
-
67362
67370
  // combine the top four clusters for the 2nd round alignment
67363
67371
  if(bRound1) {
67364
67372
  for(let domainid in domainid2refpdbnamelist) {
@@ -67601,7 +67609,7 @@ class Dssp {
67601
67609
 
67602
67610
  let currStrand;
67603
67611
 
67604
- // let bCd19 = refpdbnameArray.length == 1 && refpdbnameArray[0] == 'CD19_6al5A_human_C2orV-n1';
67612
+ // let bCd19 = refpdbnameArray.length == 1 && refpdbnameArray[0] == 'CD19_6al5A_human-n1';
67605
67613
  for(let i = 0, il = segArray.length; i < il; ++i) {
67606
67614
  let seg = segArray[i];
67607
67615
  if(!seg) continue;
@@ -68292,13 +68300,15 @@ class Dssp {
68292
68300
  if(i != il - 1) { // modify
68293
68301
  strandArray[i + 1].loopResCnt += strandArray[i].loopResCnt + parseInt(strandArray[i].endResi) - parseInt(strandArray[i].startResi) + 1;
68294
68302
  }
68303
+
68304
+ // assign before removing
68305
+ let resid = chnid + '_' + strandArray[i].startResi;
68295
68306
 
68296
68307
  strandArray.splice(i, 1);
68297
68308
 
68298
68309
  if(strandTmp == 'B' || strandTmp == 'C' || strandTmp == 'E' || strandTmp == 'F') {
68299
68310
  if(!me.bNode) console.log("Ig strand " + strandTmp + " is removed since it is too short...");
68300
68311
 
68301
- let resid = chnid + '_' + strandArray[i].startResi;
68302
68312
  let domainid = ic.resid2domainid[resid];
68303
68313
  removeDomainidHash[domainid] = 1;
68304
68314
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icn3d",
3
- "version": "3.30.3",
3
+ "version": "3.30.5",
4
4
  "main": "./icn3d.js",
5
5
  "exports": {
6
6
  ".": {