@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 3.13.0 → 3.15.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/mixcr-clonotyping/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@3.13.0 build /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/workflow
3
+ > @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@3.15.0 build /home/runner/work/mixcr-clonotyping/mixcr-clonotyping/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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @platforma-open/milaboratories.mixcr-clonotyping.workflow
2
2
 
3
+ ## 3.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 224eef5: clonotypeKey now includes cHit instead of cGene in splitByC case
8
+
9
+ ## 3.14.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 4fcd94b: relaxed mixcr assemble parameters for high diversity datasets
14
+
3
15
  ## 3.13.0
4
16
 
5
17
  ### Minor Changes
@@ -174,8 +174,8 @@ calculateExportSpecs := func(presetSpecForBack, sampleIdAxisSpec, blockId) {
174
174
  [ "-jGene" ]
175
175
  ]
176
176
  if splitByC {
177
- clonotypeKeyColumns += ["bestCGene"]
178
- clonotypeKeyArgs += [ [ "-cGene" ] ]
177
+ clonotypeKeyColumns += ["bestCHit"]
178
+ clonotypeKeyArgs += [ [ "-cHit" ] ]
179
179
  }
180
180
  }
181
181
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-clonotyping-2.workflow",
3
- "version": "3.13.0",
3
+ "version": "3.15.0",
4
4
  "description": "Tengo-based template",
5
5
  "dependencies": {
6
- "@platforma-sdk/workflow-tengo": "^5.5.9",
6
+ "@platforma-sdk/workflow-tengo": "^5.5.15",
7
7
  "@platforma-open/milaboratories.software-mixcr": "4.7.0-233-develop"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@milaboratories/ts-configs": "^1.0.6",
11
11
  "@platforma-sdk/tengo-builder": "^2.3.3",
12
- "@platforma-sdk/test": "^1.45.9",
12
+ "@platforma-sdk/test": "^1.45.20",
13
13
  "vitest": "~2.1.9",
14
14
  "typescript": "~5.6.3"
15
15
  },
@@ -174,8 +174,8 @@ calculateExportSpecs := func(presetSpecForBack, sampleIdAxisSpec, blockId) {
174
174
  [ "-jGene" ]
175
175
  ]
176
176
  if splitByC {
177
- clonotypeKeyColumns += ["bestCGene"]
178
- clonotypeKeyArgs += [ [ "-cGene" ] ]
177
+ clonotypeKeyColumns += ["bestCHit"]
178
+ clonotypeKeyArgs += [ [ "-cHit" ] ]
179
179
  }
180
180
  }
181
181
 
@@ -29,7 +29,6 @@ self.body(func(inputs) {
29
29
  software(mixcrSw).
30
30
  env("MI_USE_SYSTEM_CA", "true").
31
31
  secret("MI_LICENSE", "MI_LICENSE").
32
- printErrStreamToStdout().
33
32
  arg("exportPreset")
34
33
 
35
34
  if smart.isResource(preset) /* file */ {
@@ -61,7 +60,6 @@ self.body(func(inputs) {
61
60
  software(mixcrSw).
62
61
  env("MI_USE_SYSTEM_CA", "true").
63
62
  secret("MI_LICENSE", "MI_LICENSE").
64
- printErrStreamToStdout().
65
63
  arg("presetSpecificationsForBack").
66
64
  addFile("preset.yaml", mixcrExportPresetCmd.getFile("preset.json")).
67
65
  arg("preset.yaml").
@@ -117,6 +117,7 @@ wf.body(func(args) {
117
117
  limitInput: limitInput,
118
118
  perProcessMemGB: perProcessMemGB,
119
119
  perProcessCPUs: perProcessCPUs,
120
+ highDiversityLibrary: args.highDiversityLibrary,
120
121
  blockId: blockId,
121
122
  libraryId: libraryId,
122
123
  presetCommonName: args.presetCommonName,
@@ -66,6 +66,7 @@ self.body(func(inputs) {
66
66
 
67
67
  mixcrCmdBuilder := exec.builder().
68
68
  printErrStreamToStdout().
69
+ saveStdoutStream().
69
70
  env("MI_USE_SYSTEM_CA", "true").
70
71
  env("MI_PROGRESS_PREFIX", progressPrefix).
71
72
  software(mixcrSw).
@@ -121,6 +122,16 @@ self.body(func(inputs) {
121
122
  arg(preset.name)
122
123
  }
123
124
 
125
+ // High diversity library tuning
126
+ highDiversityLibrary := params.highDiversityLibrary
127
+ if !is_undefined(highDiversityLibrary) && highDiversityLibrary {
128
+ mixcrCmdBuilder.
129
+ arg("-Massemble.cloneAssemblerParameters.minimalQuality=20").
130
+ arg("-Massemble.cloneAssemblerParameters.badQualityThreshold=10").
131
+ arg("-Massemble.cloneAssemblerParameters.cloneClusteringParameters.searchParameters=oneMismatchOrIndel").
132
+ arg("-Massemble.cloneAssemblerParameters.cloneClusteringParameters.searchDepth=1")
133
+ }
134
+
124
135
  inputMap := inputData.inputs()
125
136
  if inputDataMeta.keyLength == 0 {
126
137
  ll.assert(aggregationAxesNames == [], "unexpected aggregation axes names")
@@ -66,8 +66,6 @@ self.body(func(inputs) {
66
66
  inMediumQueue().
67
67
  mem(string(exportMemGB) + "GiB").
68
68
  cpu(2).
69
- printErrStreamToStdout().
70
- dontSaveStdoutOrStderr().
71
69
  env("MI_USE_SYSTEM_CA", "true").
72
70
  software(mixcrSw).
73
71
  secret("MI_LICENSE", "MI_LICENSE").
@@ -267,7 +267,8 @@ self.body(func(inputs) {
267
267
  limitInput: limitInput,
268
268
  fileExtension: fileExtension,
269
269
  reports: reports,
270
- isLibraryFileGzipped: isLibraryFileGzipped
270
+ isLibraryFileGzipped: isLibraryFileGzipped,
271
+ highDiversityLibrary: params.highDiversityLibrary
271
272
  },
272
273
  library: library,
273
274
  presetContent: presetContent