@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.20.3 → 2.20.5

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.20.3 build /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.20.5 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,17 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping.workflow
2
2
 
3
+ ## 2.20.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 1ca5594: Another memory requesting optimization
8
+
9
+ ## 2.20.4
10
+
11
+ ### Patch Changes
12
+
13
+ - 983f157: Workfolder will now be used for temp files in mixcr analysis
14
+
3
15
  ## 2.20.3
4
16
 
5
17
  ### Patch Changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
3
- "version": "2.20.3",
3
+ "version": "2.20.5",
4
4
  "description": "Tengo-based template",
5
5
  "dependencies": {
6
6
  "@platforma-sdk/workflow-tengo": "^4.8.0",
@@ -25,7 +25,7 @@ self.body(func(inputs) {
25
25
 
26
26
  mixcrExportPresetCmdBuilder := exec.builder().
27
27
  inUiQueue().
28
- mem("200MiB").
28
+ mem("1GiB").
29
29
  software(mixcrSw).
30
30
  secret("MI_LICENSE", "MI_LICENSE").
31
31
  printErrStreamToStdout().
@@ -56,7 +56,7 @@ self.body(func(inputs) {
56
56
 
57
57
  mixcrForBackCmd := exec.builder().
58
58
  inUiQueue().
59
- mem("200MiB").
59
+ mem("1GiB").
60
60
  software(mixcrSw).
61
61
  secret("MI_LICENSE", "MI_LICENSE").
62
62
  printErrStreamToStdout().
@@ -15,8 +15,8 @@ self.body(func(inputs) {
15
15
  // ll.print("__THE_LOG__ feats.computeLimits " + feats.computeLimits)
16
16
  ll.print("__THE_LOG__ asdhjkajsdjasdjk")
17
17
  listPresets := exec.builder().
18
- inMediumQueue().
19
- mem("202MiB").
18
+ inUiQueue().
19
+ mem("1GiB").
20
20
  software(mixcrSw).
21
21
  secret("MI_LICENSE", "MI_LICENSE").
22
22
  arg("listPresetSpecificationsForUI").
@@ -10,6 +10,7 @@ exec := import("@platforma-sdk/workflow-tengo:exec")
10
10
  assets := import("@platforma-sdk/workflow-tengo:assets")
11
11
  pcolumn := import("@platforma-sdk/workflow-tengo:pframes.pcolumn")
12
12
  times := import("times")
13
+ text := import("text")
13
14
  maps := import("@platforma-sdk/workflow-tengo:maps")
14
15
 
15
16
  json := import("json")
@@ -44,11 +45,14 @@ self.body(func(inputs) {
44
45
 
45
46
  hasAssembleContigs := false
46
47
  hasAssembleCells := false
48
+ hasMiToolSteps := false
47
49
  for stage in presetContent.pipeline {
48
50
  if stage == "assembleContigs" {
49
51
  hasAssembleContigs = true
50
52
  } else if stage == "assembleCells" {
51
53
  hasAssembleCells = true
54
+ } else if text.has_prefix(stage, "mitool-") {
55
+ hasMiToolSteps = true
52
56
  }
53
57
  }
54
58
 
@@ -64,13 +68,16 @@ self.body(func(inputs) {
64
68
  printErrStreamToStdout().
65
69
  env("MI_PROGRESS_PREFIX", progressPrefix).
66
70
  software(mixcrSw).
67
- cpu(32).
71
+ cpu(16).
68
72
  secret("MI_LICENSE", "MI_LICENSE").
69
- arg("analyze")
73
+ arg("analyze").arg("--use-local-temp")
70
74
 
71
- if hasAssembleContigs || hasAssembleCells {
75
+ if hasMiToolSteps {
76
+ // allow to use more memory for single cell analysis with mitool pre-
77
+ mixcrCmdBuilder.mem("192GiB")
78
+ } else if hasAssembleContigs || hasAssembleCells {
72
79
  // allow to use more memory for single cell analysis
73
- mixcrCmdBuilder.mem("128GiB")
80
+ mixcrCmdBuilder.mem("110GiB")
74
81
  } else {
75
82
  mixcrCmdBuilder.mem("64GiB")
76
83
  }