@platforma-open/milaboratories.top-antibodies.workflow 1.5.0 → 1.6.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 +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/package.json +6 -6
- package/src/main.tpl.tengo +16 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
WARN Issue while reading "/home/runner/work/
|
|
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.
|
|
3
|
+
> @platforma-open/milaboratories.top-antibodies.workflow@1.6.0 build /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow
|
|
4
4
|
> rm -rf dist && pl-tengo check && pl-tengo build
|
|
5
5
|
|
|
6
6
|
Processing "src/main.tpl.tengo"...
|
|
@@ -9,9 +9,9 @@ Processing "src/pf-vj-usage-conv.lib.tengo"...
|
|
|
9
9
|
Processing "src/sampled-cols-conv.lib.tengo"...
|
|
10
10
|
No syntax errors found.
|
|
11
11
|
info: Compiling 'dist'...
|
|
12
|
-
info: - writing /home/runner/work/
|
|
13
|
-
info: - writing /home/runner/work/
|
|
14
|
-
info: - writing /home/runner/work/
|
|
15
|
-
info: - writing /home/runner/work/
|
|
12
|
+
info: - writing /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow/dist/tengo/lib/pf-spectratype-conv.lib.tengo
|
|
13
|
+
info: - writing /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow/dist/tengo/lib/pf-vj-usage-conv.lib.tengo
|
|
14
|
+
info: - writing /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow/dist/tengo/lib/sampled-cols-conv.lib.tengo
|
|
15
|
+
info: - writing /home/runner/work/antibody-tcr-lead-selection/antibody-tcr-lead-selection/workflow/dist/tengo/tpl/main.plj.gz
|
|
16
16
|
info: Template Pack build done.
|
|
17
17
|
info: Template Pack build done.
|
package/CHANGELOG.md
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.top-antibodies.workflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Block Workflow",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@platforma-sdk/workflow-tengo": "^4.7.
|
|
8
|
-
"@platforma-open/milaboratories.top-antibodies.
|
|
7
|
+
"@platforma-sdk/workflow-tengo": "^4.7.4",
|
|
8
|
+
"@platforma-open/milaboratories.top-antibodies.spectratype": "1.3.2",
|
|
9
9
|
"@platforma-open/milaboratories.top-antibodies.umap": "1.0.3",
|
|
10
|
-
"@platforma-open/milaboratories.top-antibodies.
|
|
10
|
+
"@platforma-open/milaboratories.top-antibodies.sample-clonotypes": "1.0.3"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@platforma-sdk/tengo-builder": "^2.1.
|
|
14
|
-
"@platforma-sdk/test": "
|
|
13
|
+
"@platforma-sdk/tengo-builder": "^2.1.10",
|
|
14
|
+
"@platforma-sdk/test": "1.32.11",
|
|
15
15
|
"vitest": "^2.1.8"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
package/src/main.tpl.tengo
CHANGED
|
@@ -149,11 +149,15 @@ wf.body(func(args) {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
+
cloneTable.mem("16GiB")
|
|
153
|
+
cloneTable.cpu(1)
|
|
152
154
|
cloneTable = cloneTable.build()
|
|
153
155
|
|
|
154
156
|
// Run sampling script
|
|
155
157
|
sampleClones := exec.builder().
|
|
156
158
|
software(assets.importSoftware("@platforma-open/milaboratories.top-antibodies.sample-clonotypes:main")).
|
|
159
|
+
mem("16GiB").
|
|
160
|
+
cpu(1).
|
|
157
161
|
addFile("filteredClonotypes.csv", cloneTable).
|
|
158
162
|
arg("--csv").arg("filteredClonotypes.csv").
|
|
159
163
|
arg("--n").arg(string(topClonotypes)).
|
|
@@ -169,7 +173,8 @@ wf.body(func(args) {
|
|
|
169
173
|
|
|
170
174
|
// Store outputs
|
|
171
175
|
sampledColsParams := sampledColsConv.getColumns(datasetSpec)
|
|
172
|
-
sampledColumnsPf := xsv.importFile(topClonotypesCsv, "csv", sampledColsParams
|
|
176
|
+
sampledColumnsPf := xsv.importFile(topClonotypesCsv, "csv", sampledColsParams,
|
|
177
|
+
{cpu: 1, mem: "16GiB"})
|
|
173
178
|
outputs["sampledRows"] = pframes.exportFrame(sampledColumnsPf)
|
|
174
179
|
}
|
|
175
180
|
|
|
@@ -228,11 +233,14 @@ wf.body(func(args) {
|
|
|
228
233
|
headerName := makeHeaderName(col, "jGene", isSingleCell)
|
|
229
234
|
cdr3SeqTable.add(col, {header: headerName})
|
|
230
235
|
}
|
|
231
|
-
|
|
236
|
+
cdr3SeqTable.mem("16GiB")
|
|
237
|
+
cdr3SeqTable.cpu(1)
|
|
232
238
|
cdr3SeqTableBuilt := cdr3SeqTable.build()
|
|
233
239
|
|
|
234
240
|
cdr3VspectratypeCmd := exec.builder().
|
|
235
241
|
software(assets.importSoftware("@platforma-open/milaboratories.top-antibodies.spectratype:main")).
|
|
242
|
+
mem("16GiB").
|
|
243
|
+
cpu(1).
|
|
236
244
|
addFile("cdr3_sequences_input.tsv", cdr3SeqTableBuilt).
|
|
237
245
|
arg("--input_tsv").arg("cdr3_sequences_input.tsv").
|
|
238
246
|
arg("--spectratype_tsv").arg("spectratype.tsv").
|
|
@@ -256,11 +264,15 @@ wf.body(func(args) {
|
|
|
256
264
|
|
|
257
265
|
// For spectratype structure is [chain][cdr3Length][vGene] -> count
|
|
258
266
|
|
|
259
|
-
cdr3VspectratypePf := xsv.importFile(cdr3VspectratypeCmd.getFile("spectratype.tsv"),
|
|
267
|
+
cdr3VspectratypePf := xsv.importFile(cdr3VspectratypeCmd.getFile("spectratype.tsv"),
|
|
268
|
+
"tsv", spectratypeConv.getColumns(),
|
|
269
|
+
{cpu: 1, mem: "16GiB"})
|
|
260
270
|
outputs["cdr3VspectratypePf"] = pframes.exportFrame(cdr3VspectratypePf)
|
|
261
271
|
|
|
262
272
|
// For vjUsage structure is [chain][vGene][jGene] -> count
|
|
263
|
-
vjUsagePf := xsv.importFile(cdr3VspectratypeCmd.getFile("vj_usage.tsv"),
|
|
273
|
+
vjUsagePf := xsv.importFile(cdr3VspectratypeCmd.getFile("vj_usage.tsv"),
|
|
274
|
+
"tsv", vjUsageConv.getColumns(),
|
|
275
|
+
{cpu: 1, mem: "16GiB"})
|
|
264
276
|
outputs["vjUsagePf"] = pframes.exportFrame(vjUsagePf)
|
|
265
277
|
|
|
266
278
|
return {
|