@datagrok/peptides 1.27.9 → 1.27.10
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/CHANGELOG.md +7 -0
- package/CLAUDE.md +1 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +8 -8
- package/src/package-api.ts +7 -0
- package/src/package.g.ts +10 -0
- package/src/package.ts +13 -0
- package/src/tests/viewers.ts +56 -0
- package/src/viewers/peptide-generation-viewer.ts +745 -0
- package/test-console-output-1.log +92 -111
- package/test-record-1.mp4 +0 -0
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Peptides changelog
|
|
2
2
|
|
|
3
|
+
## 1.27.10 (2026-07-08)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* Peptide Generation: New viewer that designs new candidate peptides from monomer-position statistics using an additive positional model, ranked by predicted activity (High/Low target) with per-peptide statistical support and novelty flags. Reuses the SAR viewers'/model's cached statistics when available, reacts to the dataframe filter, applies empirical-Bayes shrinkage to damp low-support noise, and carries an info icon explaining the model and its caveats. Appends per-position "basis" columns that render each chosen monomer (colored from the monomer library, width-fitted) with an effect circle (size = per-row-normalized effect magnitude, color = direction × significance: red raises, blue lowers, pale ≈ weak, grey = untestable) and the signed contribution value, with Most-Potent-Residues-style activity-distribution tooltips that explain the encoding. A header "+" button opens the generated peptides as a standalone table view, flattening the basis columns to "monomer, contribution, p-value" text. Not added to SAR analysis by default — add it manually from the viewers menu.
|
|
8
|
+
|
|
9
|
+
* Moved the Peptides Playwright E2E suite into the package (playwright/); helpers from @datagrok-libraries/test/src/playwright
|
|
3
10
|
## 1.27.4 - 1.27.7 (2026-03-20)
|
|
4
11
|
|
|
5
12
|
### Features
|
package/CLAUDE.md
CHANGED
|
@@ -80,6 +80,7 @@ Key types:
|
|
|
80
80
|
| `mutation-cliffs-viewer.ts` | `MutationCliffsViewer` | Line chart of mutation cliffs at a selected position. Splits by series column, syncs selection with main dataframe |
|
|
81
81
|
| `cluster-max-activity-viewer.ts` | `ClusterMaxActivityViewer` | Scatter plot: cluster size vs max activity per cluster. Draws threshold lines, supports auto-selection of top quadrants |
|
|
82
82
|
| `position-statistics-viewer.ts` | `SequencePositionStatsViewer` | Box/violin plot of numerical values grouped by monomers at a selected position. Configurable motif overhang |
|
|
83
|
+
| `peptide-generation-viewer.ts` | `PeptideGenerationViewer` | **Optional, not added by default.** De novo peptide generator. Reuses `calculateMonomerPositionStatistics` (sharing the SAR viewers'/model's cached stats when they match) and an additive positional (Free-Wilson-style) model with empirical-Bayes shrinkage to synthesize new candidate peptides via bounded beam search, ranked by predicted activity (High/Low). Each row reports predicted activity, confidence, min support, mean p-value, significant positions and novelty. Appends per-position **basis columns** custom-rendered via `onCellRender` (library-colored width-fitted monomer + effect circle whose size = per-row-normalized effect magnitude and color = direction × significance (red raises / blue lowers, pale = weak, grey = untestable) + signed contribution number) with `showTooltip` activity-distribution tooltips that explain the encoding, mirroring Most Potent Residues. Builds sequences with `seqHandler.joiner` + `StringListSeqSplitted` + `getNewColumnFromList` |
|
|
83
84
|
|
|
84
85
|
### Export Features (context menu on Sequence Variability Map / Most Potent Residues)
|
|
85
86
|
|