@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.12.0 → 2.14.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 +14 -14
- package/.turbo/turbo-test.log +12 -12
- package/CHANGELOG.md +12 -0
- package/dist/tengo/lib/calculate-export-specs.lib.tengo +1 -1
- 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 +4 -4
- package/src/calculate-export-specs.lib.tengo +1 -1
- 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.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
|
|
@@ -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,21 @@
|
|
|
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.0 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
|
-
[32m✓[39m src/test/columns.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m
|
|
10
|
-
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [
|
|
11
|
-
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [
|
|
12
|
-
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [
|
|
13
|
-
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [
|
|
14
|
-
[33m[2m✓[22m[39m checking preset for 'rna-seq' [
|
|
15
|
-
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [
|
|
9
|
+
[32m✓[39m src/test/columns.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 52804[2mms[22m[39m
|
|
10
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m12471[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8426[2mms[22m[39m
|
|
12
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m8251[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m7970[2mms[22m[39m
|
|
14
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7931[2mms[22m[39m
|
|
15
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m7754[2mms[22m[39m
|
|
16
16
|
|
|
17
17
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
18
18
|
[2m Tests [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
19
|
-
[2m Start at [22m
|
|
20
|
-
[2m Duration [22m
|
|
19
|
+
[2m Start at [22m 14:04:47
|
|
20
|
+
[2m Duration [22m 53.61s[2m (transform 42ms, setup 0ms, collect 573ms, tests 52.80s, environment 0ms, prepare 63ms)[22m
|
|
21
21
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- dc86a17: single cell export and removing columns for secondary clones except CDR3 aa
|
|
8
|
+
|
|
9
|
+
## 2.13.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- b1f6427: species added, visibility of chain columns set to optional, mixcr updated to 4.7.0-164-develop
|
|
14
|
+
|
|
3
15
|
## 2.12.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -568,7 +568,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
568
568
|
spec: {
|
|
569
569
|
valueType: "String",
|
|
570
570
|
name: "pl7.app/vdj/chain",
|
|
571
|
-
annotations: a(orderP,
|
|
571
|
+
annotations: a(orderP, false, {
|
|
572
572
|
"pl7.app/label": "Chain",
|
|
573
573
|
"pl7.app/isDiscreteFilter": "true",
|
|
574
574
|
"pl7.app/discreteValues": "['TRA','TRB','TRG','TRD','IGH','IGK','IGL']"
|
|
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,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "Tengo-based template",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@platforma-sdk/workflow-tengo": "^4.1.2",
|
|
7
|
-
"@platforma-open/milaboratories.mixcr-clonotyping-2.
|
|
8
|
-
"@platforma-open/milaboratories.mixcr-clonotyping-2.
|
|
7
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.3",
|
|
8
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column": "1.1.1"
|
|
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-164-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",
|
|
@@ -568,7 +568,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
568
568
|
spec: {
|
|
569
569
|
valueType: "String",
|
|
570
570
|
name: "pl7.app/vdj/chain",
|
|
571
|
-
annotations: a(orderP,
|
|
571
|
+
annotations: a(orderP, false, {
|
|
572
572
|
"pl7.app/label": "Chain",
|
|
573
573
|
"pl7.app/isDiscreteFilter": "true",
|
|
574
574
|
"pl7.app/discreteValues": "['TRA','TRB','TRG','TRD','IGH','IGK','IGL']"
|
|
@@ -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,
|