@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.6.0 → 2.8.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.6.0 build /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.8.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
@@ -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.6.0 test /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.8.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) 53410ms
10
- ✓ checking preset for 'milab-human-dna-xcr-7genes-multiplex' 13379ms
11
- ✓ checking preset for '10x-sc-xcr-vdj' 8349ms
12
- ✓ checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' 8047ms
13
- ✓ checking preset for 'takara-human-rna-bcr-umi-smartseq' 8039ms
14
- ✓ checking preset for 'rna-seq' 7808ms
15
- ✓ checking preset for 'generic-single-cell-gex' 7786ms
9
+ ✓ src/test/columns.test.ts (6 tests) 54112ms
10
+ ✓ checking preset for 'milab-human-dna-xcr-7genes-multiplex' 12976ms
11
+ ✓ checking preset for '10x-sc-xcr-vdj' 8593ms
12
+ ✓ checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' 8350ms
13
+ ✓ checking preset for 'takara-human-rna-bcr-umi-smartseq' 8290ms
14
+ ✓ checking preset for 'rna-seq' 7833ms
15
+ ✓ checking preset for 'generic-single-cell-gex' 8069ms
16
16
 
17
17
   Test Files  1 passed (1)
18
18
   Tests  6 passed (6)
19
-  Start at  10:16:02
20
-  Duration  54.29s (transform 57ms, setup 0ms, collect 610ms, tests 53.41s, environment 0ms, prepare 72ms)
19
+  Start at  15:43:44
20
+  Duration  55.17s (transform 63ms, setup 0ms, collect 737ms, tests 54.11s, environment 0ms, prepare 92ms)
21
21
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping.workflow
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 22a4bd4: passing library into exportClones template
8
+
9
+ ## 2.7.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a3d8933: ampliseq preset bug correction
14
+
15
+ ## 2.6.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 24b689b: Fixes spec for mutation columns (adds pl7.app/vdj/gene domain to make column ids for V and J genes distinguishable)
20
+
3
21
  ## 2.6.0
4
22
 
5
23
  ### Minor Changes
@@ -46,7 +46,7 @@ assemblingFeatureInfo := func(assemblingFeature) {
46
46
  splittedFeature := text.split(assemblingFeature, "_TO_")
47
47
  if len(splittedFeature) == 2 {
48
48
  if splittedFeature[1] == "FR4" {
49
- productiveFeature = "{"+splittedFeature[0] + "Begin:FR4End(-1)}"
49
+ productiveFeature = splittedFeature[0] + "_TO_FR4(0,-1)"
50
50
  coreVFeature = "{"+splittedFeature[0]+"Begin:FR3End}"
51
51
  coreJFeature = "FR4"
52
52
  } else {
@@ -417,6 +417,9 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
417
417
  spec: {
418
418
  valueType: variant.valueType,
419
419
  name: "pl7.app/vdj/sequence/" + alphabetShortMixcr + variant.name,
420
+ domain: {
421
+ "pl7.app/vdj/gene": geneU
422
+ },
420
423
  annotations: a(orderP, false, {
421
424
  "pl7.app/label": alphabetShort + variant.labelPart + geneU + " gene"
422
425
  })
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-clonotyping-2.workflow",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "Tengo-based template",
5
5
  "dependencies": {
6
- "@platforma-sdk/workflow-tengo": "^3.1.0",
6
+ "@platforma-sdk/workflow-tengo": "^4.0.3",
7
7
  "@platforma-open/milaboratories.mixcr-clonotyping-2.single-cell-scripts": "1.1.1"
8
8
  },
9
9
  "devDependencies": {
10
- "@platforma-sdk/tengo-builder": "^2.0.2",
10
+ "@platforma-sdk/tengo-builder": "^2.0.3",
11
11
  "@platforma-open/milaboratories.software-mixcr": "4.7.0-149-develop",
12
12
  "@platforma-open/milaboratories.software-ptransform": "^1.3.1",
13
- "@platforma-sdk/test": "^1.25.0",
13
+ "@platforma-sdk/test": "^1.28.2",
14
14
  "vitest": "^2.1.8",
15
15
  "typescript": "~5.5.4"
16
16
  },
@@ -46,7 +46,7 @@ assemblingFeatureInfo := func(assemblingFeature) {
46
46
  splittedFeature := text.split(assemblingFeature, "_TO_")
47
47
  if len(splittedFeature) == 2 {
48
48
  if splittedFeature[1] == "FR4" {
49
- productiveFeature = "{"+splittedFeature[0] + "Begin:FR4End(-1)}"
49
+ productiveFeature = splittedFeature[0] + "_TO_FR4(0,-1)"
50
50
  coreVFeature = "{"+splittedFeature[0]+"Begin:FR3End}"
51
51
  coreJFeature = "FR4"
52
52
  } else {
@@ -417,6 +417,9 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
417
417
  spec: {
418
418
  valueType: variant.valueType,
419
419
  name: "pl7.app/vdj/sequence/" + alphabetShortMixcr + variant.name,
420
+ domain: {
421
+ "pl7.app/vdj/gene": geneU
422
+ },
420
423
  annotations: a(orderP, false, {
421
424
  "pl7.app/label": alphabetShort + variant.labelPart + geneU + " gene"
422
425
  })
@@ -16,6 +16,8 @@ self.body(func(inputs) {
16
16
  clnsFile := inputs[pConstants.VALUE_FIELD_NAME]
17
17
 
18
18
  params := inputs.params
19
+ library := inputs.library
20
+ isLibraryFileGzipped := params.isLibraryFileGzipped
19
21
  chains := params.chains
20
22
  exportArgs := params.exportArgs
21
23
 
@@ -37,6 +39,14 @@ self.body(func(inputs) {
37
39
  arg("--reset-export-clone-table-splitting").
38
40
  arg("--chains").arg(chains)
39
41
 
42
+ if library {
43
+ if isLibraryFileGzipped {
44
+ mixcrCmdBuilder.addFile("library.json.gz", library)
45
+ } else {
46
+ mixcrCmdBuilder.addFile("library.json", library)
47
+ }
48
+ }
49
+
40
50
  additionalAction(mixcrCmdBuilder)
41
51
 
42
52
  return mixcrCmdBuilder.
@@ -351,8 +351,10 @@ self.body(func(inputs) {
351
351
  clonotypeKeyColumns: clonotypeKeyColumns,
352
352
  clonotypeKeyArgs: clonotypeKeyArgs,
353
353
  cellTagColumns: cellTagColumns,
354
- exportArgs: exportArgs
355
- }
354
+ exportArgs: exportArgs,
355
+ isLibraryFileGzipped: isLibraryFileGzipped
356
+ },
357
+ library: library
356
358
  }
357
359
  }
358
360
  )