@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.14.2 → 2.15.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/.test_auth.json +1 -0
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +10 -10
- 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/main.tpl.tengo +24 -0
- package/src/mixcr-analyze.tpl.tengo +1 -0
- package/src/process.tpl.tengo +4 -0
package/.test_auth.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"conf":{"address":"http://127.0.0.1:6345","test_user":"test-user","test_password":"test-password"},"authInformation":{"jwtToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImxvZ2luIjoidGVzdC11c2VyIn0sImV4cCI6MTc0NjU2MjQ5MywiaWF0IjoxNzQ1OTU3NjkzfQ.ZMQGoZ3Z2SanN_ZOemm_xqZSD7YNnYC561qeU_fU2CA"},"expiration":1746044093000}
|
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.15.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
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
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.15.1 test /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/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/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 52243[2mms[22m[39m
|
|
10
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m12711[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8250[2mms[22m[39m
|
|
12
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m7810[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m7940[2mms[22m[39m
|
|
14
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7563[2mms[22m[39m
|
|
15
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m7968[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 20:14:53
|
|
20
|
+
[2m Duration [22m 53.03s[2m (transform 43ms, setup 0ms, collect 561ms, tests 52.24s, environment 0ms, prepare 60ms)[22m
|
|
21
21
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1c2dc52: Add --force-overwrite option to avoid rare bug
|
|
8
|
+
|
|
9
|
+
## 2.15.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 20cd6f5: Exporting library if provided as file & attaching libraryId to clns output spec
|
|
14
|
+
|
|
3
15
|
## 2.14.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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.1",
|
|
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",
|
package/src/main.tpl.tengo
CHANGED
|
@@ -59,16 +59,19 @@ wf.body(func(args) {
|
|
|
59
59
|
isLibraryFileGzipped := false
|
|
60
60
|
|
|
61
61
|
library := false
|
|
62
|
+
libraryId := undefined
|
|
62
63
|
species := args.species
|
|
63
64
|
libraryImportHandle := undefined
|
|
64
65
|
if !is_undefined(args.resolvedLibraryInput) {
|
|
65
66
|
library = args.resolvedLibraryInput.data
|
|
67
|
+
libraryId = args.resolvedLibraryInput.spec["domain"]["pl7.app/vdj/libraryId"]
|
|
66
68
|
librarySpec := args.resolvedLibraryInput.spec
|
|
67
69
|
species = librarySpec["annotations"]["pl7.app/species"]
|
|
68
70
|
} else if !is_undefined(args.libraryFile) {
|
|
69
71
|
fImport := file.importFile(args.libraryFile)
|
|
70
72
|
libraryImportHandle = fImport.handle
|
|
71
73
|
library = fImport.file
|
|
74
|
+
libraryId = blockId
|
|
72
75
|
species = args.customSpecies
|
|
73
76
|
isLibraryFileGzipped = args.isLibraryFileGzipped
|
|
74
77
|
}
|
|
@@ -110,6 +113,7 @@ wf.body(func(args) {
|
|
|
110
113
|
receptorsOrChains: receptorsOrChains,
|
|
111
114
|
limitInput: limitInput,
|
|
112
115
|
blockId: blockId,
|
|
116
|
+
libraryId: libraryId,
|
|
113
117
|
presetCommonName: args.presetCommonName,
|
|
114
118
|
isLibraryFileGzipped: isLibraryFileGzipped
|
|
115
119
|
})
|
|
@@ -131,6 +135,26 @@ wf.body(func(args) {
|
|
|
131
135
|
}
|
|
132
136
|
}
|
|
133
137
|
|
|
138
|
+
if !is_undefined(args.libraryFile) {
|
|
139
|
+
// If library file is provided, we need to exported it for native mixcr blocks to use it (i.e. SHM trees)
|
|
140
|
+
exports.library = {
|
|
141
|
+
data: library,
|
|
142
|
+
spec: {
|
|
143
|
+
kind: "File",
|
|
144
|
+
name: "pl7.app/vdj/library",
|
|
145
|
+
domain: {
|
|
146
|
+
"pl7.app/vdj/libraryId": libraryId // == blockId
|
|
147
|
+
},
|
|
148
|
+
annotations: {
|
|
149
|
+
"pl7.app/species": species,
|
|
150
|
+
"pl7.app/vdj/isLibrary": "true",
|
|
151
|
+
"pl7.app/vdj/libraryFormat": (isLibraryFileGzipped ? "repseqio.json.gz" : "repseqio.json"),
|
|
152
|
+
"pl7.app/label": "Library from MiXCR Clonotyping"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
134
158
|
outputs := {
|
|
135
159
|
qc: pframes.exportColumnData(runMixcr.output("qc.data")),
|
|
136
160
|
reports: pframes.exportColumnData(runMixcr.output("reports.data")),
|
package/src/process.tpl.tengo
CHANGED
|
@@ -62,6 +62,7 @@ self.body(func(inputs) {
|
|
|
62
62
|
receptorsOrChains := params.receptorsOrChains
|
|
63
63
|
limitInput := params.limitInput
|
|
64
64
|
blockId := params.blockId
|
|
65
|
+
libraryId := params.libraryId
|
|
65
66
|
presetCommonName := params.presetCommonName
|
|
66
67
|
isLibraryFileGzipped := params.isLibraryFileGzipped
|
|
67
68
|
|
|
@@ -120,6 +121,9 @@ self.body(func(inputs) {
|
|
|
120
121
|
"mixcr.com/umiTags": joinOrUndefined(presetSpecForBack.umiTags),
|
|
121
122
|
"pl7.app/label": "MiXCR Clonesets"
|
|
122
123
|
})
|
|
124
|
+
if libraryId {
|
|
125
|
+
clnsAnnotations["pl7.app/vdj/libraryId"] = libraryId
|
|
126
|
+
}
|
|
123
127
|
if hasAssembleContigs {
|
|
124
128
|
clnsAnnotations["mixcr.com/contigsAssembled"] = "true"
|
|
125
129
|
}
|