@datagrok/peptides 1.16.0 → 1.17.1
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 +17 -6
- package/CHANGELOG.md +33 -8
- package/README.md +12 -7
- package/dist/196.js +2 -3
- package/dist/23.js +2 -0
- package/dist/282.js +2 -0
- package/dist/361.js +2 -2
- package/dist/40.js +2 -0
- package/dist/436.js +2 -2
- package/dist/65.js +2 -0
- package/dist/704.js +2 -0
- package/dist/package-test.js +2 -3
- package/dist/package.js +2 -3
- package/package.json +13 -13
- package/setup-unlink-clean.cmd +6 -0
- package/setup.cmd +2 -2
- package/src/demo/fasta.ts +8 -2
- package/src/model.ts +857 -560
- package/src/package-test.ts +1 -3
- package/src/package.ts +28 -50
- package/src/tests/benchmarks.ts +31 -11
- package/src/tests/core.ts +11 -6
- package/src/tests/misc.ts +6 -6
- package/src/tests/model.ts +80 -45
- package/src/tests/table-view.ts +49 -39
- package/src/tests/utils.ts +0 -76
- package/src/tests/viewers.ts +30 -12
- package/src/tests/widgets.ts +30 -11
- package/src/utils/algorithms.ts +115 -38
- package/src/utils/cell-renderer.ts +217 -96
- package/src/utils/constants.ts +37 -7
- package/src/utils/misc.ts +285 -30
- package/src/utils/parallel-mutation-cliffs.ts +18 -15
- package/src/utils/statistics.ts +70 -14
- package/src/utils/tooltips.ts +46 -25
- package/src/utils/types.ts +29 -26
- package/src/utils/worker-creator.ts +5 -0
- package/src/viewers/logo-summary.ts +597 -135
- package/src/viewers/sar-viewer.ts +946 -249
- package/src/widgets/distribution.ts +291 -196
- package/src/widgets/manual-alignment.ts +18 -11
- package/src/widgets/mutation-cliffs.ts +45 -21
- package/src/widgets/peptides.ts +86 -91
- package/src/widgets/selection.ts +56 -22
- package/src/widgets/settings.ts +94 -44
- package/src/workers/dimensionality-reducer.ts +5 -6
- package/src/workers/mutation-cliffs-worker.ts +3 -16
- package/dist/196.js.LICENSE.txt +0 -51
- package/dist/209.js +0 -2
- package/dist/381.js +0 -2
- package/dist/694.js +0 -2
- package/dist/831.js +0 -2
- package/dist/868.js +0 -2
- package/dist/package-test.js.LICENSE.txt +0 -51
- package/dist/package.js.LICENSE.txt +0 -51
- package/src/tests/peptide-space-test.ts +0 -48
- package/src/tests/test-data.ts +0 -649
- package/src/utils/molecular-measure.ts +0 -174
- package/src/utils/peptide-similarity-space.ts +0 -216
- package/src/viewers/peptide-space-viewer.ts +0 -150
package/.eslintrc.json
CHANGED
|
@@ -10,12 +10,15 @@
|
|
|
10
10
|
"parserOptions": {
|
|
11
11
|
"ecmaVersion": 12,
|
|
12
12
|
"sourceType": "module",
|
|
13
|
-
"project": [
|
|
13
|
+
"project": [
|
|
14
|
+
"tsconfig.json"
|
|
15
|
+
]
|
|
14
16
|
},
|
|
15
17
|
"plugins": [
|
|
16
18
|
"@typescript-eslint"
|
|
17
19
|
],
|
|
18
20
|
"rules": {
|
|
21
|
+
"require-jsdoc": "off",
|
|
19
22
|
"indent": [
|
|
20
23
|
"error",
|
|
21
24
|
2
|
|
@@ -25,9 +28,13 @@
|
|
|
25
28
|
120
|
|
26
29
|
],
|
|
27
30
|
"no-unused-vars": "off",
|
|
28
|
-
"@typescript-eslint/no-unused-vars": [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
"@typescript-eslint/no-unused-vars": [
|
|
32
|
+
"warn",
|
|
33
|
+
{
|
|
34
|
+
"varsIgnorePattern": "^_",
|
|
35
|
+
"argsIgnorePattern": "^_"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
31
38
|
"spaced-comment": "off",
|
|
32
39
|
"linebreak-style": "off",
|
|
33
40
|
"curly": [
|
|
@@ -37,10 +44,14 @@
|
|
|
37
44
|
"brace-style": [
|
|
38
45
|
"error",
|
|
39
46
|
"1tbs",
|
|
40
|
-
{
|
|
47
|
+
{
|
|
48
|
+
"allowSingleLine": true
|
|
49
|
+
}
|
|
41
50
|
],
|
|
42
51
|
"block-spacing": 2,
|
|
43
|
-
"@typescript-eslint/explicit-function-return-type": [
|
|
52
|
+
"@typescript-eslint/explicit-function-return-type": [
|
|
53
|
+
"error"
|
|
54
|
+
],
|
|
44
55
|
"@typescript-eslint/no-unsafe-return": "error"
|
|
45
56
|
}
|
|
46
57
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,42 @@
|
|
|
1
1
|
# Peptides changelog
|
|
2
2
|
|
|
3
|
+
## 1.17.0 (2023-11-29)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* Renamed activity column to _Activity_ (previously: _Scaled activity_).
|
|
8
|
+
* Improved input tooltip in the Mutation Cliffs pairs panel.
|
|
9
|
+
* Autosize grids in the Mutation Cliffs pairs panel.
|
|
10
|
+
* Hid sequence space embedding columns and axes selectors.
|
|
11
|
+
* Saving context panels state.
|
|
12
|
+
* Selected cells now have an orange thick border.
|
|
13
|
+
* Distribution panel now shows distribution for (1) all activity values, (2) selected rows, (3) peptides selection from
|
|
14
|
+
viewers if mismatched with the total selection.
|
|
15
|
+
* Sequence space viewer now uses the Needleman-Wunsch algorithm to compute distances.
|
|
16
|
+
* Linearization of helm format macromolecules before sequence space computation.
|
|
17
|
+
* Improved rendering speed of invariant map (no lags).
|
|
18
|
+
* Improved rendering speed upon selection/filtering.
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* Fixed accordion wouldn't update after selection in table view.
|
|
23
|
+
* Filtering dataframe causing most potent residues viewer and context panel to crash.
|
|
24
|
+
* Filtering dataframe causing major lags.
|
|
25
|
+
* Most potent residues viewer crashing on some data.
|
|
26
|
+
* Weblogo viewer crashing or causing major lag on selection/filtering.
|
|
27
|
+
|
|
3
28
|
## 1.16.0 (2023-11-05)
|
|
4
29
|
|
|
5
30
|
### Features
|
|
6
31
|
|
|
7
|
-
* Added Select All and
|
|
32
|
+
* Added Select All and Deselect All functionality to all viewers.
|
|
8
33
|
* Added Mean activity column for the Most Potent Residues viewer.
|
|
9
34
|
* Added Mean activity to tooltips.
|
|
10
|
-
* Added WebLogo to Selection table.
|
|
35
|
+
* Added WebLogo to the Selection table.
|
|
11
36
|
|
|
12
37
|
### Bug Fixes
|
|
13
38
|
|
|
14
|
-
* Fixed Logo Summary Table tooltip wouldn't show if analysis table doesn't contain column
|
|
39
|
+
* Fixed Logo Summary Table tooltip wouldn't show if the analysis table doesn't contain column name 'Cluster'.
|
|
15
40
|
* Fixed tooltips would show irrelevant info.
|
|
16
41
|
|
|
17
42
|
## 1.15.3 (2023-10-26)
|
|
@@ -36,23 +61,23 @@
|
|
|
36
61
|
|
|
37
62
|
### Bug Fixes
|
|
38
63
|
|
|
39
|
-
* Fixed Invariant Map color coding wouldn't change when changing color column.
|
|
64
|
+
* Fixed Invariant Map color coding wouldn't change when changing the color column.
|
|
40
65
|
|
|
41
66
|
## 1.15.0 (2023-10-12)
|
|
42
67
|
|
|
43
68
|
### Features
|
|
44
69
|
|
|
45
70
|
* Added Sequence Space viewer.
|
|
46
|
-
* Selection panel columns now
|
|
47
|
-
*
|
|
71
|
+
* Selection panel columns now inherit width from the main table.
|
|
72
|
+
* Invariant Map cell values are now rendered with contrast color relative to the background.
|
|
48
73
|
|
|
49
74
|
### Bug Fixes
|
|
50
75
|
|
|
51
76
|
* Fixed WebLogo in header margin width.
|
|
52
77
|
* Widgets in Context panel will now fill all the available width.
|
|
53
|
-
* Fixed LST rows not resizable.
|
|
78
|
+
* Fixed LST rows are not resizable.
|
|
54
79
|
* Fixed selection inconsistency.
|
|
55
|
-
* Fixed Most Potent Residues
|
|
80
|
+
* Fixed Most Potent Residues keyboard navigation.
|
|
56
81
|
* Fixed analysis not starting when there are columns of the same name.
|
|
57
82
|
|
|
58
83
|
## 1.14.1 (2023-09-28)
|
package/README.md
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
# Peptides
|
|
2
2
|
|
|
3
|
-
Provides
|
|
4
|
-
|
|
5
|
-
Status: Beta
|
|
6
|
-
Owner: Leonid
|
|
3
|
+
Provides sequence-activity relationship analysis for peptides.
|
|
7
4
|
|
|
8
5
|
## Detection and usage
|
|
9
6
|
|
|
10
|
-
Once a dataframe is opened with Datagrok, the column(s) containing peptides are detected automatically.
|
|
7
|
+
Once a dataframe is opened with Datagrok, the column(s) containing peptides are detected automatically.
|
|
8
|
+
Each amino acid is rendered with a different color, which helps to visually identify patterns.
|
|
9
|
+
Clicking on the column header brings up the options to launch peptide-specific tools, such as [SAR](#sar)
|
|
10
|
+
and [Peptide space](#peptides-space).
|
|
11
11
|
|
|
12
12
|
## Sar
|
|
13
13
|
|
|
14
|
-
Wiki: _Structure-Activity Relationship (SAR) is an approach designed to find relationships between chemical structure
|
|
14
|
+
Wiki: _Structure-Activity Relationship (SAR) is an approach designed to find relationships between chemical structure
|
|
15
|
+
(or structural-related properties) and biological activity (or target property) of studied compounds._
|
|
15
16
|
|
|
16
|
-
Peptides SAR is an interactive analysis tool to help identify point mutations that cause large change in
|
|
17
|
+
Peptides SAR is an interactive analysis tool to help identify point mutations that cause large change in
|
|
18
|
+
activity. Given a `peptide` column with aligned sequences (max length N, number of unique amino acids A)
|
|
19
|
+
and `activity` column, it produces an N*A dataframe where (n, a) element contains a measure of the change
|
|
20
|
+
of activity caused by mutating the amino acid at position n to a.
|
|
17
21
|
|
|
18
22
|
[Issue tracker](https://github.com/datagrok-ai/public/issues/93)
|
|
19
23
|
|
|
@@ -22,3 +26,4 @@ Peptides SAR is an interactive analysis tool to help identify point mutations th
|
|
|
22
26
|
Visualizes a collection of peptides in 2-dimensional space, using [t-SNE](https://en.wikipedia.org/wiki/T-distributed_stochastic_neighbor_embedding) with the [edit distance](https://en.wikipedia.org/wiki/Edit_distance) function.
|
|
23
27
|
|
|
24
28
|
[Issue tracker](https://github.com/datagrok-ai/public/issues/93)
|
|
29
|
+
[Datagrok community: Macromolecules](https://community.datagrok.ai/t/macromolecules-updates/661/1)
|