@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.21.2 → 2.23.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/tengo/tpl/aggregate-by-clonotype-key.plj.gz +0 -0
- package/dist/tengo/tpl/calculate-preset-info.plj.gz +0 -0
- package/dist/tengo/tpl/list-presets.plj.gz +0 -0
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-analyze.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-export.plj.gz +0 -0
- package/dist/tengo/tpl/prerun.plj.gz +0 -0
- package/dist/tengo/tpl/process-single-cell.plj.gz +0 -0
- package/dist/tengo/tpl/process.plj.gz +0 -0
- package/dist/tengo/tpl/test.columns-calculate.plj.gz +0 -0
- package/dist/tengo/tpl/test.columns.test.plj.gz +0 -0
- package/package.json +3 -3
- package/src/list-presets.tpl.tengo +1 -0
- package/src/main.tpl.tengo +4 -0
- package/src/mixcr-analyze.tpl.tengo +14 -2
- package/src/process.tpl.tengo +7 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.23.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,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e152a2f: SDK Upgrade: fix for compatibility issues with old platformas and final migration to request-based task scheduling
|
|
8
|
+
|
|
9
|
+
## 2.22.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- a65fef4: Custom settings for memory and CPU count added
|
|
14
|
+
|
|
3
15
|
## 2.21.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.
|
|
3
|
+
"version": "2.23.0",
|
|
4
4
|
"description": "Tengo-based template",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@platforma-sdk/workflow-tengo": "^4.9.
|
|
6
|
+
"@platforma-sdk/workflow-tengo": "^4.9.2",
|
|
7
7
|
"@platforma-open/milaboratories.software-mixcr": "4.7.0-190-develop"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@platforma-sdk/tengo-builder": "^2.1.11",
|
|
11
|
-
"@platforma-sdk/test": "^1.37.
|
|
11
|
+
"@platforma-sdk/test": "^1.37.16",
|
|
12
12
|
"vitest": "~2.1.9",
|
|
13
13
|
"typescript": "~5.5.4"
|
|
14
14
|
},
|
package/src/main.tpl.tengo
CHANGED
|
@@ -56,6 +56,8 @@ wf.body(func(args) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
limitInput := args.limitInput
|
|
59
|
+
perProcessMemGB := args.perProcessMemGB
|
|
60
|
+
perProcessCPUs := args.perProcessCPUs
|
|
59
61
|
isLibraryFileGzipped := false
|
|
60
62
|
|
|
61
63
|
library := false
|
|
@@ -112,6 +114,8 @@ wf.body(func(args) {
|
|
|
112
114
|
species: species,
|
|
113
115
|
receptorsOrChains: receptorsOrChains,
|
|
114
116
|
limitInput: limitInput,
|
|
117
|
+
perProcessMemGB: perProcessMemGB,
|
|
118
|
+
perProcessCPUs: perProcessCPUs,
|
|
115
119
|
blockId: blockId,
|
|
116
120
|
libraryId: libraryId,
|
|
117
121
|
presetCommonName: args.presetCommonName,
|
|
@@ -31,6 +31,8 @@ self.body(func(inputs) {
|
|
|
31
31
|
params := inputs.params
|
|
32
32
|
species := params.species
|
|
33
33
|
limitInput := params.limitInput
|
|
34
|
+
perProcessMemGB := inputs.perProcessMemGB
|
|
35
|
+
perProcessCPUs := inputs.perProcessCPUs
|
|
34
36
|
fileExtension := params.fileExtension
|
|
35
37
|
reports := params.reports
|
|
36
38
|
isLibraryFileGzipped := params.isLibraryFileGzipped
|
|
@@ -68,11 +70,21 @@ self.body(func(inputs) {
|
|
|
68
70
|
printErrStreamToStdout().
|
|
69
71
|
env("MI_PROGRESS_PREFIX", progressPrefix).
|
|
70
72
|
software(mixcrSw).
|
|
71
|
-
cpu(16).
|
|
72
73
|
secret("MI_LICENSE", "MI_LICENSE").
|
|
73
74
|
arg("analyze").arg("--use-local-temp")
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
// CPUs number per process
|
|
77
|
+
if !is_undefined(perProcessCPUs) {
|
|
78
|
+
mixcrCmdBuilder.cpu(perProcessCPUs)
|
|
79
|
+
} else {
|
|
80
|
+
mixcrCmdBuilder.cpu(16) // default CPUs number per sample
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Memory limit per process
|
|
84
|
+
if !is_undefined(perProcessMemGB) {
|
|
85
|
+
// memory per process was set in "Advanced Settings" block directly
|
|
86
|
+
mixcrCmdBuilder.mem(string(perProcessMemGB) + "GiB")
|
|
87
|
+
} else if hasMiToolSteps {
|
|
76
88
|
// allow to use more memory for single cell analysis with mitool pre-
|
|
77
89
|
mixcrCmdBuilder.mem("192GiB")
|
|
78
90
|
} else if hasAssembleContigs || hasAssembleCells {
|
package/src/process.tpl.tengo
CHANGED
|
@@ -62,6 +62,8 @@ self.body(func(inputs) {
|
|
|
62
62
|
// can be either receptors or chains
|
|
63
63
|
receptorsOrChains := params.receptorsOrChains
|
|
64
64
|
limitInput := params.limitInput
|
|
65
|
+
perProcessMemGB := params.perProcessMemGB
|
|
66
|
+
perProcessCPUs := params.perProcessCPUs
|
|
65
67
|
blockId := params.blockId
|
|
66
68
|
libraryId := params.libraryId
|
|
67
69
|
presetCommonName := params.presetCommonName
|
|
@@ -262,7 +264,11 @@ self.body(func(inputs) {
|
|
|
262
264
|
},
|
|
263
265
|
library: library,
|
|
264
266
|
presetContent: presetContent
|
|
265
|
-
}
|
|
267
|
+
},
|
|
268
|
+
metaExtra: {
|
|
269
|
+
perProcessMemGB: perProcessMemGB,
|
|
270
|
+
perProcessCPUs: perProcessCPUs
|
|
271
|
+
}
|
|
266
272
|
}
|
|
267
273
|
)
|
|
268
274
|
|