@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.13.0 → 2.14.1
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 +14 -14
- package/.turbo/turbo-test.log +27 -12
- 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 +2 -2
- package/src/mixcr-export.tpl.tengo +24 -1
- package/src/process.tpl.tengo +8 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
WARN Issue while reading "/home/runner/work/mixcr-clonotyping
|
|
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.14.1 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
|
|
@@ -19,17 +19,17 @@ Processing "src/test/columns.test.tpl.tengo"...
|
|
|
19
19
|
No syntax errors found.
|
|
20
20
|
info: Skipping unknown file type: test/columns.test.ts
|
|
21
21
|
info: Compiling 'dist'...
|
|
22
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
23
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
24
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
25
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
26
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
27
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
28
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
29
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
30
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
31
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
32
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
33
|
-
info: - writing /home/runner/work/mixcr-clonotyping
|
|
22
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/lib/calculate-export-specs.lib.tengo
|
|
23
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/aggregate-by-clonotype-key.plj.gz
|
|
24
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/calculate-preset-info.plj.gz
|
|
25
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/list-presets.plj.gz
|
|
26
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/mixcr-analyze.plj.gz
|
|
27
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/mixcr-export.plj.gz
|
|
28
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/prerun.plj.gz
|
|
29
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/process-single-cell.plj.gz
|
|
30
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/process.plj.gz
|
|
31
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/test.columns-calculate.plj.gz
|
|
32
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/test.columns.test.plj.gz
|
|
33
|
+
info: - writing /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow/dist/tengo/tpl/main.plj.gz
|
|
34
34
|
info: Template Pack build done.
|
|
35
35
|
info: Template Pack build done.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,21 +1,36 @@
|
|
|
1
|
-
WARN Issue while reading "/home/runner/work/mixcr-clonotyping
|
|
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.14.1 test /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow
|
|
4
4
|
> vitest
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.8 [39m[90m/home/runner/work/mixcr-clonotyping
|
|
7
|
+
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.8 [39m[90m/home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow[39m
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
[90mstdout[2m | src/test/columns.test.ts[2m > [22m[2mchecking preset for 'milab-human-dna-xcr-7genes-multiplex'
|
|
10
|
+
[22m[39m{
|
|
11
|
+
type: [32m'ok'[39m,
|
|
12
|
+
value: [90mundefined[39m,
|
|
13
|
+
stable: [33mfalse[39m,
|
|
14
|
+
uTag: [32m'fc1997c6-5b87-4c86-8aa6-0ea9d2014b38'[39m,
|
|
15
|
+
unstableMarker: [32m'field_not_resolved:exportSpecs'[39m
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[90mstdout[2m | src/test/columns.test.ts[2m > [22m[2mchecking preset for 'milab-human-dna-xcr-7genes-multiplex'
|
|
19
|
+
[22m[39mTEST FAILED SO ALTERNATIVE ROOT IS PRESETVED IN PL: test_1745591248072_67adc363-cf48-41ba-82a1-fe7e00142ad8 (NG:0x82)
|
|
20
|
+
|
|
21
|
+
[90mstdout[2m | src/test/columns.test.ts[2m > [22m[2mchecking preset for 'milab-human-dna-xcr-7genes-multiplex'
|
|
22
|
+
[22m[39mTEST FAILED SO ALTERNATIVE ROOT IS PRESETVED IN PL: test_1745591269056_11ea8a8b-adb0-49ca-b74e-a9b287bc1ae3 (NG:0x138)
|
|
23
|
+
|
|
24
|
+
[32m✓[39m src/test/columns.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 67551[2mms[22m[39m
|
|
25
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m27568[2mms[22m[39m
|
|
26
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8418[2mms[22m[39m
|
|
27
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m8182[2mms[22m[39m
|
|
28
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m7939[2mms[22m[39m
|
|
29
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7749[2mms[22m[39m
|
|
30
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m7693[2mms[22m[39m
|
|
16
31
|
|
|
17
32
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
18
33
|
[2m Tests [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
19
|
-
[2m Start at [22m
|
|
20
|
-
[2m Duration [22m
|
|
34
|
+
[2m Start at [22m 14:27:27
|
|
35
|
+
[2m Duration [22m 68.34s[2m (transform 42ms, setup 0ms, collect 576ms, tests 67.55s, environment 0ms, prepare 60ms)[22m
|
|
21
36
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.14.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 748457a: Upgrade mixcr version to prevent crash with custom library with custom C gene names
|
|
8
|
+
|
|
9
|
+
## 2.14.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- dc86a17: single cell export and removing columns for secondary clones except CDR3 aa
|
|
14
|
+
|
|
3
15
|
## 2.13.0
|
|
4
16
|
|
|
5
17
|
### Minor 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Tengo-based template",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@platforma-sdk/workflow-tengo": "^4.1.2",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@platforma-sdk/tengo-builder": "^2.1.0",
|
|
12
|
-
"@platforma-open/milaboratories.software-mixcr": "4.7.0-
|
|
12
|
+
"@platforma-open/milaboratories.software-mixcr": "4.7.0-165-develop",
|
|
13
13
|
"@platforma-open/milaboratories.software-ptransform": "^1.3.1",
|
|
14
14
|
"@platforma-sdk/test": "^1.29.17",
|
|
15
15
|
"vitest": "~2.1.8",
|
|
@@ -75,7 +75,8 @@ self.body(func(inputs) {
|
|
|
75
75
|
|
|
76
76
|
if is_undefined(clonotypeKeyColumns) {
|
|
77
77
|
result.tsv = unprocessedTsv
|
|
78
|
-
|
|
78
|
+
|
|
79
|
+
} else if is_undefined(cellTagColumns) {
|
|
79
80
|
hashCmdBuilder := exec.builder().
|
|
80
81
|
printErrStreamToStdout().
|
|
81
82
|
software(hashColumnSw).
|
|
@@ -96,6 +97,28 @@ self.body(func(inputs) {
|
|
|
96
97
|
|
|
97
98
|
processedTsv := hashCmd.getFile("output.tsv")
|
|
98
99
|
|
|
100
|
+
result.tsv = processedTsv
|
|
101
|
+
|
|
102
|
+
} else {
|
|
103
|
+
pWorkflow := {
|
|
104
|
+
steps: [ {
|
|
105
|
+
type: "combine_columns_as_json",
|
|
106
|
+
src: clonotypeKeyColumns,
|
|
107
|
+
dst: "clonotypeKey"
|
|
108
|
+
} ]
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
aggregateCmd := exec.builder().
|
|
112
|
+
printErrStreamToStdout().
|
|
113
|
+
software(ptransformSw).
|
|
114
|
+
arg("--workflow").arg("wf.json").
|
|
115
|
+
writeFile("wf.json", json.encode(pWorkflow)).
|
|
116
|
+
arg("input.tsv").addFile("input.tsv", unprocessedTsv).
|
|
117
|
+
arg("output.tsv").saveFile("output.tsv").
|
|
118
|
+
run()
|
|
119
|
+
|
|
120
|
+
processedTsv := aggregateCmd.getFile("output.tsv")
|
|
121
|
+
|
|
99
122
|
result.tsv = processedTsv
|
|
100
123
|
}
|
|
101
124
|
|
package/src/process.tpl.tengo
CHANGED
|
@@ -472,6 +472,13 @@ self.body(func(inputs) {
|
|
|
472
472
|
path: ["clonotypeTsv"]
|
|
473
473
|
} ]
|
|
474
474
|
|
|
475
|
+
//removing columns from secondary chain except aaSeqCDR3
|
|
476
|
+
columnsSpecPerClonotypeSecondary := []
|
|
477
|
+
for col in columnsSpecPerClonotype {
|
|
478
|
+
if col.column == "aaSeqCDR3" {
|
|
479
|
+
columnsSpecPerClonotypeSecondary += [ col ]
|
|
480
|
+
}
|
|
481
|
+
}
|
|
475
482
|
for chainIdx in [0, 1] {
|
|
476
483
|
// "A" chain is always the one that is more diverse
|
|
477
484
|
chainLetterU := ["A", "B"][chainIdx]
|
|
@@ -517,7 +524,7 @@ self.body(func(inputs) {
|
|
|
517
524
|
xsvType: "tsv",
|
|
518
525
|
settings: {
|
|
519
526
|
axes: axesByScClonotypeKeyWithReceptor,
|
|
520
|
-
columns: transformSpecs(columnsSpecPerClonotype, {
|
|
527
|
+
columns: transformSpecs(isPrimary ? columnsSpecPerClonotype : columnsSpecPerClonotypeSecondary, {
|
|
521
528
|
spec: {
|
|
522
529
|
domain: {
|
|
523
530
|
"pl7.app/vdj/scClonotypeChain": chainLetterU,
|