@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow 1.11.0 → 1.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/CHANGELOG.md +6 -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/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/process.plj.gz +0 -0
- package/dist/tengo/tpl/repseqio-library.plj.gz +0 -0
- package/package.json +3 -3
- package/src/calculate-export-specs.lib.tengo +1 -1
- package/src/mixcr-export.tpl.tengo +10 -0
- package/src/process.tpl.tengo +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.12.0 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
|
|
4
4
|
> rm -rf dist && pl-tengo check && pl-tengo build
|
|
5
5
|
|
|
6
6
|
Processing "src/aggregate-by-clonotype-key.tpl.tengo"...
|
package/CHANGELOG.md
CHANGED
|
@@ -508,7 +508,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
508
508
|
annotations: a(orderP, variant.visibility, {
|
|
509
509
|
"pl7.app/label": variant.label,
|
|
510
510
|
"pl7.app/isDiscreteFilter": "true",
|
|
511
|
-
"pl7.app/discreteValues": string(json.encode(["
|
|
511
|
+
"pl7.app/discreteValues": string(json.encode(["true", "false"])) } )
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "MiXCR Amplicon Alignment Workflow",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@platforma-sdk/workflow-tengo": "^5.5.
|
|
7
|
+
"@platforma-sdk/workflow-tengo": "^5.5.9",
|
|
8
8
|
"@platforma-open/milaboratories.software-mixcr": "4.7.0-235-develop",
|
|
9
9
|
"@platforma-open/milaboratories.software-repseqio": "^2.5.0-13-master"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@platforma-sdk/tengo-builder": "^2.3.3",
|
|
13
|
-
"@platforma-sdk/test": "^1.45.
|
|
13
|
+
"@platforma-sdk/test": "^1.45.11",
|
|
14
14
|
"vitest": "^2.1.8"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
@@ -508,7 +508,7 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
508
508
|
annotations: a(orderP, variant.visibility, {
|
|
509
509
|
"pl7.app/label": variant.label,
|
|
510
510
|
"pl7.app/isDiscreteFilter": "true",
|
|
511
|
-
"pl7.app/discreteValues": string(json.encode(["
|
|
511
|
+
"pl7.app/discreteValues": string(json.encode(["true", "false"])) } )
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
]
|
|
@@ -21,6 +21,7 @@ self.body(func(inputs) {
|
|
|
21
21
|
exportArgs := params.exportArgs
|
|
22
22
|
|
|
23
23
|
clonotypeKeyColumns := params.clonotypeKeyColumns
|
|
24
|
+
mainIsProductiveColumn := params.mainIsProductiveColumn
|
|
24
25
|
|
|
25
26
|
hashKeyDerivationExpressionPt := func(sourceColumns) {
|
|
26
27
|
return pt.concatStr(
|
|
@@ -87,6 +88,15 @@ self.body(func(inputs) {
|
|
|
87
88
|
dfMain.addColumns(
|
|
88
89
|
pt.col("readCount").round().cast("Long").alias("readCount")
|
|
89
90
|
)
|
|
91
|
+
// Normalize isProductive column casing to strictly "true"/"false"
|
|
92
|
+
if !is_undefined(mainIsProductiveColumn) {
|
|
93
|
+
dfMain.addColumns(
|
|
94
|
+
pt.when(pt.col(mainIsProductiveColumn).strToUpper().eq("TRUE")).
|
|
95
|
+
then(pt.lit("true")).
|
|
96
|
+
otherwise(pt.lit("false")).
|
|
97
|
+
alias(mainIsProductiveColumn)
|
|
98
|
+
)
|
|
99
|
+
}
|
|
90
100
|
dfMain.addColumns(
|
|
91
101
|
hashKeyDerivationExpressionPt(clonotypeKeyColumns).alias("clonotypeKey")
|
|
92
102
|
)
|
package/src/process.tpl.tengo
CHANGED
|
@@ -222,7 +222,8 @@ self.body(func(inputs) {
|
|
|
222
222
|
clonotypeKeyColumns: clonotypeKeyColumns,
|
|
223
223
|
exportArgs: exportArgs,
|
|
224
224
|
referenceLibrary: referenceLibrary,
|
|
225
|
-
|
|
225
|
+
mixcrChains: mixcrChains,
|
|
226
|
+
mainIsProductiveColumn: mainIsProductiveColumn
|
|
226
227
|
}
|
|
227
228
|
}
|
|
228
229
|
}
|