@teselagen/ove 0.3.27 → 0.3.29

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/index.umd.js CHANGED
@@ -107688,30 +107688,6 @@ ${latestSubscriptionCallbackError.current.stack}
107688
107688
  }, Symbol.toStringTag, { value: "Module" }));
107689
107689
  const protein_letters = "ACDEFGHIKLMNPQRSTVWY";
107690
107690
  const extended_protein_letters = "ACDEFGHIKLMNPQRSTVWYBXZJUO.*-";
107691
- const protein_letters_1to3 = {
107692
- A: "Ala",
107693
- C: "Cys",
107694
- D: "Asp",
107695
- E: "Glu",
107696
- F: "Phe",
107697
- G: "Gly",
107698
- H: "His",
107699
- I: "Ile",
107700
- K: "Lys",
107701
- L: "Leu",
107702
- M: "Met",
107703
- N: "Asn",
107704
- P: "Pro",
107705
- Q: "Gln",
107706
- R: "Arg",
107707
- S: "Ser",
107708
- T: "Thr",
107709
- V: "Val",
107710
- W: "Trp",
107711
- Y: "Tyr",
107712
- O: "Pyl",
107713
- U: "Sec"
107714
- };
107715
107691
  const ambiguous_dna_letters = "GATCRYWSMKHBVDN";
107716
107692
  const unambiguous_dna_letters = "GATC";
107717
107693
  const ambiguous_rna_letters = "GAUCRYWSMKHBVDN";
@@ -107736,135 +107712,6 @@ ${latestSubscriptionCallbackError.current.stack}
107736
107712
  X: "GATC",
107737
107713
  N: "GATC"
107738
107714
  };
107739
- const ambiguous_rna_values = {
107740
- ".": ".",
107741
- A: "A",
107742
- C: "C",
107743
- G: "G",
107744
- U: "U",
107745
- M: "AC",
107746
- R: "AG",
107747
- W: "AU",
107748
- S: "CG",
107749
- Y: "CU",
107750
- K: "GU",
107751
- V: "ACG",
107752
- H: "ACU",
107753
- D: "AGU",
107754
- B: "CGU",
107755
- X: "GAUC",
107756
- N: "GAUC"
107757
- };
107758
- const ambiguous_dna_complement = {
107759
- ".": ".",
107760
- A: "T",
107761
- C: "G",
107762
- G: "C",
107763
- T: "A",
107764
- M: "K",
107765
- R: "Y",
107766
- W: "W",
107767
- S: "S",
107768
- Y: "R",
107769
- K: "M",
107770
- V: "B",
107771
- H: "D",
107772
- D: "H",
107773
- B: "V",
107774
- X: "X",
107775
- N: "N"
107776
- };
107777
- const ambiguous_rna_complement = {
107778
- ".": ".",
107779
- A: "U",
107780
- C: "G",
107781
- G: "C",
107782
- U: "A",
107783
- M: "K",
107784
- R: "Y",
107785
- W: "W",
107786
- S: "S",
107787
- Y: "R",
107788
- K: "M",
107789
- V: "B",
107790
- H: "D",
107791
- D: "H",
107792
- B: "V",
107793
- X: "X",
107794
- N: "N"
107795
- };
107796
- const unambiguous_dna_weights = {
107797
- A: 331.2218,
107798
- C: 307.1971,
107799
- G: 347.2212,
107800
- T: 322.2085
107801
- };
107802
- const monoisotopic_unambiguous_dna_weights = {
107803
- A: 331.06817,
107804
- C: 307.056936,
107805
- G: 347.063084,
107806
- T: 322.056602
107807
- };
107808
- const unambiguous_rna_weights = {
107809
- A: 347.2212,
107810
- C: 323.1965,
107811
- G: 363.2206,
107812
- U: 324.1813
107813
- };
107814
- const monoisotopic_unambiguous_rna_weights = {
107815
- A: 347.063084,
107816
- C: 323.051851,
107817
- G: 363.057999,
107818
- U: 324.035867
107819
- };
107820
- const protein_weights = {
107821
- A: 89.0932,
107822
- C: 121.1582,
107823
- D: 133.1027,
107824
- E: 147.1293,
107825
- F: 165.1891,
107826
- G: 75.0666,
107827
- H: 155.1546,
107828
- I: 131.1729,
107829
- K: 146.1876,
107830
- L: 131.1729,
107831
- M: 149.2113,
107832
- N: 132.1179,
107833
- O: 255.3134,
107834
- P: 115.1305,
107835
- Q: 146.1445,
107836
- R: 174.201,
107837
- S: 105.0926,
107838
- T: 119.1192,
107839
- U: 168.0532,
107840
- V: 117.1463,
107841
- W: 204.2252,
107842
- Y: 181.1885
107843
- };
107844
- const monoisotopic_protein_weights = {
107845
- A: 89.047678,
107846
- C: 121.019749,
107847
- D: 133.037508,
107848
- E: 147.053158,
107849
- F: 165.078979,
107850
- G: 75.032028,
107851
- H: 155.069477,
107852
- I: 131.094629,
107853
- K: 146.105528,
107854
- L: 131.094629,
107855
- M: 149.051049,
107856
- N: 132.053492,
107857
- O: 255.158292,
107858
- P: 115.063329,
107859
- Q: 146.069142,
107860
- R: 174.111676,
107861
- S: 105.042593,
107862
- T: 119.058243,
107863
- U: 168.964203,
107864
- V: 117.078979,
107865
- W: 204.089878,
107866
- Y: 181.073893
107867
- };
107868
107715
  const extended_protein_values = {
107869
107716
  A: "A",
107870
107717
  B: "ND",
@@ -107899,140 +107746,17 @@ ${latestSubscriptionCallbackError.current.stack}
107899
107746
  ".": "\\.\\.",
107900
107747
  "-": "\\-"
107901
107748
  };
107902
- const atom_weights = {
107903
- H: 1.00794,
107904
- D: 2.0141,
107905
- He: 4.002602,
107906
- Li: 6.941,
107907
- Be: 9.012182,
107908
- B: 10.811,
107909
- C: 12.0107,
107910
- N: 14.0067,
107911
- O: 15.9994,
107912
- F: 18.9984032,
107913
- Ne: 20.1797,
107914
- Na: 22.98977,
107915
- Mg: 24.305,
107916
- Al: 26.981538,
107917
- Si: 28.0855,
107918
- P: 30.973761,
107919
- S: 32.065,
107920
- Cl: 35.453,
107921
- Ar: 39.948,
107922
- K: 39.0983,
107923
- Ca: 40.078,
107924
- Sc: 44.95591,
107925
- Ti: 47.867,
107926
- V: 50.9415,
107927
- Cr: 51.9961,
107928
- Mn: 54.938049,
107929
- Fe: 55.845,
107930
- Co: 58.9332,
107931
- Ni: 58.6934,
107932
- Cu: 63.546,
107933
- Zn: 65.39,
107934
- Ga: 69.723,
107935
- Ge: 72.64,
107936
- As: 74.9216,
107937
- Se: 78.96,
107938
- Br: 79.904,
107939
- Kr: 83.8,
107940
- Rb: 85.4678,
107941
- Sr: 87.62,
107942
- Y: 88.90585,
107943
- Zr: 91.224,
107944
- Nb: 92.90638,
107945
- Mo: 95.94,
107946
- Tc: 98,
107947
- Ru: 101.07,
107948
- Rh: 102.9055,
107949
- Pd: 106.42,
107950
- Ag: 107.8682,
107951
- Cd: 112.411,
107952
- In: 114.818,
107953
- Sn: 118.71,
107954
- Sb: 121.76,
107955
- Te: 127.6,
107956
- I: 126.90447,
107957
- Xe: 131.293,
107958
- Cs: 132.90545,
107959
- Ba: 137.327,
107960
- La: 138.9055,
107961
- Ce: 140.116,
107962
- Pr: 140.90765,
107963
- Nd: 144.24,
107964
- Pm: 145,
107965
- Sm: 150.36,
107966
- Eu: 151.964,
107967
- Gd: 157.25,
107968
- Tb: 158.92534,
107969
- Dy: 162.5,
107970
- Ho: 164.93032,
107971
- Er: 167.259,
107972
- Tm: 168.93421,
107973
- Yb: 173.04,
107974
- Lu: 174.967,
107975
- Hf: 178.49,
107976
- Ta: 180.9479,
107977
- W: 183.84,
107978
- Re: 186.207,
107979
- Os: 190.23,
107980
- Ir: 192.217,
107981
- Pt: 195.078,
107982
- Au: 196.96655,
107983
- Hg: 200.59,
107984
- Tl: 204.3833,
107985
- Pb: 207.2,
107986
- Bi: 208.98038,
107987
- Po: 208.98,
107988
- At: 209.99,
107989
- Rn: 222.02,
107990
- Fr: 223.02,
107991
- Ra: 226.03,
107992
- Ac: 227.03,
107993
- Th: 232.0381,
107994
- Pa: 231.03588,
107995
- U: 238.02891,
107996
- Np: 237.05,
107997
- Pu: 244.06,
107998
- Am: 243.06,
107999
- Cm: 247.07,
108000
- Bk: 247.07,
108001
- Cf: 251.08,
108002
- Es: 252.08,
108003
- Fm: 257.1,
108004
- Md: 258.1,
108005
- No: 259.1,
108006
- Lr: 262.11,
108007
- Rf: 261.11,
108008
- Db: 262.11,
108009
- Sg: 266.12,
108010
- Bh: 264.12,
108011
- Hs: 269.13,
108012
- Mt: 268.14
108013
- };
108014
107749
  const bioData = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
108015
107750
  __proto__: null,
108016
- ambiguous_dna_complement,
108017
107751
  ambiguous_dna_letters,
108018
107752
  ambiguous_dna_values: ambiguous_dna_values$1,
108019
- ambiguous_rna_complement,
108020
107753
  ambiguous_rna_letters,
108021
- ambiguous_rna_values,
108022
- atom_weights,
108023
107754
  extended_dna_letters,
108024
107755
  extended_protein_letters,
108025
107756
  extended_protein_values,
108026
- monoisotopic_protein_weights,
108027
- monoisotopic_unambiguous_dna_weights,
108028
- monoisotopic_unambiguous_rna_weights,
108029
107757
  protein_letters,
108030
- protein_letters_1to3,
108031
- protein_weights,
108032
107758
  unambiguous_dna_letters,
108033
- unambiguous_dna_weights,
108034
- unambiguous_rna_letters,
108035
- unambiguous_rna_weights
107759
+ unambiguous_rna_letters
108036
107760
  }, Symbol.toStringTag, { value: "Module" }));
108037
107761
  const aminoAcidToDegenerateDnaMap = {
108038
107762
  "-": "---",
@@ -113541,7 +113265,7 @@ ${latestSubscriptionCallbackError.current.stack}
113541
113265
  hydrophobicity: 1.8,
113542
113266
  colorByFamily: "#00FFFF",
113543
113267
  color: "hsl(327.3, 100%, 69%)",
113544
- mass: 89.1
113268
+ mass: 71.0779
113545
113269
  },
113546
113270
  R: {
113547
113271
  value: "R",
@@ -113550,7 +113274,7 @@ ${latestSubscriptionCallbackError.current.stack}
113550
113274
  hydrophobicity: -4.5,
113551
113275
  colorByFamily: "#FFC0CB",
113552
113276
  color: "hsl(258.1, 100%, 69%)",
113553
- mass: 174.2
113277
+ mass: 156.18568
113554
113278
  },
113555
113279
  N: {
113556
113280
  value: "N",
@@ -113559,7 +113283,7 @@ ${latestSubscriptionCallbackError.current.stack}
113559
113283
  hydrophobicity: -3.5,
113560
113284
  colorByFamily: "#D3D3D3",
113561
113285
  color: "hsl(268.9, 100%, 69%)",
113562
- mass: 132.1
113286
+ mass: 114.10264
113563
113287
  },
113564
113288
  D: {
113565
113289
  value: "D",
@@ -113568,7 +113292,7 @@ ${latestSubscriptionCallbackError.current.stack}
113568
113292
  hydrophobicity: -3.5,
113569
113293
  colorByFamily: "#EE82EE",
113570
113294
  color: "hsl(268.9, 100%, 69%)",
113571
- mass: 133.1
113295
+ mass: 115.0874
113572
113296
  },
113573
113297
  C: {
113574
113298
  value: "C",
@@ -113577,7 +113301,7 @@ ${latestSubscriptionCallbackError.current.stack}
113577
113301
  hydrophobicity: 2.5,
113578
113302
  colorByFamily: "#FFFF00",
113579
113303
  color: "hsl(335.1, 100%, 69%)",
113580
- mass: 121.2
113304
+ mass: 103.1429
113581
113305
  },
113582
113306
  E: {
113583
113307
  value: "E",
@@ -113586,7 +113310,7 @@ ${latestSubscriptionCallbackError.current.stack}
113586
113310
  hydrophobicity: -3.5,
113587
113311
  colorByFamily: "#EE82EE",
113588
113312
  color: "hsl(268.9, 100%, 69%)",
113589
- mass: 147.1
113313
+ mass: 129.11398
113590
113314
  },
113591
113315
  Q: {
113592
113316
  value: "Q",
@@ -113595,7 +113319,7 @@ ${latestSubscriptionCallbackError.current.stack}
113595
113319
  hydrophobicity: -3.5,
113596
113320
  colorByFamily: "#D3D3D3",
113597
113321
  color: "hsl(268.9, 100%, 69%)",
113598
- mass: 146.2
113322
+ mass: 128.12922
113599
113323
  },
113600
113324
  G: {
113601
113325
  value: "G",
@@ -113604,7 +113328,7 @@ ${latestSubscriptionCallbackError.current.stack}
113604
113328
  hydrophobicity: -0.4,
113605
113329
  colorByFamily: "#00FFFF",
113606
113330
  color: "hsl(303.1, 100%, 69%)",
113607
- mass: 75.1
113331
+ mass: 57.05132
113608
113332
  },
113609
113333
  H: {
113610
113334
  value: "H",
@@ -113613,7 +113337,7 @@ ${latestSubscriptionCallbackError.current.stack}
113613
113337
  hydrophobicity: -3.2,
113614
113338
  colorByFamily: "#FFC0CB",
113615
113339
  color: "hsl(272.2, 100%, 69%)",
113616
- mass: 155.2
113340
+ mass: 137.13928
113617
113341
  },
113618
113342
  I: {
113619
113343
  value: "I",
@@ -113622,7 +113346,7 @@ ${latestSubscriptionCallbackError.current.stack}
113622
113346
  hydrophobicity: 4.5,
113623
113347
  colorByFamily: "#00FFFF",
113624
113348
  color: "hsl(356.9, 100%, 69%)",
113625
- mass: 131.2
113349
+ mass: 113.15764
113626
113350
  },
113627
113351
  L: {
113628
113352
  value: "L",
@@ -113631,7 +113355,7 @@ ${latestSubscriptionCallbackError.current.stack}
113631
113355
  hydrophobicity: 3.8,
113632
113356
  colorByFamily: "#00FFFF",
113633
113357
  color: "hsl(349.4, 100%, 69%)",
113634
- mass: 131.2
113358
+ mass: 113.15764
113635
113359
  },
113636
113360
  K: {
113637
113361
  value: "K",
@@ -113640,7 +113364,7 @@ ${latestSubscriptionCallbackError.current.stack}
113640
113364
  hydrophobicity: -3.9,
113641
113365
  colorByFamily: "#FFC0CB",
113642
113366
  color: "hsl(264.7, 100%, 69%)",
113643
- mass: 146.2
113367
+ mass: 128.17228
113644
113368
  },
113645
113369
  M: {
113646
113370
  value: "M",
@@ -113649,7 +113373,7 @@ ${latestSubscriptionCallbackError.current.stack}
113649
113373
  hydrophobicity: 1.9,
113650
113374
  colorByFamily: "#FFFF00",
113651
113375
  color: "hsl(328.5, 100%, 69%)",
113652
- mass: 149.2
113376
+ mass: 131.19606
113653
113377
  },
113654
113378
  F: {
113655
113379
  value: "F",
@@ -113658,7 +113382,7 @@ ${latestSubscriptionCallbackError.current.stack}
113658
113382
  hydrophobicity: 2.8,
113659
113383
  colorByFamily: "#FFA500",
113660
113384
  color: "hsl(338.4, 100%, 69%)",
113661
- mass: 165.2
113385
+ mass: 147.17386
113662
113386
  },
113663
113387
  P: {
113664
113388
  value: "P",
@@ -113667,7 +113391,7 @@ ${latestSubscriptionCallbackError.current.stack}
113667
113391
  hydrophobicity: -1.6,
113668
113392
  colorByFamily: "#00FFFF",
113669
113393
  color: "hsl(289.9, 100%, 69%)",
113670
- mass: 115.1
113394
+ mass: 97.11518
113671
113395
  },
113672
113396
  S: {
113673
113397
  value: "S",
@@ -113676,7 +113400,7 @@ ${latestSubscriptionCallbackError.current.stack}
113676
113400
  hydrophobicity: -0.8,
113677
113401
  colorByFamily: "#90EE90",
113678
113402
  color: "hsl(298.6, 100%, 69%)",
113679
- mass: 105.1
113403
+ mass: 87.0773
113680
113404
  },
113681
113405
  T: {
113682
113406
  value: "T",
@@ -113685,7 +113409,7 @@ ${latestSubscriptionCallbackError.current.stack}
113685
113409
  hydrophobicity: -0.7,
113686
113410
  colorByFamily: "#90EE90",
113687
113411
  color: "hsl(299.8, 100%, 69%)",
113688
- mass: 119.1
113412
+ mass: 101.10388
113689
113413
  },
113690
113414
  U: {
113691
113415
  value: "U",
@@ -113693,7 +113417,7 @@ ${latestSubscriptionCallbackError.current.stack}
113693
113417
  threeLettersName: "Sec",
113694
113418
  colorByFamily: "#FF0000",
113695
113419
  color: "hsl(0, 100%, 69%)",
113696
- mass: 168.1
113420
+ mass: 150.3079
113697
113421
  },
113698
113422
  W: {
113699
113423
  value: "W",
@@ -113702,7 +113426,7 @@ ${latestSubscriptionCallbackError.current.stack}
113702
113426
  hydrophobicity: -0.9,
113703
113427
  colorByFamily: "#FFA500",
113704
113428
  color: "hsl(297.6, 100%, 69%)",
113705
- mass: 204.2
113429
+ mass: 186.2099
113706
113430
  },
113707
113431
  Y: {
113708
113432
  value: "Y",
@@ -113711,7 +113435,7 @@ ${latestSubscriptionCallbackError.current.stack}
113711
113435
  hydrophobicity: -1.3,
113712
113436
  colorByFamily: "#FFA500",
113713
113437
  color: "hsl(293.2, 100%, 69%)",
113714
- mass: 181.2
113438
+ mass: 163.17326
113715
113439
  },
113716
113440
  V: {
113717
113441
  value: "V",
@@ -113720,7 +113444,7 @@ ${latestSubscriptionCallbackError.current.stack}
113720
113444
  hydrophobicity: 4.2,
113721
113445
  colorByFamily: "#00FFFF",
113722
113446
  color: "hsl(353.6, 100%, 69%)",
113723
- mass: 117.1
113447
+ mass: 99.13106
113724
113448
  },
113725
113449
  "*": {
113726
113450
  value: "*",
@@ -123389,6 +123113,9 @@ ${latestSubscriptionCallbackError.current.stack}
123389
123113
  if (divideByThree) {
123390
123114
  sumMass /= 3;
123391
123115
  }
123116
+ if (aaString.length > 0) {
123117
+ sumMass = sumMass + 18.0153;
123118
+ }
123392
123119
  return Math.round(sumMass * __pow(10, numsAfterDecimal)) / __pow(10, numsAfterDecimal);
123393
123120
  }
123394
123121
  __name(getMassOfAaString, "getMassOfAaString");
@@ -155172,7 +154899,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
155172
154899
  }
155173
154900
  __name(showFileDialog, "showFileDialog");
155174
154901
  const name = "@teselagen/ove";
155175
- const version = "0.3.26";
154902
+ const version = "0.3.28";
155176
154903
  const main = "./src/index.js";
155177
154904
  const exports$1 = {
155178
154905
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -13,12 +13,12 @@
13
13
  "node": "16.20.2"
14
14
  },
15
15
  "dependencies": {
16
- "@teselagen/sequence-utils": "0.3.7",
16
+ "@teselagen/sequence-utils": "0.3.8",
17
17
  "@teselagen/range-utils": "0.3.7",
18
18
  "@teselagen/ui": "0.3.28",
19
19
  "@teselagen/file-utils": "0.3.9",
20
20
  "@teselagen/bounce-loader": "0.3.11",
21
- "@teselagen/bio-parsers": "0.3.9",
21
+ "@teselagen/bio-parsers": "0.3.10",
22
22
  "@blueprintjs/core": "3.52.0",
23
23
  "@blueprintjs/datetime": "3.23.19",
24
24
  "@blueprintjs/icons": "3.33.0",
@@ -1,10 +1,9 @@
1
1
  .veCircularViewMiddleOfVectorText {
2
- position: absolute;
3
- top: 50%;
4
- /* position the top edge of the element at the middle of the parent */
5
- left: 49.5%;
6
- /* position the left edge of the element at the middle of the parent */
7
- transform: translate(-50%, -50%);
2
+ display: flex;
3
+ height: 100%;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
8
7
  z-index: 10;
9
8
  text-align: center;
10
9
  /* This is a shorthand of
package/style.css CHANGED
@@ -11189,12 +11189,11 @@ path.partWithSelectedTag {
11189
11189
  opacity: 0.1;
11190
11190
  } */
11191
11191
  .veCircularViewMiddleOfVectorText {
11192
- position: absolute;
11193
- top: 50%;
11194
- /* position the top edge of the element at the middle of the parent */
11195
- left: 49.5%;
11196
- /* position the left edge of the element at the middle of the parent */
11197
- transform: translate(-50%, -50%);
11192
+ display: flex;
11193
+ height: 100%;
11194
+ flex-direction: column;
11195
+ justify-content: center;
11196
+ align-items: center;
11198
11197
  z-index: 10;
11199
11198
  text-align: center;
11200
11199
  /* This is a shorthand of