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.js CHANGED
@@ -5828,7 +5828,7 @@ class ClickMenu {
5828
5828
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
5829
5829
  await ic.annotationCls.setAnnoTabIg(bSelection, template);
5830
5830
 
5831
- // ic.bRunRefnumAgain = false;
5831
+ ic.bRunRefnumAgain = false;
5832
5832
  }
5833
5833
 
5834
5834
  clickMenu1() { let me = this.icn3dui; me.icn3d;
@@ -7414,7 +7414,7 @@ class ClickMenu {
7414
7414
  // ic.drawCls.draw();
7415
7415
  // }
7416
7416
 
7417
- // ic.bRunRefnumAgain = false;
7417
+ ic.bRunRefnumAgain = false;
7418
7418
  });
7419
7419
 
7420
7420
  me.myEventCls.onIds("#" + me.pre + "mn6_igrefTpl", "click", async function(e) { me.icn3d; //e.preventDefault();
@@ -11983,17 +11983,17 @@ class SetDialog {
11983
11983
 
11984
11984
  setTemplateMenu() { let me = this.icn3dui; me.icn3d;
11985
11985
  let group2tpl = {};
11986
- 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'];
11987
- 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'];
11988
- group2tpl['C2'] = ['CD2_1hnfA_human_C2-n2', 'Contactin1_3s97C_human_C2-n2', 'LAG3_7tzgD_human_C2-n2', 'Siglec3_5j0bB_human_C2-n2'];
11989
- 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'];
11990
- 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'];
11986
+ 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'];
11987
+ 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'];
11988
+ group2tpl['IgC2'] = ['CD2_1hnfA_human_C2-n2', 'CD3g_6jxrg_human_C2'];
11989
+ 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'];
11990
+ group2tpl['IgE'] = ['CoAtomerGamma1_1r4xA_human', 'Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4', 'IsdA_2iteA_bacteria', 'NaKATPaseTransporterBeta_2zxeB_spurdogshark', 'TP34_2o6cA_bacteria', 'TP47_1o75A_bacteria'];
11991
11991
 
11992
- 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'];
11992
+ 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'];
11993
11993
 
11994
- group2tpl['FN3-like'] = ['BArrestin1_4jqiA_rat_n1', 'C3_2qkiD_human_n1', 'RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2'];
11994
+ 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'];
11995
11995
 
11996
- group2tpl['Other'] = ['CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'LaminAC_1ifrA_human', 'ORF7a_1xakA_virus'];
11996
+ group2tpl['Other Ig'] = ['CD19_6al5A_human-n1', 'CuZnSuperoxideDismutase_1hl5C_human', 'ECadherin_4zt1A_human_n2', 'LaminAC_1ifrA_human', 'ORF7a_1xakA_virus'];
11997
11997
 
11998
11998
  let tpl2strandsig = {};
11999
11999
  tpl2strandsig['ASF1A_2iijA_human'] = "A A' B C C' E F G G+";
@@ -12001,17 +12001,17 @@ class SetDialog {
12001
12001
  tpl2strandsig['BArrestin1_4jqiA_rat_n1'] = "A- A A' B C C' E F G";
12002
12002
  tpl2strandsig['BTLA_2aw2A_human_Iset'] = "A A' B C C' D E F G";
12003
12003
  tpl2strandsig['C3_2qkiD_human_n1'] = "A A' B C C' E F G";
12004
- tpl2strandsig['CD19_6al5A_human_C2orV-n1'] = "A' B C C' D E F G";
12004
+ tpl2strandsig['CD19_6al5A_human-n1'] = "A' B C C' D E F G";
12005
12005
  tpl2strandsig['CD28_1yjdC_human_V'] = "A A' B C C' C'' D E F G";
12006
12006
  tpl2strandsig['CD2_1hnfA_human_C2-n2'] = "A B C C' E F G";
12007
12007
  tpl2strandsig['CD2_1hnfA_human_V-n1'] = "A' B C C' C'' D E F G";
12008
- tpl2strandsig['CD3d_6jxrd_human_Iset'] = "A B C D E F G";
12009
- tpl2strandsig['CD3e_6jxrf_human_Iset'] = "A B C C' D E F G";
12010
- tpl2strandsig['CD3g_6jxrg_human_Iset'] = "A B C C' E F G G+";
12008
+ tpl2strandsig['CD3d_6jxrd_human_C1'] = "A B C D E F G";
12009
+ tpl2strandsig['CD3e_6jxrf_human_C1'] = "A B C C' D E F G";
12010
+ tpl2strandsig['CD3g_6jxrg_human_C2'] = "A B C C' E F G G+";
12011
12011
  tpl2strandsig['CD8a_1cd8A_human_V'] = "A A' B C C' C'' D E F G";
12012
12012
  tpl2strandsig['CoAtomerGamma1_1r4xA_human'] = "A- A B C D E F G";
12013
12013
  tpl2strandsig['Contactin1_2ee2A_human_FN3-n9'] = "A A' B C C' E F G";
12014
- tpl2strandsig['Contactin1_3s97C_human_C2-n2'] = "A A' B C D E F G";
12014
+ tpl2strandsig['Contactin1_3s97C_human_Iset-n2'] = "A A' B C D E F G";
12015
12015
  tpl2strandsig['CuZnSuperoxideDismutase_1hl5C_human'] = "A- A B C C' E F G";
12016
12016
  tpl2strandsig['ECadherin_4zt1A_human_n2'] = "A' B C D E F G";
12017
12017
  tpl2strandsig['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'] = "A--- A-- A- A B C C' C'' D E F G";
@@ -12019,15 +12019,15 @@ class SetDialog {
12019
12019
  tpl2strandsig['FAB-HEAVY_5esv_V-n1'] = "A B C C' C'' D E F G";
12020
12020
  tpl2strandsig['FAB-LIGHT_5esv_C1-n2'] = "A B C C' E F G";
12021
12021
  tpl2strandsig['FAB-LIGHT_5esv_V-n1'] = "A A' B C C' C'' D E F G";
12022
- tpl2strandsig['GHR_1axiB_human_FN3-n1'] = "A B C C' D E F G";
12022
+ tpl2strandsig['GHR_1axiB_human_C1-n1'] = "A B C C' D E F G";
12023
12023
  tpl2strandsig['ICOS_6x4gA_human_V'] = "A B C C' C'' D E F G";
12024
12024
  tpl2strandsig['IL6Rb_1bquB_human_FN3-n2'] = "A B C C' E F G";
12025
12025
  tpl2strandsig['IL6Rb_1bquB_human_FN3-n3'] = "A B C C' E F G";
12026
12026
  tpl2strandsig['InsulinR_8guyE_human_FN3-n1'] = "A B C C' E F G";
12027
12027
  tpl2strandsig['InsulinR_8guyE_human_FN3-n2'] = "A B C C' E F G";
12028
12028
  tpl2strandsig['IsdA_2iteA_bacteria'] = "A- A B C C' D E F G";
12029
- tpl2strandsig['JAM1_1nbqA_human_VorIset-n2'] = "A A' B C C' D E F G";
12030
- tpl2strandsig['LAG3_7tzgD_human_C2-n2'] = "A A' B C C' D E F G";
12029
+ tpl2strandsig['JAM1_1nbqA_human_Iset-n2'] = "A A' B C C' D E F G";
12030
+ tpl2strandsig['LAG3_7tzgD_human_C1-n2'] = "A A' B C C' D E F G";
12031
12031
  tpl2strandsig['LAG3_7tzgD_human_V-n1'] = "A' B C C' D E F G";
12032
12032
  tpl2strandsig['LaminAC_1ifrA_human'] = "A- A B C C' E E+ F G";
12033
12033
  tpl2strandsig['MHCIa_7phrH_human_C1'] = "A B C C' D E F G";
@@ -12041,16 +12041,16 @@ class SetDialog {
12041
12041
  tpl2strandsig['RBPJ_6py8C_human_Unk-n1'] = "A A' B C C' E F G";
12042
12042
  tpl2strandsig['RBPJ_6py8C_human_Unk-n2'] = "A B C D E F G";
12043
12043
  tpl2strandsig['Sidekick2_1wf5A_human_FN3-n7'] = "A B C C' E F G";
12044
- tpl2strandsig['Siglec3_5j0bB_human_C2-n2'] = "A A' B C D E F G";
12044
+ tpl2strandsig['Siglec3_5j0bB_human_C1-n2'] = "A A' B C D E F G";
12045
12045
  tpl2strandsig['TCRa_6jxrm_human_C1-n2'] = "A B C D E F G";
12046
12046
  tpl2strandsig['TCRa_6jxrm_human_V-n1'] = "A A' B C C' C'' D E F G";
12047
12047
  tpl2strandsig['TEAD1_3kysC_human'] = "A A+ A' B C C' E F G G+";
12048
12048
  tpl2strandsig['TP34_2o6cA_bacteria'] = "A- A B C C' D E F G";
12049
12049
  tpl2strandsig['TP47_1o75A_bacteria'] = "A B C C' D E F G";
12050
- tpl2strandsig['Titin_4uowM_human_Unk-n152'] = "A A' B C C' D E F G";
12050
+ tpl2strandsig['Titin_4uowM_human_Iset-n152'] = "A A' B C C' D E F G";
12051
12051
  tpl2strandsig['VISTA_6oilA_human_V'] = "A A' B C C' C'' D E F G G+";
12052
12052
  tpl2strandsig['VNAR_1t6vN_shark_V'] = "A A' B C C' D E F G";
12053
- tpl2strandsig['VTCN1_Q7Z7D3_human_V-n2'] = "A B C C' D E F G G+";
12053
+ tpl2strandsig['VTCN1_Q7Z7D3_human_C1-n2'] = "A B C C' D E F G G+";
12054
12054
 
12055
12055
  let html = '';
12056
12056
  for(let group in group2tpl) {
@@ -14993,7 +14993,7 @@ class AlignSeq {
14993
14993
  alignChainArray = Object.keys(ic.alnChains);
14994
14994
 
14995
14995
  if (bReverse) alignChainArray = alignChainArray.reverse();
14996
-
14996
+
14997
14997
  let maxSeqCnt = 0;
14998
14998
 
14999
14999
  let chainHash = {};
@@ -37720,8 +37720,6 @@ class AnnoIg {
37720
37720
  $("#" + ic.pre + "dt_" + type + "_" + chnid).html(html);
37721
37721
  $("#" + ic.pre + "ov_" + type + "_" + chnid).html(html2);
37722
37722
  $("#" + ic.pre + "tt_" + type + "_" + chnid).html(html3);
37723
-
37724
- ic.bRunRefnumAgain = false;
37725
37723
  }
37726
37724
 
37727
37725
  showAllRefNum(giSeq, chnid) { let ic = this.icn3d; ic.icn3dui;
@@ -42509,7 +42507,7 @@ class Annotation {
42509
42507
 
42510
42508
  ic.bRunRefnumAgain = true;
42511
42509
  await this.updateIg();
42512
- // ic.bRunRefnumAgain = false;
42510
+ ic.bRunRefnumAgain = false;
42513
42511
 
42514
42512
  this.updateInteraction();
42515
42513
  }
@@ -42591,8 +42589,9 @@ class Annotation {
42591
42589
 
42592
42590
  $("[id^=" + ic.pre + "transmem]").show();
42593
42591
  }
42594
- if($("#" + ic.pre + "anno_ig").length && $("#" + ic.pre + "anno_ig")[0].checked) {
42595
- // ic.bRunRefnumAgain = true;
42592
+ if($("#" + ic.pre + "anno_ig").length && $("#" + ic.pre + "anno_ig")[0].checked || ic.bShowRefnum) {
42593
+ // no need to redo ref num calculation
42594
+ ic.bRunRefnumAgain = false;
42596
42595
 
42597
42596
  await this.updateIg();
42598
42597
 
@@ -42705,6 +42704,7 @@ class Annotation {
42705
42704
  if($("#" + ic.pre + "anno_transmem").length) $("#" + ic.pre + "anno_transmem")[0].checked = false;
42706
42705
  }
42707
42706
  async setAnnoTabIg(bSelection, template) { let ic = this.icn3d; ic.icn3dui;
42707
+
42708
42708
  await this.updateIg(bSelection, template);
42709
42709
 
42710
42710
  $("[id^=" + ic.pre + "ig]").show();
@@ -42867,7 +42867,7 @@ class Annotation {
42867
42867
  await thisClass.setAnnoTabIg();
42868
42868
  me.htmlCls.clickMenuCls.setLogCmd("set annotation ig", true);
42869
42869
 
42870
- // ic.bRunRefnumAgain = false;
42870
+ ic.bRunRefnumAgain = false;
42871
42871
  }
42872
42872
  else {
42873
42873
  thisClass.hideAnnoTabIg();
@@ -49091,7 +49091,7 @@ class ChainalignParser {
49091
49091
  await this.downloadChainalignmentPart3(chainresiCalphaHash2, chainidArray, ic.hAtoms);
49092
49092
  }
49093
49093
 
49094
- setMsa(chainidArray, bVastplus, bRealign) { let ic = this.icn3d, me = ic.icn3dui;
49094
+ setMsa(chainidArray, bVastplus, bRealign) { let ic = this.icn3d, me = ic.icn3dui;
49095
49095
  // get aligned length for each pair
49096
49096
  let index_alignLen = [];
49097
49097
  for(let index = 1, indexl = chainidArray.length; index < indexl; ++index) {
@@ -49914,6 +49914,7 @@ class ChainalignParser {
49914
49914
  // vastplusAtype: 0: VAST, global, 1: VAST, invarant core, 2: TM-align, global
49915
49915
  // VAST+ on the fly
49916
49916
  let structArray = Object.keys(ic.structures);
49917
+ if(vastplusAtype == 2) me.cfg.aligntool = 'tmalign';
49917
49918
  await ic.vastplusCls.vastplusAlign(structArray, vastplusAtype);
49918
49919
  }
49919
49920
 
@@ -55682,7 +55683,8 @@ class ParserUtils {
55682
55683
 
55683
55684
  // display the structure right away. load the mns and sequences later
55684
55685
  setTimeout(async function(){
55685
- if(ic.bInitial) {
55686
+ if(ic.bInitial) {
55687
+ // if(!ic.bAnnoShown || ic.bResetAnno) {
55686
55688
  // if(me.cfg.showsets) {
55687
55689
  // ic.definedSetsCls.showSets();
55688
55690
  // }
@@ -57356,7 +57358,14 @@ class SetSeqAlign {
57356
57358
  // resi = ic.qt_start_end[chainIndex][i].t_start;
57357
57359
  // }
57358
57360
  // else {
57359
- let resiPos = (bRealign || me.cfg.aligntool != 'tmalign') ? j : j - baseResi;
57361
+ // let resiPos = (bRealign || me.cfg.aligntool != 'tmalign') ? j : j - baseResi;
57362
+ let resiPos;
57363
+ if(me.cfg.aligntool == 'tmalign') {
57364
+ resiPos = j - baseResi;
57365
+ }
57366
+ else {
57367
+ resiPos = (bRealign) ? j : j - baseResi;
57368
+ }
57360
57369
  resi = ic.ParserUtilsCls.getResi(chainidArray[0], resiPos);
57361
57370
  // }
57362
57371
 
@@ -59150,6 +59159,7 @@ class Vastplus {
59150
59159
  }
59151
59160
 
59152
59161
  let bRealign = true, atype = 2; // VAST+ based on TM-align
59162
+ me.cfg.aligntool = 'tmalign';
59153
59163
  await ic.vastplusCls.vastplusAlign(Object.keys(structHash), atype, bRealign);
59154
59164
  }
59155
59165
 
@@ -60094,7 +60104,7 @@ class ApplyCommand {
60094
60104
  else if(command == 'set annotation ig') {
60095
60105
  ic.bRunRefnumAgain = true;
60096
60106
  await ic.annotationCls.setAnnoTabIg();
60097
- // ic.bRunRefnumAgain = false;
60107
+ ic.bRunRefnumAgain = false;
60098
60108
  }
60099
60109
  else if(command == 'ig refnum on') {
60100
60110
  ic.bRunRefnumAgain = true;
@@ -60102,7 +60112,7 @@ class ApplyCommand {
60102
60112
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
60103
60113
  await ic.annotationCls.setAnnoTabIg(true);
60104
60114
 
60105
- // ic.bRunRefnumAgain = false;
60115
+ ic.bRunRefnumAgain = false;
60106
60116
  }
60107
60117
  else if(command == 'highlight level up') {
60108
60118
  ic.resid2specCls.switchHighlightLevelUp();
@@ -62825,7 +62835,7 @@ class LoadScript {
62825
62835
  if(!ic.bAnnoShown) await ic.showAnnoCls.showAnnotations();
62826
62836
  await ic.annotationCls.setAnnoTabIg(true);
62827
62837
 
62828
- // ic.bRunRefnumAgain = false;
62838
+ ic.bRunRefnumAgain = false;
62829
62839
  }
62830
62840
  else if(lastCommand.indexOf('set annotation 3ddomain') == 0) {
62831
62841
  thisClass.applyCommand3ddomain(lastCommand);
@@ -65852,7 +65862,7 @@ class Dssp {
65852
65862
 
65853
65863
  setRefPdbs() { let ic = this.icn3d; ic.icn3dui;
65854
65864
  // round 1, 16 templates
65855
- 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'];
65865
+ 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'];
65856
65866
 
65857
65867
  // round 2
65858
65868
  ic.refpdbHash = {};
@@ -65862,19 +65872,19 @@ class Dssp {
65862
65872
  ic.refpdbHash['1C3_2qkiD_human_n1'] = ['C3_2qkiD_human_n1', 'BArrestin1_4jqiA_rat_n1', 'RBPJ_6py8C_human_Unk-n1'];
65863
65873
  ic.refpdbHash['1CuZnSuperoxideDismutase_1hl5C_human'] = ['CuZnSuperoxideDismutase_1hl5C_human', 'TEAD1_3kysC_human'];
65864
65874
  ic.refpdbHash['1ASF1A_2iijA_human'] = ['ASF1A_2iijA_human', 'RBPJ_6py8C_human_Unk-n2', 'TP47_1o75A_bacteria'];
65865
- 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'];
65866
- ic.refpdbHash['1CD2_1hnfA_human_C2-n2'] = ['CD2_1hnfA_human_C2-n2', 'Siglec3_5j0bB_human_C2-n2'];
65875
+ 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'];
65876
+ ic.refpdbHash['1CD2_1hnfA_human_C2-n2'] = ['CD2_1hnfA_human_C2-n2', 'Siglec3_5j0bB_human_C1-n2'];
65867
65877
  ic.refpdbHash['1NaCaExchanger_2fwuA_dog_n2'] = ['NaCaExchanger_2fwuA_dog_n2', 'ORF7a_1xakA_virus', 'ECadherin_4zt1A_human_n2'];
65868
65878
  ic.refpdbHash['1NaKATPaseTransporterBeta_2zxeB_spurdogshark'] = ['NaKATPaseTransporterBeta_2zxeB_spurdogshark'];
65869
65879
  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'];
65870
65880
  ic.refpdbHash['1PDL1_4z18B_human_V-n1'] = ['PDL1_4z18B_human_V-n1', 'CD2_1hnfA_human_V-n1', 'LAG3_7tzgD_human_V-n1'];
65871
- 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'];
65872
- ic.refpdbHash['1LaminAC_1ifrA_human'] = ['LaminAC_1ifrA_human', 'CD3d_6jxrd_human_Iset'];
65873
- ic.refpdbHash['1CD3g_6jxrg_human_Iset'] = ['CD3g_6jxrg_human_Iset', 'TCRa_6jxrm_human_C1-n2', 'IsdA_2iteA_bacteria'];
65874
- ic.refpdbHash['1CD28_1yjdC_human_V'] = ['CD28_1yjdC_human_V', 'MPT63_1lmiA_bacteria', 'CD3e_6jxrf_human_Iset'];
65875
- ic.refpdbHash['1CD19_6al5A_human_C2orV-n1'] = ['CD19_6al5A_human_C2orV-n1'];
65881
+ 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'];
65882
+ ic.refpdbHash['1LaminAC_1ifrA_human'] = ['LaminAC_1ifrA_human', 'CD3d_6jxrd_human_C1'];
65883
+ ic.refpdbHash['1CD3g_6jxrg_human_C2'] = ['CD3g_6jxrg_human_C2', 'TCRa_6jxrm_human_C1-n2', 'IsdA_2iteA_bacteria'];
65884
+ ic.refpdbHash['1CD28_1yjdC_human_V'] = ['CD28_1yjdC_human_V', 'MPT63_1lmiA_bacteria', 'CD3e_6jxrf_human_C1'];
65885
+ ic.refpdbHash['1CD19_6al5A_human-n1'] = ['CD19_6al5A_human-n1'];
65876
65886
 
65877
- 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'];
65887
+ 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'];
65878
65888
 
65879
65889
  // use known ref structure
65880
65890
  ic.refpdbHash['5ESV_C'] = ['FAB-HEAVY_5esv_V-n1', 'FAB-HEAVY_5esv_C1-n2'];
@@ -65882,7 +65892,7 @@ class Dssp {
65882
65892
  ic.refpdbHash['8GUY_E'] = ['InsulinR_8guyE_human_FN3-n1', 'InsulinR_8guyE_human_FN3-n2'];
65883
65893
  ic.refpdbHash['6JXR_m'] = ['TCRa_6jxrm_human_V-n1', 'TCRa_6jxrm_human_C1-n2'];
65884
65894
  ic.refpdbHash['1HNF_A'] = ['CD2_1hnfA_human_V-n1', 'CD2_1hnfA_human_C2-n2'];
65885
- ic.refpdbHash['7TZG_D'] = ['LAG3_7tzgD_human_V-n1', 'LAG3_7tzgD_human_C2-n2'];
65895
+ ic.refpdbHash['7TZG_D'] = ['LAG3_7tzgD_human_V-n1', 'LAG3_7tzgD_human_C1-n2'];
65886
65896
  ic.refpdbHash['6PY8_C'] = ['RBPJ_6py8C_human_Unk-n1', 'RBPJ_6py8C_human_Unk-n2'];
65887
65897
  ic.refpdbHash['1BQU_B'] = ['IL6Rb_1bquB_human_FN3-n2', 'IL6Rb_1bquB_human_FN3-n3'];
65888
65898
 
@@ -65892,7 +65902,7 @@ class Dssp {
65892
65902
  ic.refpdbHash['1I8A_A'] = ['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'];
65893
65903
  ic.refpdbHash['2FWU_A'] = ['NaCaExchanger_2fwuA_dog_n2'];
65894
65904
  ic.refpdbHash['4JQI_A'] = ['BArrestin1_4jqiA_rat_n1'];
65895
- ic.refpdbHash['1NBQ_A'] = ['JAM1_1nbqA_human_VorIset-n2'];
65905
+ ic.refpdbHash['1NBQ_A'] = ['JAM1_1nbqA_human_Iset-n2'];
65896
65906
  ic.refpdbHash['1O75_A'] = ['TP47_1o75A_bacteria'];
65897
65907
  ic.refpdbHash['7PHR_H'] = ['MHCIa_7phrH_human_C1'];
65898
65908
  ic.refpdbHash['2IIJ_A'] = ['ASF1A_2iijA_human'];
@@ -65904,9 +65914,9 @@ class Dssp {
65904
65914
  ic.refpdbHash['2AW2_A'] = ['BTLA_2aw2A_human_Iset'];
65905
65915
  ic.refpdbHash['1HL5_C'] = ['CuZnSuperoxideDismutase_1hl5C_human'];
65906
65916
  ic.refpdbHash['1WF5_A'] = ['Sidekick2_1wf5A_human_FN3-n7'];
65907
- ic.refpdbHash['5J0B_B'] = ['Siglec3_5j0bB_human_C2-n2'];
65917
+ ic.refpdbHash['5J0B_B'] = ['Siglec3_5j0bB_human_C1-n2'];
65908
65918
  ic.refpdbHash['1IFR_A'] = ['LaminAC_1ifrA_human'];
65909
- ic.refpdbHash['Q7Z7D3_A'] = ['VTCN1_Q7Z7D3_human_V-n2'];
65919
+ ic.refpdbHash['Q7Z7D3_A'] = ['VTCN1_Q7Z7D3_human_C1-n2'];
65910
65920
  ic.refpdbHash['4ZQK_B'] = ['PD1_4zqkB_human_V'];
65911
65921
  ic.refpdbHash['2DM3_A'] = ['Palladin_2dm3A_human_Iset-n1'];
65912
65922
  ic.refpdbHash['2ITE_A'] = ['IsdA_2iteA_bacteria'];
@@ -65914,17 +65924,17 @@ class Dssp {
65914
65924
  ic.refpdbHash['4ZT1_A'] = ['ECadherin_4zt1A_human_n2'];
65915
65925
  ic.refpdbHash['1LMI_A'] = ['MPT63_1lmiA_bacteria'];
65916
65926
  ic.refpdbHash['1CD8_A'] = ['CD8a_1cd8A_human_V'];
65917
- ic.refpdbHash['3S97_C'] = ['Contactin1_3s97C_human_C2-n2'];
65918
- ic.refpdbHash['1AXI_B'] = ['GHR_1axiB_human_FN3-n1'];
65927
+ ic.refpdbHash['3S97_C'] = ['Contactin1_3s97C_human_Iset-n2'];
65928
+ ic.refpdbHash['1AXI_B'] = ['GHR_1axiB_human_C1-n1'];
65919
65929
  ic.refpdbHash['6X4G_A'] = ['ICOS_6x4gA_human_V'];
65920
65930
  ic.refpdbHash['2EE2_A'] = ['Contactin1_2ee2A_human_FN3-n9'];
65921
- ic.refpdbHash['4UOW_M'] = ['Titin_4uowM_human_Unk-n152'];
65922
- ic.refpdbHash['6A15_A'] = ['CD19_6al5A_human_C2orV-n1'];
65931
+ ic.refpdbHash['4UOW_M'] = ['Titin_4uowM_human_Iset-n152'];
65932
+ ic.refpdbHash['6A15_A'] = ['CD19_6al5A_human-n1'];
65923
65933
  ic.refpdbHash['2QKI_D'] = ['C3_2qkiD_human_n1'];
65924
65934
  ic.refpdbHash['1YJD_C'] = ['CD28_1yjdC_human_V'];
65925
- ic.refpdbHash['6JXR_d'] = ['CD3d_6jxrd_human_Iset'];
65926
- ic.refpdbHash['6JXR_f'] = ['CD3e_6jxrf_human_Iset'];
65927
- ic.refpdbHash['6JXR_g'] = ['CD3g_6jxrg_human_Iset'];
65935
+ ic.refpdbHash['6JXR_d'] = ['CD3d_6jxrd_human_C1'];
65936
+ ic.refpdbHash['6JXR_f'] = ['CD3e_6jxrf_human_C1'];
65937
+ ic.refpdbHash['6JXR_g'] = ['CD3g_6jxrg_human_C2'];
65928
65938
 
65929
65939
  // assign Ig types
65930
65940
  ic.ref2igtype = {};
@@ -65934,17 +65944,17 @@ class Dssp {
65934
65944
  ic.ref2igtype['BArrestin1_4jqiA_rat_n1'] = 'IgFN3-like';
65935
65945
  ic.ref2igtype['BTLA_2aw2A_human_Iset'] = 'IgI';
65936
65946
  ic.ref2igtype['C3_2qkiD_human_n1'] = 'IgFN3-like';
65937
- ic.ref2igtype['CD19_6al5A_human_C2orV-n1'] = 'CD19';
65947
+ ic.ref2igtype['CD19_6al5A_human-n1'] = 'CD19';
65938
65948
  ic.ref2igtype['CD28_1yjdC_human_V'] = 'IgV';
65939
65949
  ic.ref2igtype['CD2_1hnfA_human_C2-n2'] = 'IgC2';
65940
65950
  ic.ref2igtype['CD2_1hnfA_human_V-n1'] = 'IgV';
65941
- ic.ref2igtype['CD3d_6jxrd_human_Iset'] = 'IgI';
65942
- ic.ref2igtype['CD3e_6jxrf_human_Iset'] = 'IgI';
65943
- ic.ref2igtype['CD3g_6jxrg_human_Iset'] = 'IgI';
65951
+ ic.ref2igtype['CD3d_6jxrd_human_C1'] = 'IgI';
65952
+ ic.ref2igtype['CD3e_6jxrf_human_C1'] = 'IgI';
65953
+ ic.ref2igtype['CD3g_6jxrg_human_C2'] = 'IgI';
65944
65954
  ic.ref2igtype['CD8a_1cd8A_human_V'] = 'IgV';
65945
65955
  ic.ref2igtype['CoAtomerGamma1_1r4xA_human'] = 'IgE';
65946
65956
  ic.ref2igtype['Contactin1_2ee2A_human_FN3-n9'] = 'IgFN3';
65947
- ic.ref2igtype['Contactin1_3s97C_human_C2-n2'] = 'IgC2';
65957
+ ic.ref2igtype['Contactin1_3s97C_human_Iset-n2'] = 'IgC2';
65948
65958
  ic.ref2igtype['CuZnSuperoxideDismutase_1hl5C_human'] = 'SOD';
65949
65959
  ic.ref2igtype['ECadherin_4zt1A_human_n2'] = 'Cadherin';
65950
65960
  ic.ref2igtype['Endo-1,4-BetaXylanase10A_1i8aA_bacteria_n4'] = 'IgE';
@@ -65952,15 +65962,15 @@ class Dssp {
65952
65962
  ic.ref2igtype['FAB-HEAVY_5esv_V-n1'] = 'IgV';
65953
65963
  ic.ref2igtype['FAB-LIGHT_5esv_C1-n2'] = 'IgC1';
65954
65964
  ic.ref2igtype['FAB-LIGHT_5esv_V-n1'] = 'IgV';
65955
- ic.ref2igtype['GHR_1axiB_human_FN3-n1'] = 'IgFN3';
65965
+ ic.ref2igtype['GHR_1axiB_human_C1-n1'] = 'IgFN3';
65956
65966
  ic.ref2igtype['ICOS_6x4gA_human_V'] = 'IgV';
65957
65967
  ic.ref2igtype['IL6Rb_1bquB_human_FN3-n2'] = 'IgFN3';
65958
65968
  ic.ref2igtype['IL6Rb_1bquB_human_FN3-n3'] = 'IgFN3';
65959
65969
  ic.ref2igtype['InsulinR_8guyE_human_FN3-n1'] = 'IgFN3';
65960
65970
  ic.ref2igtype['InsulinR_8guyE_human_FN3-n2'] = 'IgFN3';
65961
65971
  ic.ref2igtype['IsdA_2iteA_bacteria'] = 'IgE';
65962
- ic.ref2igtype['JAM1_1nbqA_human_VorIset-n2'] = 'IgI';
65963
- ic.ref2igtype['LAG3_7tzgD_human_C2-n2'] = 'IgC2';
65972
+ ic.ref2igtype['JAM1_1nbqA_human_Iset-n2'] = 'IgI';
65973
+ ic.ref2igtype['LAG3_7tzgD_human_C1-n2'] = 'IgC2';
65964
65974
  ic.ref2igtype['LAG3_7tzgD_human_V-n1'] = 'IgV';
65965
65975
  ic.ref2igtype['LaminAC_1ifrA_human'] = 'Lamin';
65966
65976
  ic.ref2igtype['MHCIa_7phrH_human_C1'] = 'IgC1';
@@ -65974,16 +65984,16 @@ class Dssp {
65974
65984
  ic.ref2igtype['RBPJ_6py8C_human_Unk-n1'] = 'IgFN3-like';
65975
65985
  ic.ref2igtype['RBPJ_6py8C_human_Unk-n2'] = 'IgFN3-like';
65976
65986
  ic.ref2igtype['Sidekick2_1wf5A_human_FN3-n7'] = 'IgFN3';
65977
- ic.ref2igtype['Siglec3_5j0bB_human_C2-n2'] = 'IgC2';
65987
+ ic.ref2igtype['Siglec3_5j0bB_human_C1-n2'] = 'IgC2';
65978
65988
  ic.ref2igtype['TCRa_6jxrm_human_C1-n2'] = 'IgC1';
65979
65989
  ic.ref2igtype['TCRa_6jxrm_human_V-n1'] = 'IgV';
65980
65990
  ic.ref2igtype['TEAD1_3kysC_human'] = 'IgE';
65981
65991
  ic.ref2igtype['TP34_2o6cA_bacteria'] = 'IgE';
65982
65992
  ic.ref2igtype['TP47_1o75A_bacteria'] = 'IgE';
65983
- ic.ref2igtype['Titin_4uowM_human_Unk-n152'] = 'IgI';
65993
+ ic.ref2igtype['Titin_4uowM_human_Iset-n152'] = 'IgI';
65984
65994
  ic.ref2igtype['VISTA_6oilA_human_V'] = 'IgV';
65985
65995
  ic.ref2igtype['VNAR_1t6vN_shark_V'] = 'IgV';
65986
- ic.ref2igtype['VTCN1_Q7Z7D3_human_V-n2'] = 'IgV';
65996
+ ic.ref2igtype['VTCN1_Q7Z7D3_human_C1-n2'] = 'IgV';
65987
65997
  }
65988
65998
 
65989
65999
  getPdbAjaxArray() { let ic = this.icn3d, me = ic.icn3dui;
@@ -66456,8 +66466,6 @@ class Dssp {
66456
66466
  }
66457
66467
  }
66458
66468
 
66459
- //!!!
66460
-
66461
66469
  // combine the top four clusters for the 2nd round alignment
66462
66470
  if(bRound1) {
66463
66471
  for(let domainid in domainid2refpdbnamelist) {
@@ -66700,7 +66708,7 @@ class Dssp {
66700
66708
 
66701
66709
  let currStrand;
66702
66710
 
66703
- // let bCd19 = refpdbnameArray.length == 1 && refpdbnameArray[0] == 'CD19_6al5A_human_C2orV-n1';
66711
+ // let bCd19 = refpdbnameArray.length == 1 && refpdbnameArray[0] == 'CD19_6al5A_human-n1';
66704
66712
  for(let i = 0, il = segArray.length; i < il; ++i) {
66705
66713
  let seg = segArray[i];
66706
66714
  if(!seg) continue;
@@ -67391,13 +67399,15 @@ class Dssp {
67391
67399
  if(i != il - 1) { // modify
67392
67400
  strandArray[i + 1].loopResCnt += strandArray[i].loopResCnt + parseInt(strandArray[i].endResi) - parseInt(strandArray[i].startResi) + 1;
67393
67401
  }
67402
+
67403
+ // assign before removing
67404
+ let resid = chnid + '_' + strandArray[i].startResi;
67394
67405
 
67395
67406
  strandArray.splice(i, 1);
67396
67407
 
67397
67408
  if(strandTmp == 'B' || strandTmp == 'C' || strandTmp == 'E' || strandTmp == 'F') {
67398
67409
  if(!me.bNode) console.log("Ig strand " + strandTmp + " is removed since it is too short...");
67399
67410
 
67400
- let resid = chnid + '_' + strandArray[i].startResi;
67401
67411
  let domainid = ic.resid2domainid[resid];
67402
67412
  removeDomainidHash[domainid] = 1;
67403
67413
  continue;