@platforma-open/milaboratories.mixcr-shm-trees.workflow 3.8.0 → 3.9.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/CHANGELOG.md +12 -0
- package/dist/tengo/lib/export-settings.lib.tengo +15 -15
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-export.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-shm-trees.plj.gz +0 -0
- package/dist/tengo/tpl/process.plj.gz +0 -0
- package/dist/tengo/tpl/request-library.plj.gz +0 -0
- package/dist/tengo/tpl/soi.plj.gz +0 -0
- package/package.json +4 -4
- package/src/export-settings.lib.tengo +15 -15
- package/src/process.tpl.tengo +11 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/mixcr-shm-trees/mixcr-shm-trees/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.mixcr-shm-trees.workflow@3.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-shm-trees.workflow@3.9.0 build /home/runner/work/mixcr-shm-trees/mixcr-shm-trees/workflow
|
|
4
4
|
> rm -rf dist && pl-tengo check && pl-tengo build
|
|
5
5
|
|
|
6
6
|
Processing "src/export-settings.lib.tengo"...
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-shm-trees.workflow
|
|
2
2
|
|
|
3
|
+
## 3.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1ba80e7: Fix for basket feature with new axis structure
|
|
8
|
+
|
|
9
|
+
## 3.8.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- b992b42: Fix for bug introduced in "Sequence Search" after migrating to new processColumn API
|
|
14
|
+
|
|
3
15
|
## 3.8.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -717,6 +717,21 @@ shmTreeNodesWithClones := func(dataDescription, donorColumn) {
|
|
|
717
717
|
}
|
|
718
718
|
})
|
|
719
719
|
|
|
720
|
+
cmdArgs = append(cmdArgs, "-cloneId")
|
|
721
|
+
axes = append(axes, {
|
|
722
|
+
column: "cloneId",
|
|
723
|
+
id: "clone-id",
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
filterOutRegex: "^$",
|
|
727
|
+
spec: {
|
|
728
|
+
name: "pl7.app/vdj/cloneId",
|
|
729
|
+
type: "Long",
|
|
730
|
+
|
|
731
|
+
annotations: addTableAnnotations(70000, true, "Clone id", {})
|
|
732
|
+
}
|
|
733
|
+
})
|
|
734
|
+
|
|
720
735
|
cmdArgs = append(cmdArgs, "-fileName")
|
|
721
736
|
axes = append(axes, {
|
|
722
737
|
column: "fileName",
|
|
@@ -735,21 +750,6 @@ shmTreeNodesWithClones := func(dataDescription, donorColumn) {
|
|
|
735
750
|
})
|
|
736
751
|
})
|
|
737
752
|
|
|
738
|
-
cmdArgs = append(cmdArgs, "-cloneId")
|
|
739
|
-
axes = append(axes, {
|
|
740
|
-
column: "cloneId",
|
|
741
|
-
id: "clone-id",
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
filterOutRegex: "^$",
|
|
745
|
-
spec: {
|
|
746
|
-
name: "pl7.app/vdj/cloneId",
|
|
747
|
-
type: "Long",
|
|
748
|
-
|
|
749
|
-
annotations: addTableAnnotations(70000, true, "Clone id", {})
|
|
750
|
-
}
|
|
751
|
-
})
|
|
752
|
-
|
|
753
753
|
if dataDescription.hasCellTags {
|
|
754
754
|
cmdArgs = append(cmdArgs, "-uniqueTagCount", "Cell")
|
|
755
755
|
columns = append(columns, {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-shm-trees.workflow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tengo-based template",
|
|
6
6
|
"//": {
|
|
7
7
|
"build": "node ./scripts/build-static.mjs src/pfconv_params.json src/pfconv_params.lib.tengo && rm -rf dist && pl-tengo check && pl-tengo build && ./create_tags.sh"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@platforma-sdk/workflow-tengo": "^4.
|
|
10
|
+
"@platforma-sdk/workflow-tengo": "^4.4.4"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@platforma-sdk/tengo-builder": "^2.1.3",
|
|
14
14
|
"@platforma-open/milaboratories.software-mixcr": "4.7.0-165-develop",
|
|
15
15
|
"@platforma-open/milaboratories.software-mitool": "2.3.1-5-main",
|
|
16
|
-
"@platforma-open/milaboratories.software-ptransform": "^1.3
|
|
17
|
-
"@platforma-sdk/test": "^1.30.
|
|
16
|
+
"@platforma-open/milaboratories.software-ptransform": "^1.4.3",
|
|
17
|
+
"@platforma-sdk/test": "^1.30.32",
|
|
18
18
|
"vitest": "~2.1.8",
|
|
19
19
|
"typescript": "~5.6.3"
|
|
20
20
|
},
|
|
@@ -717,6 +717,21 @@ shmTreeNodesWithClones := func(dataDescription, donorColumn) {
|
|
|
717
717
|
}
|
|
718
718
|
})
|
|
719
719
|
|
|
720
|
+
cmdArgs = append(cmdArgs, "-cloneId")
|
|
721
|
+
axes = append(axes, {
|
|
722
|
+
column: "cloneId",
|
|
723
|
+
id: "clone-id",
|
|
724
|
+
// allowNA: true,
|
|
725
|
+
// filtering off records without clones because we are not interested in them here
|
|
726
|
+
filterOutRegex: "^$",
|
|
727
|
+
spec: {
|
|
728
|
+
name: "pl7.app/vdj/cloneId",
|
|
729
|
+
type: "Long",
|
|
730
|
+
// TODO domain with blockId
|
|
731
|
+
annotations: addTableAnnotations(70000, true, "Clone id", {})
|
|
732
|
+
}
|
|
733
|
+
})
|
|
734
|
+
|
|
720
735
|
cmdArgs = append(cmdArgs, "-fileName")
|
|
721
736
|
axes = append(axes, {
|
|
722
737
|
column: "fileName",
|
|
@@ -735,21 +750,6 @@ shmTreeNodesWithClones := func(dataDescription, donorColumn) {
|
|
|
735
750
|
})
|
|
736
751
|
})
|
|
737
752
|
|
|
738
|
-
cmdArgs = append(cmdArgs, "-cloneId")
|
|
739
|
-
axes = append(axes, {
|
|
740
|
-
column: "cloneId",
|
|
741
|
-
id: "clone-id",
|
|
742
|
-
// allowNA: true,
|
|
743
|
-
// filtering off records without clones because we are not interested in them here
|
|
744
|
-
filterOutRegex: "^$",
|
|
745
|
-
spec: {
|
|
746
|
-
name: "pl7.app/vdj/cloneId",
|
|
747
|
-
type: "Long",
|
|
748
|
-
// TODO domain with blockId
|
|
749
|
-
annotations: addTableAnnotations(70000, true, "Clone id", {})
|
|
750
|
-
}
|
|
751
|
-
})
|
|
752
|
-
|
|
753
753
|
if dataDescription.hasCellTags {
|
|
754
754
|
cmdArgs = append(cmdArgs, "-uniqueTagCount", "Cell")
|
|
755
755
|
columns = append(columns, {
|
package/src/process.tpl.tengo
CHANGED
|
@@ -236,14 +236,6 @@ self.body(func(inputs) {
|
|
|
236
236
|
|
|
237
237
|
// ll.print("__THE_LOG__ " + string(json.encode(additionalArgsForImportTsv)))
|
|
238
238
|
|
|
239
|
-
trees := exportResults.xsvOutputFrame("trees")
|
|
240
|
-
|
|
241
|
-
treeNodes := exportResults.xsvOutputFrame("treeNodes")
|
|
242
|
-
|
|
243
|
-
treeNodesWithClones := exportResults.xsvOutputFrame("treeNodesWithClones")
|
|
244
|
-
|
|
245
|
-
treeNodesUniqueIsotype := exportResults.xsvOutputFrame("treeNodesUniqueIsotype")
|
|
246
|
-
|
|
247
239
|
// Running SOI search for the data
|
|
248
240
|
soiNodesResults := {}
|
|
249
241
|
soiTreesResults := {}
|
|
@@ -270,8 +262,8 @@ self.body(func(inputs) {
|
|
|
270
262
|
ll.panic("unknown target feature: " + soiDb.parameters.targetFeature)
|
|
271
263
|
}
|
|
272
264
|
|
|
273
|
-
querySpec := treeNodes
|
|
274
|
-
queryData := treeNodes
|
|
265
|
+
querySpec := exportResults.outputSpec("treeNodes", columnId)
|
|
266
|
+
queryData := exportResults.outputData("treeNodes", columnId)
|
|
275
267
|
|
|
276
268
|
soiResult := render.create(soiTpl, {
|
|
277
269
|
querySpec: querySpec,
|
|
@@ -283,6 +275,15 @@ self.body(func(inputs) {
|
|
|
283
275
|
soiTreesResults[soiDb.parameters.id] = soiResult.output("treesResult")
|
|
284
276
|
}
|
|
285
277
|
|
|
278
|
+
|
|
279
|
+
trees := exportResults.xsvOutputFrame("trees")
|
|
280
|
+
|
|
281
|
+
treeNodes := exportResults.xsvOutputFrame("treeNodes")
|
|
282
|
+
|
|
283
|
+
treeNodesWithClones := exportResults.xsvOutputFrame("treeNodesWithClones")
|
|
284
|
+
|
|
285
|
+
treeNodesUniqueIsotype := exportResults.xsvOutputFrame("treeNodesUniqueIsotype")
|
|
286
|
+
|
|
286
287
|
return {
|
|
287
288
|
alleles: shmtResults.output("alleles"),
|
|
288
289
|
downsampled: shmtResults.output("downsampled"),
|