@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.10.1 → 2.12.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/.turbo/turbo-test.log +10 -10
- package/CHANGELOG.md +25 -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 +6 -5
- package/src/mixcr-analyze.tpl.tengo +2 -0
- 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.12.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
|
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.12.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 54404[2mms[22m[39m
|
|
10
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m12330[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8645[2mms[22m[39m
|
|
12
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m8791[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m8369[2mms[22m[39m
|
|
14
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7949[2mms[22m[39m
|
|
15
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m8319[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 10:21:30
|
|
20
|
+
[2m Duration [22m 55.25s[2m (transform 47ms, setup 0ms, collect 610ms, tests 54.40s, environment 0ms, prepare 67ms)[22m
|
|
21
21
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 90a29d2: Fix mixcr-analyze template hash
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 90a29d2: SDK upgrade
|
|
12
|
+
- Updated dependencies [18e0e70]
|
|
13
|
+
- Updated dependencies [90a29d2]
|
|
14
|
+
- @platforma-open/milaboratories.mixcr-clonotyping-2.hash-column@1.1.1
|
|
15
|
+
- @platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts@1.1.3
|
|
16
|
+
|
|
17
|
+
## 2.11.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 0db1bdf: Migration to hash-based cloonotype keys
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [0db1bdf]
|
|
26
|
+
- @platforma-open/milaboratories.mixcr-clonotyping-2.hash-column@1.1.0
|
|
27
|
+
|
|
3
28
|
## 2.10.1
|
|
4
29
|
|
|
5
30
|
### 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,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "Tengo-based template",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@platforma-sdk/workflow-tengo": "^4.1.
|
|
7
|
-
"@platforma-open/milaboratories.mixcr-clonotyping-2.
|
|
6
|
+
"@platforma-sdk/workflow-tengo": "^4.1.2",
|
|
7
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column": "1.1.1",
|
|
8
|
+
"@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.3"
|
|
8
9
|
},
|
|
9
10
|
"devDependencies": {
|
|
10
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.17",
|
|
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
|