@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.19.4 → 2.20.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,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/mixcr-clonotyping/mixcr-clonotyping/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.19.4 build /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.20.0 build /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  info: Skipping unknown file type: test/columns.test.ts
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping.workflow
2
2
 
3
+ ## 2.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - CPU and Memory requests for all jobs
8
+
3
9
  ## 2.19.4
4
10
 
5
11
  ### Patch Changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
3
- "version": "2.19.4",
3
+ "version": "2.20.0",
4
4
  "description": "Tengo-based template",
5
5
  "dependencies": {
6
- "@platforma-sdk/workflow-tengo": "^4.7.4",
7
- "@platforma-open/milaboratories.software-mixcr": "4.7.0-175-develop"
6
+ "@platforma-sdk/workflow-tengo": "^4.8.0",
7
+ "@platforma-open/milaboratories.software-mixcr": "4.7.0-178-develop"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@platforma-sdk/tengo-builder": "^2.1.10",
11
- "@platforma-sdk/test": "^1.34.3",
11
+ "@platforma-sdk/test": "^1.34.6",
12
12
  "vitest": "~2.1.9",
13
13
  "typescript": "~5.5.4"
14
14
  },
@@ -15,7 +15,7 @@ self.validateInputs({
15
15
  }
16
16
  })
17
17
 
18
- mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:low-memory")
18
+ mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:memory-from-limits")
19
19
 
20
20
  self.defineOutputs("preset", "presetSpecForBack")
21
21
 
@@ -25,6 +25,7 @@ self.body(func(inputs) {
25
25
 
26
26
  mixcrExportPresetCmdBuilder := exec.builder().
27
27
  inUiQueue().
28
+ mem("200MiB").
28
29
  software(mixcrSw).
29
30
  secret("MI_LICENSE", "MI_LICENSE").
30
31
  printErrStreamToStdout().
@@ -55,6 +56,7 @@ self.body(func(inputs) {
55
56
 
56
57
  mixcrForBackCmd := exec.builder().
57
58
  inUiQueue().
59
+ mem("200MiB").
58
60
  software(mixcrSw).
59
61
  secret("MI_LICENSE", "MI_LICENSE").
60
62
  printErrStreamToStdout().
@@ -5,14 +5,18 @@ ll := import("@platforma-sdk/workflow-tengo:ll")
5
5
  exec := import("@platforma-sdk/workflow-tengo:exec")
6
6
  file := import("@platforma-sdk/workflow-tengo:file")
7
7
  assets := import("@platforma-sdk/workflow-tengo:assets")
8
+ feats := import("@platforma-sdk/workflow-tengo:feats")
8
9
 
9
10
  self.defineOutputs("presets")
10
11
 
11
- mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:low-memory")
12
+ mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:memory-from-limits")
12
13
 
13
14
  self.body(func(inputs) {
15
+ // ll.print("__THE_LOG__ feats.computeLimits " + feats.computeLimits)
16
+ ll.print("__THE_LOG__ asdhjkajsdjasdjk")
14
17
  listPresets := exec.builder().
15
- inUiQueue().
18
+ inMediumQueue().
19
+ mem("202MiB").
16
20
  software(mixcrSw).
17
21
  secret("MI_LICENSE", "MI_LICENSE").
18
22
  arg("listPresetSpecificationsForUI").
@@ -16,7 +16,7 @@ json := import("json")
16
16
 
17
17
  self.defineOutputs("qc", "reports", "log", "clns")
18
18
 
19
- mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:main")
19
+ mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:memory-from-limits")
20
20
 
21
21
  progressPrefix := "[==PROGRESS==]"
22
22
 
@@ -64,11 +64,17 @@ self.body(func(inputs) {
64
64
  printErrStreamToStdout().
65
65
  env("MI_PROGRESS_PREFIX", progressPrefix).
66
66
  software(mixcrSw).
67
- mem("64GiB").
68
67
  cpu(32).
69
68
  secret("MI_LICENSE", "MI_LICENSE").
70
69
  arg("analyze")
71
70
 
71
+ if hasAssembleContigs || hasAssembleCells {
72
+ // allow to use more memory for single cell analysis
73
+ mixcrCmdBuilder.mem("128GiB")
74
+ } else {
75
+ mixcrCmdBuilder.mem("64GiB")
76
+ }
77
+
72
78
  if !is_undefined(limitInput) {
73
79
  mixcrCmdBuilder.arg("--limit-input").arg(string(limitInput))
74
80
  }
@@ -11,8 +11,7 @@ json := import("json")
11
11
 
12
12
  self.defineOutputs("tsv", "tsvForSingleCell")
13
13
 
14
- mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:low-memory")
15
- ptablerSw := assets.importSoftware("@platforma-open/milaboratories.software-ptabler:main")
14
+ mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:memory-from-limits")
16
15
 
17
16
  self.body(func(inputs) {
18
17
  clnsFile := inputs[pConstants.VALUE_FIELD_NAME]
@@ -43,7 +42,7 @@ self.body(func(inputs) {
43
42
  createExport := func(additionalAction) {
44
43
  mixcrCmdBuilder := exec.builder().
45
44
  inMediumQueue().
46
- ram("6GiB").
45
+ ram("12GiB").
47
46
  cpu(2).
48
47
  printErrStreamToStdout().
49
48
  dontSaveStdoutOrStderr().
@@ -96,7 +95,7 @@ self.body(func(inputs) {
96
95
  // PTabler processing for main TSV output
97
96
  wfMain := pt.workflow().
98
97
  inMediumQueue().
99
- mem("4GiB").
98
+ mem("8GiB").
100
99
  cpu(2)
101
100
 
102
101
  frameInputMap := {
@@ -136,7 +135,7 @@ self.body(func(inputs) {
136
135
  // PTabler processing for single-cell TSV output
137
136
  wfSingleCell := pt.workflow().
138
137
  inMediumQueue().
139
- mem("2GiB").
138
+ mem("4GiB").
140
139
  cpu(2)
141
140
 
142
141
  dfSingleCell := wfSingleCell.frame(unprocessedTsvForSingleCell, { xsvType: "tsv", inferSchema: false })