Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/adapt-synthetic-repertoire-profiler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@platforma-open/milaboratories.sequence-properties.model': patch
'@platforma-open/milaboratories.sequence-properties.workflow': patch
'@platforma-open/milaboratories.sequence-properties.ui': patch
---

Support `synthetic-repertoire-profiler` (amplicon) variant datasets:

- `detectMode` now recognizes the profiler's `pl7.app/variantKey` axis (axis domain `pl7.app/repertoire/extractionRunId`) as a new `"amplicon"` mode, instead of falling through to the "no recognized sequence key axis" panic.
- Amplicon runs the same whole-sequence physicochemical computation as peptide mode (the Python engine runs it under its `peptide` path), reading the whole-variant amino-acid sequence (`pl7.app/feature: "amplicon-sequence"`).
- Output property columns (and the AA-fraction column) are labeled with the `amplicon-sequence` feature instead of `peptide`, so they attach to the correct entity.
- The UI's default scatter/histogram axes are amplicon-aware (charge / hydrophobicity on the `amplicon-sequence` feature).

Per-region properties for amplicon (using the profiler's region subsequences) are out of scope here — whole-sequence descriptors only.
2 changes: 1 addition & 1 deletion block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"build": "shx rm -rf ./block-pack && block-tools pack",
"mark-stable": "block-tools mark-stable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'",
"prepublishOnly": "block-tools pack && block-tools publish --unstable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1'",
"prepublishOnly": "block-tools pack && block-tools publish --unstable -r 's3://milab-euce1-prod-pkgs-s3-block-registry/pub/releases/?region=eu-central-1' --registry-serve-url https://blocks.pl-open.science",
"do-pack": "shx rm -f *.tgz && block-tools pack && pnpm pack && shx mv *.tgz package.tgz"
},
"files": [
Expand Down
4 changes: 4 additions & 0 deletions model/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export type BlockArgs = {

export type WorkflowMode =
| "peptide"
// synthetic-repertoire-profiler amplicon variants: whole-sequence properties
// on the variant's amino-acid sequence (same math as peptide mode, labeled
// with the "amplicon-sequence" feature instead of "peptide").
| "amplicon"
| "antibody_tcr_universal"
| "antibody_tcr_legacy_bulk"
| "antibody_tcr_legacy_sc";
Expand Down
Loading
Loading