@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.10.0 → 2.11.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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.10.0 build /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.11.0 build /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/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
@@ -31,5 +31,5 @@ No syntax errors found.
31
31
  info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/test.columns-calculate.plj.gz
32
32
  info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/test.columns.test.plj.gz
33
33
  info: - writing /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow/dist/tengo/tpl/main.plj.gz
34
- info:
34
+ info: Template Pack build done.
35
35
  info: Template Pack build done.
@@ -1,21 +1,21 @@
1
1
   WARN  Issue while reading "/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.10.0 test /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.11.0 test /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
4
4
  > vitest
5
5
 
6
6
 
7
7
   RUN  v2.1.8 /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
8
8
 
9
- ✓ src/test/columns.test.ts (6 tests) 54411ms
10
- ✓ checking preset for 'milab-human-dna-xcr-7genes-multiplex' 12674ms
11
- ✓ checking preset for '10x-sc-xcr-vdj' 8775ms
12
- ✓ checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' 8518ms
13
- ✓ checking preset for 'takara-human-rna-bcr-umi-smartseq' 8439ms
14
- ✓ checking preset for 'rna-seq' 8026ms
15
- ✓ checking preset for 'generic-single-cell-gex' 7977ms
9
+ ✓ src/test/columns.test.ts (6 tests) 52684ms
10
+ ✓ checking preset for 'milab-human-dna-xcr-7genes-multiplex' 12698ms
11
+ ✓ checking preset for '10x-sc-xcr-vdj' 8369ms
12
+ ✓ checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' 8001ms
13
+ ✓ checking preset for 'takara-human-rna-bcr-umi-smartseq' 7935ms
14
+ ✓ checking preset for 'rna-seq' 7924ms
15
+ ✓ checking preset for 'generic-single-cell-gex' 7755ms
16
16
 
17
17
   Test Files  1 passed (1)
18
18
   Tests  6 passed (6)
19
-  Start at  14:49:37
20
-  Duration  55.34s (transform 57ms, setup 0ms, collect 660ms, tests 54.41s, environment 0ms, prepare 68ms)
19
+  Start at  12:39:22
20
+  Duration  53.50s (transform 41ms, setup 0ms, collect 587ms, tests 52.68s, environment 0ms, prepare 62ms)
21
21
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping.workflow
2
2
 
3
+ ## 2.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0db1bdf: Migration to hash-based cloonotype keys
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0db1bdf]
12
+ - @platforma-open/milaboratories.mixcr-clonotyping-2.hash-column@1.1.0
13
+
14
+ ## 2.10.1
15
+
16
+ ### Patch Changes
17
+
18
+ - e03cacd: updating dependencies and republish software
19
+ - Updated dependencies [e03cacd]
20
+ - @platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts@1.1.2
21
+
3
22
  ## 2.10.0
4
23
 
5
24
  ### Minor Changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Tengo-based template",
5
5
  "dependencies": {
6
- "@platforma-sdk/workflow-tengo": "^4.0.8",
7
- "@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.1"
6
+ "@platforma-sdk/workflow-tengo": "^4.1.1",
7
+ "@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.2",
8
+ "@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column": "1.1.0"
8
9
  },
9
10
  "devDependencies": {
10
- "@platforma-sdk/tengo-builder": "^2.0.3",
11
+ "@platforma-sdk/tengo-builder": "^2.1.0",
11
12
  "@platforma-open/milaboratories.software-mixcr": "4.7.0-150-develop",
12
13
  "@platforma-open/milaboratories.software-ptransform": "^1.3.1",
13
- "@platforma-sdk/test": "^1.29.3",
14
- "vitest": "^2.1.8",
14
+ "@platforma-sdk/test": "^1.29.12",
15
+ "vitest": "~2.1.8",
15
16
  "typescript": "~5.5.4"
16
17
  },
17
18
  "scripts": {
@@ -11,6 +11,7 @@ self.defineOutputs("tsv", "tsvForSingleCell")
11
11
 
12
12
  mixcrSw := assets.importSoftware("@platforma-open/milaboratories.software-mixcr:low-memory")
13
13
  ptransformSw := assets.importSoftware("@platforma-open/milaboratories.software-ptransform:main")
14
+ hashColumnSw := assets.importSoftware("@platforma-open/milaboratories.mixcr-clonotyping-2.hash-column:main")
14
15
 
15
16
  self.body(func(inputs) {
16
17
  clnsFile := inputs[pConstants.VALUE_FIELD_NAME]
@@ -75,25 +76,25 @@ self.body(func(inputs) {
75
76
  if is_undefined(clonotypeKeyColumns) {
76
77
  result.tsv = unprocessedTsv
77
78
  } else {
78
- // Adding clonotypeKey column
79
- pWorkflow := {
80
- steps: [ {
81
- type: "combine_columns_as_json",
82
- src: clonotypeKeyColumns,
83
- dst: "clonotypeKey"
84
- } ]
79
+ hashCmdBuilder := exec.builder().
80
+ printErrStreamToStdout().
81
+ software(hashColumnSw).
82
+ arg("--input-table").arg("input.tsv").
83
+ addFile("input.tsv", unprocessedTsv).
84
+ arg("--output-table").arg("output.tsv").
85
+ arg("--calculate")
86
+
87
+ for col in clonotypeKeyColumns {
88
+ hashCmdBuilder.arg(col)
85
89
  }
86
90
 
87
- aggregateCmd := exec.builder().
88
- printErrStreamToStdout().
89
- software(ptransformSw).
90
- arg("--workflow").arg("wf.json").
91
- writeFile("wf.json", json.encode(pWorkflow)).
92
- arg("input.tsv").addFile("input.tsv", unprocessedTsv).
93
- arg("output.tsv").saveFile("output.tsv").
91
+ hashCmdBuilder.arg("clonotypeKey")
92
+
93
+ hashCmd := hashCmdBuilder.
94
+ saveFile("output.tsv").
94
95
  run()
95
96
 
96
- processedTsv := aggregateCmd.getFile("output.tsv")
97
+ processedTsv := hashCmd.getFile("output.tsv")
97
98
 
98
99
  result.tsv = processedTsv
99
100
  }
@@ -141,6 +142,33 @@ self.body(func(inputs) {
141
142
  run()
142
143
 
143
144
  result.tsvForSingleCell = aggregateCmd.getFile("output.tsv")
145
+
146
+ // uncomment this to use hashes
147
+
148
+ // hashCmdBuilderSingleCell := exec.builder().
149
+ // printErrStreamToStdout().
150
+ // software(hashColumnSw).
151
+ // arg("--input-table").arg("input.tsv").
152
+ // addFile("input.tsv", unprocessedTsvForSingleCell).
153
+ // arg("--output-table").arg("output.tsv")
154
+
155
+ // hashCmdBuilderSingleCell.arg("--calculate")
156
+ // for col in clonotypeKeyColumns {
157
+ // hashCmdBuilderSingleCell.arg(col)
158
+ // }
159
+ // hashCmdBuilderSingleCell.arg("clonotypeKey")
160
+
161
+ // hashCmdBuilderSingleCell.arg("--calculate")
162
+ // for col in cellTagColumns {
163
+ // hashCmdBuilderSingleCell.arg(col)
164
+ // }
165
+ // hashCmdBuilderSingleCell.arg("cellTag")
166
+
167
+ // hashCmdSingleCell := hashCmdBuilderSingleCell.
168
+ // saveFile("output.tsv").
169
+ // run()
170
+
171
+ // result.tsvForSingleCell = hashCmdSingleCell.getFile("output.tsv")
144
172
  }
145
173
 
146
174
  return result