@platforma-open/milaboratories.mixcr-clonotyping-2 2.21.3 → 2.22.0

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.
@@ -1,5 +1,54 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping
2
2
 
3
+ ## 2.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d8c1472: Add the mandatory block kind and migrate the model to the new column access API
8
+
9
+ The block now declares a `kind/` package carrying its identity and its
10
+ init-params contract — the fields a project template supplies to seed a new
11
+ instance. The model consumes them in `init` and projects the same set back out
12
+ via `templateParams`, so export and apply are inverses. File-valued params are
13
+ narrowed to `index://` handles, since an `upload://` handle names an import
14
+ local to one machine and would not resolve after a template is applied
15
+ elsewhere.
16
+
17
+ Model column access moves off the removed/deprecated surface: `ColumnLazy` →
18
+ `DataColumn`, `resultPool.getSpecByRef` → `Column(ref).getSpec()`, and all three
19
+ `getPColumns()` call sites → `ColumnsCollection`, which resolves ids host-side
20
+ instead of materialising specs and data in the sandbox.
21
+
22
+ ## 2.21.4
23
+
24
+ ### Patch Changes
25
+
26
+ - 9f35bb7: fix: size the exportClones execs from the .clns instead of a flat 12 GiB
27
+
28
+ `exportClones` requested a constant 12 GiB (or `perProcessMemGB / 4`) — a number
29
+ unrelated to what the command holds in memory. It reads the entire CloneSet into
30
+ heap, and single-cell exports then materialise a second, expanded list — one clone
31
+ per (clonotype × cell), each with its own split TagCount — then sort and re-rank it.
32
+ `--chains` filters only after that division, so exporting one chain group still pays
33
+ the whole-file cost.
34
+
35
+ Under the `memory-from-limits` entrypoint a 12 GiB grant yields 8788 MiB of heap,
36
+ because the non-heap reserve is a flat 3500 MiB. A 10.7k-cell / 26.7k-clone 10x BCR
37
+ sample exhausted it: `exportClones` died with `OutOfMemoryError`, taking the
38
+ `clonotypes`, `clonotypeTables` and `qcReportTable` outputs with it.
39
+
40
+ - RAM is now `clamp(perByte × size(clns), floor, 128 GiB)` — 16 GiB and 16× for the
41
+ bulk export, 24 GiB and 32× for the single-cell export, which pays the per-cell
42
+ expansion. 24 GiB yields 20889 MiB of heap, 2.4× the ceiling that failed. The floors
43
+ are kept tight because `-Xms` is half the grant: the request is a hard pre-allocation,
44
+ and a sample runs one bulk plus one single-cell export per chain group.
45
+ - An Advanced Settings memory override now applies as-is rather than quartered,
46
+ matching how the analyze step treats the same setting. Projects that set it will
47
+ request 4× more for the export step than before.
48
+ - The two PTabler steps now inherit workflow-tengo 6.8's built-in input-volume
49
+ formula, as the rest of the single-cell pipeline already does. They previously took
50
+ ⅔ of the mixcr step's budget.
51
+
3
52
  ## 2.21.3
4
53
 
5
54
  ### Patch Changes
Binary file
@@ -1 +1 @@
1
- {"schema":"v2","description":{"id":{"organization":"milaboratories","name":"mixcr-clonotyping-2","version":"2.21.3"},"components":{"workflow":{"type":"workflow-v1","main":{"type":"relative","path":"main.plj.gz"}},"model":{"type":"relative","path":"model.json"},"ui":{"type":"relative","path":"ui.tgz"}},"meta":{"title":"MiXCR Clonotyping","description":"Extract TCR / BCR clonotypes from next-generation sequencing data","longDescription":{"type":"relative","path":"description.md"},"changelog":{"type":"relative","path":"CHANGELOG.md"},"logo":{"type":"relative","path":"block-logo.png"},"url":"https://github.com/platforma-open/mixcr-clonotyping-2","support":"mailto:support@milaboratories.com","tags":["upstream","airr","vdj","single-cell"],"organization":{"name":"MiLaboratories Inc","url":"https://milaboratories.com/","logo":{"type":"relative","path":"organization-logo.png"}},"marketplaceRanking":16900},"featureFlags":{"supportsLazyState":true,"supportsPframeQueryRanking":true,"requiresUIAPIVersion":3,"requiresModelAPIVersion":2,"requiresCreatePTable":2,"requiresPFramesVersion":1001031,"requiresPFrameSpec":true,"requiresPFrame":true,"requiresDialog":true,"requiresColumnsCollection":true}},"timestamp":1785261519559,"files":[{"name":"main.plj.gz","size":1523065,"sha256":"4AF32241053FDFBB84A7BD0A942EAEEFB27CF3106D2E515FB59AD986215BEEE2"},{"name":"model.json","size":521073,"sha256":"2B8820CAEB51DD44818E1AF5A30D7C01AD04A4D3477A6521213118830C9D6350"},{"name":"ui.tgz","size":4000899,"sha256":"7837829E745ABF01A5F227191C692CC053B51B8E69C8E653D9E956CECD89F073"},{"name":"organization-logo.png","size":24439,"sha256":"FA71390C77C91E4B7FAAE5640D00F92F1E3F2869296F68B6040DD7CC549A50B5"},{"name":"description.md","size":1148,"sha256":"B319CBECC5055A89194C4D7B5768E1ABDE225053885800179439839408ECBA54"},{"name":"CHANGELOG.md","size":41526,"sha256":"BF290585F78936100FB27EC76DF660735D5EA92E8B3723AF56DDC5570FD693C7"},{"name":"block-logo.png","size":21527,"sha256":"6BB33BAF0CD039549661B51AE490373BE60D1811EC71F5023400928293BC2427"}]}
1
+ {"schema":"v2","description":{"id":{"organization":"milaboratories","name":"mixcr-clonotyping-2","version":"2.22.0"},"components":{"workflow":{"type":"workflow-v1","main":{"type":"relative","path":"main.plj.gz"}},"model":{"type":"relative","path":"model.json"},"ui":{"type":"relative","path":"ui.tgz"}},"meta":{"title":"MiXCR Clonotyping","description":"Extract TCR / BCR clonotypes from next-generation sequencing data","longDescription":{"type":"relative","path":"description.md"},"changelog":{"type":"relative","path":"CHANGELOG.md"},"logo":{"type":"relative","path":"block-logo.png"},"url":"https://github.com/platforma-open/mixcr-clonotyping-2","support":"mailto:support@milaboratories.com","tags":["upstream","airr","vdj","single-cell"],"organization":{"name":"MiLaboratories Inc","url":"https://milaboratories.com/","logo":{"type":"relative","path":"organization-logo.png"}},"marketplaceRanking":16900},"featureFlags":{"supportsLazyState":true,"supportsPframeQueryRanking":true,"requiresUIAPIVersion":3,"requiresModelAPIVersion":2,"requiresCreatePTable":2,"requiresPFramesVersion":1001031,"requiresPFrameSpec":true,"requiresPFrame":true,"requiresDialog":true,"requiresColumnsCollection":true},"kind":"@platforma-open/milaboratories.mixcr-clonotyping-2.kind@1.1.0"},"timestamp":1787228427163,"files":[{"name":"main.plj.gz","size":1523340,"sha256":"404DFE6E0B8735EE89D000749B749810DAFEBF5AF78B1B60ECEF2C6138BD5C57"},{"name":"model.json","size":575939,"sha256":"ABE8B2BA1F3818F65E7E58D81B8C72FB3274CFEDA89BC2F0F5D9AF8FE0D6C416"},{"name":"ui.tgz","size":4040793,"sha256":"B29BCB98ACAC9DCB451FD9452BAB4528BB3F61B25672B15EE726BB89C02A962D"},{"name":"organization-logo.png","size":24439,"sha256":"FA71390C77C91E4B7FAAE5640D00F92F1E3F2869296F68B6040DD7CC549A50B5"},{"name":"description.md","size":1148,"sha256":"B319CBECC5055A89194C4D7B5768E1ABDE225053885800179439839408ECBA54"},{"name":"CHANGELOG.md","size":44187,"sha256":"C877ED13603E450D8EDAA439558CF7E0D1F6F6D0D5727D100C46B3E0839FAAD5"},{"name":"block-logo.png","size":21527,"sha256":"6BB33BAF0CD039549661B51AE490373BE60D1811EC71F5023400928293BC2427"}]}