@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.10.0 → 2.11.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 +2 -2
- package/.turbo/turbo-test.log +10 -10
- package/CHANGELOG.md +19 -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 +7 -6
- package/src/mixcr-export.tpl.tengo +43 -15
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/.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.11.0 build /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/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
|
|
@@ -31,5 +31,5 @@ No syntax errors found.
|
|
|
31
31
|
info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/test.columns-calculate.plj.gz
|
|
32
32
|
info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/test.columns.test.plj.gz
|
|
33
33
|
info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/main.plj.gz
|
|
34
|
-
info:
|
|
34
|
+
info: Template Pack build done.
|
|
35
35
|
info: Template Pack build done.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/.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.11.0 test /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
|
|
4
4
|
> vitest
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.8 [39m[90m/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/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 52684[2mms[22m[39m
|
|
10
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m12698[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8369[2mms[22m[39m
|
|
12
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m8001[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m7935[2mms[22m[39m
|
|
14
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7924[2mms[22m[39m
|
|
15
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m7755[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 12:39:22
|
|
20
|
+
[2m Duration [22m 53.50s[2m (transform 41ms, setup 0ms, collect 587ms, tests 52.68s, environment 0ms, prepare 62ms)[22m
|
|
21
21
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0db1bdf: Migration to hash-based cloonotype keys
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0db1bdf]
|
|
12
|
+
- @platforma-open/milaboratories.mixcr-clonotyping-2.hash-column@1.1.0
|
|
13
|
+
|
|
14
|
+
## 2.10.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- e03cacd: updating dependencies and republish software
|
|
19
|
+
- Updated dependencies [e03cacd]
|
|
20
|
+
- @platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts@1.1.2
|
|
21
|
+
|
|
3
22
|
## 2.10.0
|
|
4
23
|
|
|
5
24
|
### 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,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Tengo-based template",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@platforma-sdk/workflow-tengo": "^4.
|
|
7
|
-
"@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.
|
|
6
|
+
"@platforma-sdk/workflow-tengo": "^4.1.1",
|
|
7
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.2",
|
|
8
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column": "1.1.0"
|
|
8
9
|
},
|
|
9
10
|
"devDependencies": {
|
|
10
|
-
"@platforma-sdk/tengo-builder": "^2.0
|
|
11
|
+
"@platforma-sdk/tengo-builder": "^2.1.0",
|
|
11
12
|
"@platforma-open/milaboratories.software-mixcr": "4.7.0-150-develop",
|
|
12
13
|
"@platforma-open/milaboratories.software-ptransform": "^1.3.1",
|
|
13
|
-
"@platforma-sdk/test": "^1.29.
|
|
14
|
-
"vitest": "
|
|
14
|
+
"@platforma-sdk/test": "^1.29.12",
|
|
15
|
+
"vitest": "~2.1.8",
|
|
15
16
|
"typescript": "~5.5.4"
|
|
16
17
|
},
|
|
17
18
|
"scripts": {
|
|
@@ -11,6 +11,7 @@ self.defineOutputs("tsv", "tsvForSingleCell")
|
|
|
11
11
|
|
|
12
12
|
mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:low-memory")
|
|
13
13
|
ptransformSw := assets.importSoftware("@platforma-open/milaboratories.software-ptransform:main")
|
|
14
|
+
hashColumnSw := assets.importSoftware("@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column:main")
|
|
14
15
|
|
|
15
16
|
self.body(func(inputs) {
|
|
16
17
|
clnsFile := inputs[pConstants.VALUE_FIELD_NAME]
|
|
@@ -75,25 +76,25 @@ self.body(func(inputs) {
|
|
|
75
76
|
if is_undefined(clonotypeKeyColumns) {
|
|
76
77
|
result.tsv = unprocessedTsv
|
|
77
78
|
} else {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
hashCmdBuilder := exec.builder().
|
|
80
|
+
printErrStreamToStdout().
|
|
81
|
+
software(hashColumnSw).
|
|
82
|
+
arg("--input-table").arg("input.tsv").
|
|
83
|
+
addFile("input.tsv", unprocessedTsv).
|
|
84
|
+
arg("--output-table").arg("output.tsv").
|
|
85
|
+
arg("--calculate")
|
|
86
|
+
|
|
87
|
+
for col in clonotypeKeyColumns {
|
|
88
|
+
hashCmdBuilder.arg(col)
|
|
85
89
|
}
|
|
86
90
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
writeFile("wf.json", json.encode(pWorkflow)).
|
|
92
|
-
arg("input.tsv").addFile("input.tsv", unprocessedTsv).
|
|
93
|
-
arg("output.tsv").saveFile("output.tsv").
|
|
91
|
+
hashCmdBuilder.arg("clonotypeKey")
|
|
92
|
+
|
|
93
|
+
hashCmd := hashCmdBuilder.
|
|
94
|
+
saveFile("output.tsv").
|
|
94
95
|
run()
|
|
95
96
|
|
|
96
|
-
processedTsv :=
|
|
97
|
+
processedTsv := hashCmd.getFile("output.tsv")
|
|
97
98
|
|
|
98
99
|
result.tsv = processedTsv
|
|
99
100
|
}
|
|
@@ -141,6 +142,33 @@ self.body(func(inputs) {
|
|
|
141
142
|
run()
|
|
142
143
|
|
|
143
144
|
result.tsvForSingleCell = aggregateCmd.getFile("output.tsv")
|
|
145
|
+
|
|
146
|
+
// uncomment this to use hashes
|
|
147
|
+
|
|
148
|
+
// hashCmdBuilderSingleCell := exec.builder().
|
|
149
|
+
// printErrStreamToStdout().
|
|
150
|
+
// software(hashColumnSw).
|
|
151
|
+
// arg("--input-table").arg("input.tsv").
|
|
152
|
+
// addFile("input.tsv", unprocessedTsvForSingleCell).
|
|
153
|
+
// arg("--output-table").arg("output.tsv")
|
|
154
|
+
|
|
155
|
+
// hashCmdBuilderSingleCell.arg("--calculate")
|
|
156
|
+
// for col in clonotypeKeyColumns {
|
|
157
|
+
// hashCmdBuilderSingleCell.arg(col)
|
|
158
|
+
// }
|
|
159
|
+
// hashCmdBuilderSingleCell.arg("clonotypeKey")
|
|
160
|
+
|
|
161
|
+
// hashCmdBuilderSingleCell.arg("--calculate")
|
|
162
|
+
// for col in cellTagColumns {
|
|
163
|
+
// hashCmdBuilderSingleCell.arg(col)
|
|
164
|
+
// }
|
|
165
|
+
// hashCmdBuilderSingleCell.arg("cellTag")
|
|
166
|
+
|
|
167
|
+
// hashCmdSingleCell := hashCmdBuilderSingleCell.
|
|
168
|
+
// saveFile("output.tsv").
|
|
169
|
+
// run()
|
|
170
|
+
|
|
171
|
+
// result.tsvForSingleCell = hashCmdSingleCell.getFile("output.tsv")
|
|
144
172
|
}
|
|
145
173
|
|
|
146
174
|
return result
|