@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow 1.0.1 → 1.2.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.0.1 build /home/runner/work/mixcr-amplicon-alignment/mixcr-amplicon-alignment/workflow
3
+ > @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.2.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
  info: Skipping unknown file type: wf.test.ts
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 86528bc: add only productive option to mixcr export
8
+
9
+ ## 1.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 2ac7c87: Wildcards in reference sequence and --limit-input option in MiXCR
14
+
3
15
  ## 1.0.1
4
16
 
5
17
  ### Patch Changes
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.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "MiXCR Amplicon Alignment Workflow",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -29,6 +29,7 @@ wf.body(func(args) {
29
29
  threePrimePrimer := args.threePrimePrimer
30
30
  fivePrimePrimer := args.fivePrimePrimer
31
31
  chains := args.chains
32
+ limitInput := args.limitInput
32
33
 
33
34
  // Create V and J gene FASTA files
34
35
 
@@ -76,6 +77,7 @@ wf.body(func(args) {
76
77
  inputSpec: input.getFutureInputField("spec"),
77
78
  inputData: input.getFutureInputField("data"),
78
79
  referenceLibrary: referenceLibrary,
80
+ limitInput: limitInput,
79
81
 
80
82
  params: smart.createJsonResource({
81
83
  blockId: blockId,
@@ -26,6 +26,9 @@ self.body(func(inputs) {
26
26
 
27
27
  params := inputs.params
28
28
  fileExtension := params.fileExtension
29
+ limitInput := inputs.limitInput
30
+ ll.print("__THE_LOG__" + string(limitInput))
31
+
29
32
  threePrimePrimer := inputs.threePrimePrimer
30
33
  fivePrimePrimer := inputs.fivePrimePrimer
31
34
 
@@ -59,19 +62,25 @@ self.body(func(inputs) {
59
62
  arg("--library").arg("library.json").
60
63
  addFile("library.json", params.referenceLibrary).
61
64
  arg("--rna").
62
- arg("--force-overwrite")
63
-
64
- if (!is_undefined(threePrimePrimer)) {
65
- mixcrCmdBuilder.arg("--floating-left-alignment-boundary")
66
- } else {
67
- mixcrCmdBuilder.arg("--rigid-left-alignment-boundary")
68
- }
69
-
70
- if (!is_undefined(fivePrimePrimer)) {
71
- mixcrCmdBuilder.arg("--floating-right-alignment-boundary").arg("J")
72
- } else {
73
- mixcrCmdBuilder.arg("--rigid-right-alignment-boundary").arg("J")
74
- }
65
+ arg("--force-overwrite").
66
+ arg("--rigid-left-alignment-boundary").
67
+ arg("--rigid-right-alignment-boundary").arg("J")
68
+
69
+ // if (!is_undefined(threePrimePrimer)) {
70
+ // mixcrCmdBuilder.arg("--floating-left-alignment-boundary")
71
+ // } else {
72
+ // mixcrCmdBuilder.arg("--rigid-left-alignment-boundary")
73
+ // }
74
+
75
+ // if (!is_undefined(fivePrimePrimer)) {
76
+ // mixcrCmdBuilder.arg("--floating-right-alignment-boundary").arg("J")
77
+ // } else {
78
+ // mixcrCmdBuilder.arg("--rigid-right-alignment-boundary").arg("J")
79
+ // }
80
+
81
+ if !is_undefined(limitInput) {
82
+ mixcrCmdBuilder.arg("--limit-input").arg(string(limitInput))
83
+ }
75
84
 
76
85
  // Handle input files
77
86
  inputMap := inputData.inputs()
@@ -40,8 +40,8 @@ self.body(func(inputs) {
40
40
  arg("--dont-split-files").
41
41
  arg("--drop-default-fields").
42
42
  arg("--reset-export-clone-table-splitting").
43
- arg("--chains").arg(params.mixcrChains)
44
- //arg("--export-productive-clones-only")
43
+ arg("--chains").arg(params.mixcrChains).
44
+ arg("--export-productive-clones-only")
45
45
 
46
46
  additionalAction(mixcrCmdBuilder)
47
47
 
@@ -31,6 +31,7 @@ self.body(func(inputs) {
31
31
  fivePrimePrimer := params.fivePrimePrimer
32
32
  chains := params.chains
33
33
  mixcrChains := params.mixcrChains
34
+ limitInput := inputs.limitInput
34
35
  fileExtension := inputSpec.domain["pl7.app/fileExtension"]
35
36
 
36
37
  // Use calculateExportSpecs for output columns
@@ -158,10 +159,9 @@ self.body(func(inputs) {
158
159
  params: {
159
160
  fileExtension: fileExtension,
160
161
  referenceLibrary: referenceLibrary
161
- }
162
- },
163
- threePrimePrimer: threePrimePrimer,
164
- fivePrimePrimer: fivePrimePrimer
162
+ },
163
+ limitInput: limitInput
164
+ }
165
165
  }
166
166
  )
167
167