@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow 1.18.1 → 1.19.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-amplicon-alignment/mixcr-amplicon-alignment/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.18.1 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
3
+ > @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.19.0 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
4
4
  > rm -rf dist && pl-tengo check && pl-tengo build
5
5
 
6
6
  Processing "src/aggregate-by-clonotype-key.tpl.tengo"...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow
2
2
 
3
+ ## 1.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b6a7c08: Add assembly quality threshold setting to advanced options, allowing users to control the base quality cutoff for clonotype seeding during assembly (MiXCR badQualityThreshold parameter)
8
+
3
9
  ## 1.18.1
4
10
 
5
11
  ### Patch Changes
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow",
3
- "version": "1.18.1",
3
+ "version": "1.19.0",
4
4
  "description": "MiXCR Amplicon Alignment Workflow",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -60,7 +60,7 @@ wf.body(func(args) {
60
60
  limitInput: limitInput,
61
61
  cdr3Sequences: args.cdr3Sequences,
62
62
 
63
- params: smart.createJsonResource({
63
+ params: smart.createJsonResource(maps.clone({
64
64
  blockId: blockId,
65
65
  perProcessMemGB: perProcessMemGB,
66
66
  perProcessCPUs: perProcessCPUs,
@@ -69,9 +69,10 @@ wf.body(func(args) {
69
69
  cloneClusteringMode: cloneClusteringMode,
70
70
  tagPattern: args.tagPattern,
71
71
  assemblingFeature: args.assemblingFeature,
72
+ badQualityThreshold: args.badQualityThreshold,
72
73
  stopCodonTypes: args.stopCodonTypes,
73
74
  stopCodonReplacements: args.stopCodonReplacements
74
- })
75
+ }, { removeUndefs: true }))
75
76
  })
76
77
 
77
78
  exports := {
@@ -91,6 +91,12 @@ self.body(func(inputs) {
91
91
  mixcrCmdBuilder.arg("-Massemble.cloneAssemblerParameters.cloneClusteringParameters=null")
92
92
  }
93
93
 
94
+ // Assembly quality threshold
95
+ badQualityThreshold := params.badQualityThreshold
96
+ if !is_undefined(badQualityThreshold) {
97
+ mixcrCmdBuilder.arg("-Massemble.cloneAssemblerParameters.badQualityThreshold=" + string(int(badQualityThreshold)))
98
+ }
99
+
94
100
  // if (!is_undefined(threePrimePrimer)) {
95
101
  // mixcrCmdBuilder.arg("--floating-left-alignment-boundary")
96
102
  // } else {
@@ -201,14 +201,15 @@ self.body(func(inputs) {
201
201
  traceSteps: [{type: "milaboratories.mixcr-amplicon-alignment", id: blockId, importance: 20, label: "MiXCR generic amplicon"}],
202
202
 
203
203
  extra: {
204
- params: {
204
+ params: maps.clone({
205
205
  fileExtension: fileExtension,
206
206
  referenceLibrary: referenceLibrary,
207
207
  cloneClusteringMode: cloneClusteringMode,
208
208
  hasUMI: hasUMI,
209
209
  tagPattern: tagPattern,
210
- assemblingFeature: params.assemblingFeature
211
- },
210
+ assemblingFeature: params.assemblingFeature,
211
+ badQualityThreshold: params.badQualityThreshold
212
+ }, { removeUndefs: true }),
212
213
  limitInput: limitInput
213
214
  },
214
215