@platforma-open/milaboratories.top-antibodies.workflow 1.17.3 → 1.17.4
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/sampled-export-conv.lib.tengo +14 -2
- package/dist/tengo/tpl/assembling-fasta.plj.gz +0 -0
- package/dist/tengo/tpl/filter-and-sample.plj.gz +0 -0
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/package.json +4 -4
- package/src/filter-and-sample.tpl.tengo +2 -1
- package/src/main.tpl.tengo +2 -1
- package/src/sampled-export-conv.lib.tengo +14 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @platforma-open/milaboratories.top-antibodies.workflow@1.17.
|
|
3
|
+
> @platforma-open/milaboratories.top-antibodies.workflow@1.17.4 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
|
|
4
4
|
> shx rm -rf dist && pl-tengo check && pl-tengo build
|
|
5
5
|
|
|
6
6
|
Processing "src/assembling-fasta.tpl.tengo"...
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
ll := import("@platforma-sdk/workflow-tengo:ll")
|
|
2
|
+
json := import("json")
|
|
3
|
+
|
|
4
|
+
getColumns := func(datasetSpec, filterMap, rankingMap, disableClusterRanking, clusterColumn, topClonotypes) {
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
domain := {
|
|
8
|
+
"pl7.app/vdj/filter-map": string(json.encode(filterMap)),
|
|
9
|
+
"pl7.app/vdj/ranking-map": string(json.encode(rankingMap)),
|
|
10
|
+
"pl7.app/vdj/top-clonotypes": string(topClonotypes)
|
|
11
|
+
}
|
|
12
|
+
if !disableClusterRanking && clusterColumn != undefined && clusterColumn != "" {
|
|
13
|
+
domain["pl7.app/vdj/diversity-column"] = string(json.encode(clusterColumn))
|
|
14
|
+
}
|
|
2
15
|
|
|
3
|
-
getColumns := func(datasetSpec) {
|
|
4
16
|
columns := [{
|
|
5
17
|
column: "top",
|
|
6
18
|
id: "link",
|
|
@@ -8,7 +20,7 @@ getColumns := func(datasetSpec) {
|
|
|
8
20
|
spec: {
|
|
9
21
|
name: "pl7.app/vdj/lead-selection",
|
|
10
22
|
valueType: "Int",
|
|
11
|
-
domain:
|
|
23
|
+
domain: domain,
|
|
12
24
|
annotations: {
|
|
13
25
|
"pl7.app/label": "Selected Leads",
|
|
14
26
|
"pl7.app/table/visibility": "hidden",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.top-antibodies.workflow",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Block Workflow",
|
|
6
6
|
"dependencies": {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"@platforma-open/milaboratories.software-anarci": "^0.0.3",
|
|
9
9
|
"@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.9.2",
|
|
10
10
|
"@platforma-open/milaboratories.top-antibodies.spectratype": "1.8.1",
|
|
11
|
+
"@platforma-open/milaboratories.top-antibodies.assembling-fasta": "1.3.0",
|
|
11
12
|
"@platforma-open/milaboratories.top-antibodies.umap": "1.2.1",
|
|
12
|
-
"@platforma-open/milaboratories.top-antibodies.anarci-kabat": "1.3.0"
|
|
13
|
-
"@platforma-open/milaboratories.top-antibodies.assembling-fasta": "1.3.0"
|
|
13
|
+
"@platforma-open/milaboratories.top-antibodies.anarci-kabat": "1.3.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@platforma-sdk/tengo-builder": "2.4.
|
|
16
|
+
"@platforma-sdk/tengo-builder": "2.4.14"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"build": "shx rm -rf dist && pl-tengo check && pl-tengo build",
|
|
@@ -89,7 +89,8 @@ self.body(func(inputs) {
|
|
|
89
89
|
outputs["finalClonotypes"] = finalClonotypes
|
|
90
90
|
|
|
91
91
|
// Export only the sampling column to be used as a filter downstream
|
|
92
|
-
sampledExportsParams := sampledExportConv.getColumns(datasetSpec
|
|
92
|
+
sampledExportsParams := sampledExportConv.getColumns(datasetSpec, filterMap,
|
|
93
|
+
rankingMap, inputs.disableClusterRanking, inputs.rawClusterColumn, topClonotypes)
|
|
93
94
|
sampledColumnsOnlyPf := xsv.importFile(finalClonotypes, "parquet", sampledExportsParams,
|
|
94
95
|
{cpu: 1, mem: "16GiB"})
|
|
95
96
|
outputs["sampledColumnsExport"] = sampledColumnsOnlyPf
|
package/src/main.tpl.tengo
CHANGED
|
@@ -147,7 +147,8 @@ wf.body(func(args) {
|
|
|
147
147
|
datasetSpec: datasetSpec,
|
|
148
148
|
topClonotypes: args.topClonotypes,
|
|
149
149
|
disableClusterRanking: args.disableClusterRanking,
|
|
150
|
-
clusterColumn: clusterColumnHeader
|
|
150
|
+
clusterColumn: clusterColumnHeader,
|
|
151
|
+
rawClusterColumn: args.clusterColumn
|
|
151
152
|
})
|
|
152
153
|
|
|
153
154
|
// Get the filtered clonotypes from the template result
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
ll := import("@platforma-sdk/workflow-tengo:ll")
|
|
2
|
+
json := import("json")
|
|
3
|
+
|
|
4
|
+
getColumns := func(datasetSpec, filterMap, rankingMap, disableClusterRanking, clusterColumn, topClonotypes) {
|
|
5
|
+
|
|
6
|
+
// Define domain
|
|
7
|
+
domain := {
|
|
8
|
+
"pl7.app/vdj/filter-map": string(json.encode(filterMap)),
|
|
9
|
+
"pl7.app/vdj/ranking-map": string(json.encode(rankingMap)),
|
|
10
|
+
"pl7.app/vdj/top-clonotypes": string(topClonotypes)
|
|
11
|
+
}
|
|
12
|
+
if !disableClusterRanking && clusterColumn != undefined && clusterColumn != "" {
|
|
13
|
+
domain["pl7.app/vdj/diversity-column"] = string(json.encode(clusterColumn))
|
|
14
|
+
}
|
|
2
15
|
|
|
3
|
-
getColumns := func(datasetSpec) {
|
|
4
16
|
columns := [{
|
|
5
17
|
column: "top",
|
|
6
18
|
id: "link",
|
|
@@ -8,7 +20,7 @@ getColumns := func(datasetSpec) {
|
|
|
8
20
|
spec: {
|
|
9
21
|
name: "pl7.app/vdj/lead-selection",
|
|
10
22
|
valueType: "Int",
|
|
11
|
-
domain:
|
|
23
|
+
domain: domain,
|
|
12
24
|
annotations: {
|
|
13
25
|
"pl7.app/label": "Selected Leads",
|
|
14
26
|
"pl7.app/table/visibility": "hidden",
|