@datagrok/sequence-translator 1.0.17 → 1.1.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/.eslintrc.json +4 -3
- package/CHANGELOG.md +36 -0
- package/detectors.js +8 -0
- package/dist/package-test.js +2 -73079
- package/dist/package-test.js.map +1 -0
- package/dist/package.js +2 -72284
- package/dist/package.js.map +1 -0
- package/files/axolabs-style.json +97 -0
- package/files/codes-to-symbols.json +67 -0
- package/files/formats-to-helm.json +63 -0
- package/files/linkers.json +22 -0
- package/files/monomer-lib.json +1142 -0
- package/link-bio +7 -0
- package/package.json +30 -31
- package/scripts/build-monomer-lib.py +391 -122
- package/src/demo/demo-st-ui.ts +71 -0
- package/src/demo/handle-error.ts +12 -0
- package/src/model/axolabs/axolabs-tab.ts +111 -0
- package/src/model/axolabs/const.ts +33 -0
- package/src/{axolabs-tab → model/axolabs}/draw-svg.ts +1 -1
- package/src/{axolabs-tab → model/axolabs}/helpers.ts +7 -5
- package/src/model/const.ts +18 -0
- package/src/model/data-loading-utils/const.ts +8 -0
- package/src/model/data-loading-utils/json-loader.ts +38 -0
- package/src/model/data-loading-utils/types.ts +30 -0
- package/src/model/format-translation/const.ts +8 -0
- package/src/model/format-translation/conversion-utils.ts +49 -0
- package/src/model/format-translation/format-converter.ts +109 -0
- package/src/model/helpers.ts +12 -0
- package/src/model/monomer-lib/const.ts +3 -0
- package/src/model/monomer-lib/lib-wrapper.ts +119 -0
- package/src/model/parsing-validation/format-detector.ts +57 -0
- package/src/model/parsing-validation/sequence-validator.ts +52 -0
- package/src/model/sequence-to-structure-utils/const.ts +1 -0
- package/src/{utils/structures-works → model/sequence-to-structure-utils}/mol-transformations.ts +33 -41
- package/src/model/sequence-to-structure-utils/monomer-code-parser.ts +92 -0
- package/src/model/sequence-to-structure-utils/sdf-tab.ts +97 -0
- package/src/model/sequence-to-structure-utils/sequence-to-molfile.ts +409 -0
- package/src/package-test.ts +3 -1
- package/src/package.ts +113 -91
- package/src/tests/const.ts +24 -0
- package/src/tests/formats-support.ts +40 -0
- package/src/tests/formats-to-helm.ts +53 -0
- package/src/tests/helm-to-nucleotides.ts +28 -0
- package/src/view/const/main-tab.ts +3 -0
- package/src/view/const/view.ts +10 -0
- package/src/view/css/axolabs-tab.css +1 -0
- package/src/view/css/colored-text-input.css +27 -0
- package/src/view/css/main-tab.css +46 -0
- package/src/view/css/sdf-tab.css +39 -0
- package/src/view/monomer-lib-viewer/viewer.ts +22 -0
- package/src/view/tabs/axolabs.ts +719 -0
- package/src/view/tabs/main.ts +174 -0
- package/src/view/tabs/sdf.ts +193 -0
- package/src/view/utils/app-info-dialog.ts +18 -0
- package/src/view/utils/colored-input/colored-text-input.ts +56 -0
- package/src/view/utils/colored-input/input-painters.ts +44 -0
- package/src/view/utils/draw-molecule.ts +86 -0
- package/src/view/utils/molecule-img.ts +106 -0
- package/src/view/view.ts +127 -0
- package/tsconfig.json +12 -18
- package/webpack.config.js +17 -4
- package/README.md +0 -84
- package/css/style.css +0 -18
- package/img/Sequence Translator Axolabs.png +0 -0
- package/jest.config.js +0 -33
- package/setup-unlink-clean.cmd +0 -14
- package/setup-unlink-clean.sh +0 -21
- package/setup.cmd +0 -14
- package/setup.sh +0 -37
- package/src/__jest__/remote.test.ts +0 -77
- package/src/__jest__/test-node.ts +0 -97
- package/src/apps/oligo-sd-file-app.ts +0 -58
- package/src/autostart/calculations.ts +0 -40
- package/src/autostart/constants.ts +0 -37
- package/src/autostart/registration.ts +0 -306
- package/src/axolabs-tab/axolabs-tab.ts +0 -873
- package/src/axolabs-tab/define-pattern.ts +0 -874
- package/src/hardcode-to-be-eliminated/ICDs.ts +0 -3
- package/src/hardcode-to-be-eliminated/IDPs.ts +0 -3
- package/src/hardcode-to-be-eliminated/const.ts +0 -5
- package/src/hardcode-to-be-eliminated/constants.ts +0 -101
- package/src/hardcode-to-be-eliminated/converters.ts +0 -323
- package/src/hardcode-to-be-eliminated/map.ts +0 -720
- package/src/hardcode-to-be-eliminated/salts.ts +0 -2
- package/src/hardcode-to-be-eliminated/sources.ts +0 -3
- package/src/hardcode-to-be-eliminated/users.ts +0 -3
- package/src/main-tab/main-tab.ts +0 -210
- package/src/sdf-tab/sdf-tab.ts +0 -163
- package/src/sdf-tab/sequence-codes-tools.ts +0 -347
- package/src/tests/smiles-tests.ts +0 -458
- package/src/utils/const.ts +0 -0
- package/src/utils/helpers.ts +0 -28
- package/src/utils/parse.ts +0 -27
- package/src/utils/sdf-add-columns.ts +0 -118
- package/src/utils/sdf-save-table.ts +0 -56
- package/src/utils/structures-works/draw-molecule.ts +0 -84
- package/src/utils/structures-works/from-monomers.ts +0 -266
- package/test-SequenceTranslator-6288c2fbe346-695b7b55.html +0 -259
- package/vendors/openchemlib-full.js +0 -293
package/link-bio
ADDED
package/package.json
CHANGED
|
@@ -1,52 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/sequence-translator",
|
|
3
3
|
"friendlyName": "Sequence Translator",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Alexey Choposky",
|
|
7
7
|
"email": "achopovsky@datagrok.ai"
|
|
8
8
|
},
|
|
9
|
-
"description": "SequenceTranslator
|
|
9
|
+
"description": "SequenceTranslator translates [oligonucleotide](https://en.wikipedia.org/wiki/Oligonucleotide) sequences between [different representations](https://github.com/datagrok-ai/public/tree/master/packages/SequenceTranslator#sequence-representations).",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/datagrok-ai/public.git",
|
|
13
13
|
"directory": "packages/SequenceTranslator"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"@datagrok-libraries/bio": "^5.32.1",
|
|
17
|
+
"@datagrok-libraries/chem-meta": "^1.0.9",
|
|
18
|
+
"@datagrok-libraries/tutorials": "^1.3.2",
|
|
16
19
|
"@datagrok-libraries/utils": "^1.17.2",
|
|
17
20
|
"@types/react": "^18.0.15",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"@luma.gl/core": "8.5.17",
|
|
21
|
-
"datagrok-api": "^1.8.2",
|
|
22
|
-
"datagrok-tools": "^4.1.2",
|
|
23
|
-
"npm": "^8.11.0",
|
|
21
|
+
"cash-dom": "^8.1.0",
|
|
22
|
+
"datagrok-api": "^1.15.2",
|
|
24
23
|
"openchemlib": "6.0.1",
|
|
25
24
|
"save-svg-as-png": "^1.4.17",
|
|
26
25
|
"ts-loader": "^9.3.1",
|
|
27
26
|
"typescript": "^4.7.4"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
|
-
"@
|
|
29
|
+
"@datagrok/bio": "^2.10.0",
|
|
30
|
+
"@datagrok/chem": "1.7.2",
|
|
31
31
|
"@types/jquery": "^3.5.14",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
|
33
|
-
"@typescript-eslint/parser": "^4.29.1",
|
|
34
|
-
"cash-dom": "^8.1.0",
|
|
35
|
-
"eslint": "^7.32.0",
|
|
36
|
-
"eslint-config-google": "^0.14.0",
|
|
37
|
-
"jest": "^27.0.0",
|
|
38
|
-
"jest-html-reporter": "^3.5.0",
|
|
39
|
-
"puppeteer": "^13.7.0",
|
|
40
|
-
"ts-jest": "^27.0.0",
|
|
41
|
-
"webpack": "^5.31.0",
|
|
42
|
-
"webpack-cli": "^4.6.0",
|
|
43
32
|
"@types/js-yaml": "^4.0.5",
|
|
44
|
-
"js-yaml": "^4.1.0",
|
|
45
33
|
"@types/node-fetch": "^2.6.2",
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
34
|
+
"@types/react": "^18.0.15",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "latest",
|
|
36
|
+
"@typescript-eslint/parser": "parser",
|
|
37
|
+
"css-loader": "^6.7.3",
|
|
38
|
+
"eslint": "^7.32.0",
|
|
39
|
+
"eslint-config-google": "latest",
|
|
40
|
+
"style-loader": "^3.3.1",
|
|
41
|
+
"ts-loader": "^9.3.1",
|
|
42
|
+
"typescript": "^4.7.4",
|
|
43
|
+
"webpack": "^5.75.0",
|
|
44
|
+
"webpack-cli": "latest"
|
|
50
45
|
},
|
|
51
46
|
"scripts": {
|
|
52
47
|
"link-api": "npm link datagrok-api",
|
|
@@ -59,13 +54,17 @@
|
|
|
59
54
|
"release-sequencetranslator-public": "grok publish public --release",
|
|
60
55
|
"debug-sequencetranslator-local": "grok publish local",
|
|
61
56
|
"release-sequencetranslator-local": "grok publish local --release",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"test
|
|
57
|
+
"lint": "eslint \"./src/**/*.ts\"",
|
|
58
|
+
"lint-fix": "eslint \"./src/**/*.ts\" --fix",
|
|
59
|
+
"test": "grok test",
|
|
60
|
+
"test-dev": "grok test --host dev",
|
|
61
|
+
"test-local": "grok test --host localhost"
|
|
65
62
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
63
|
+
"canEdit": [
|
|
64
|
+
"Developers"
|
|
65
|
+
],
|
|
66
|
+
"canView": [
|
|
67
|
+
"All users"
|
|
69
68
|
],
|
|
70
69
|
"category": "Bioinformatics"
|
|
71
70
|
}
|