@platforma-open/milaboratories.mixcr-clonotyping-2.workflow 2.6.1 → 2.8.1
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.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +10 -10
- package/CHANGELOG.md +18 -0
- package/dist/tengo/lib/calculate-export-specs.lib.tengo +1 -33
- package/dist/tengo/tpl/aggregate-by-clonotype-key.plj.gz +0 -0
- package/dist/tengo/tpl/calculate-preset-info.plj.gz +0 -0
- package/dist/tengo/tpl/list-presets.plj.gz +0 -0
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-analyze.plj.gz +0 -0
- package/dist/tengo/tpl/mixcr-export.plj.gz +0 -0
- package/dist/tengo/tpl/prerun.plj.gz +0 -0
- package/dist/tengo/tpl/process-single-cell.plj.gz +0 -0
- package/dist/tengo/tpl/process.plj.gz +0 -0
- package/dist/tengo/tpl/test.columns-calculate.plj.gz +0 -0
- package/dist/tengo/tpl/test.columns.test.plj.gz +0 -0
- package/package.json +1 -1
- package/src/calculate-export-specs.lib.tengo +1 -33
- package/src/mixcr-export.tpl.tengo +10 -0
- package/src/process.tpl.tengo +4 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.8.1 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
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-clonotyping-2.workflow@2.8.1 test /home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow
|
|
4
4
|
> vitest
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.8 [39m[90m/home/runner/work/mixcr-clonotyping-2/mixcr-clonotyping-2/workflow[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m src/test/columns.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m
|
|
10
|
-
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [
|
|
11
|
-
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [
|
|
12
|
-
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [
|
|
13
|
-
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [
|
|
14
|
-
[33m[2m✓[22m[39m checking preset for 'rna-seq' [
|
|
15
|
-
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [
|
|
9
|
+
[32m✓[39m src/test/columns.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 52630[2mms[22m[39m
|
|
10
|
+
[33m[2m✓[22m[39m checking preset for 'milab-human-dna-xcr-7genes-multiplex' [33m12190[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m checking preset for '10x-sc-xcr-vdj' [33m8567[2mms[22m[39m
|
|
12
|
+
[33m[2m✓[22m[39m checking preset for 'cellecta-human-rna-xcr-umi-drivermap-…' [33m8302[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m checking preset for 'takara-human-rna-bcr-umi-smartseq' [33m8076[2mms[22m[39m
|
|
14
|
+
[33m[2m✓[22m[39m checking preset for 'rna-seq' [33m7653[2mms[22m[39m
|
|
15
|
+
[33m[2m✓[22m[39m checking preset for 'generic-single-cell-gex' [33m7842[2mms[22m[39m
|
|
16
16
|
|
|
17
17
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
18
18
|
[2m Tests [22m [1m[32m6 passed[39m[22m[90m (6)[39m
|
|
19
|
-
[2m Start at [22m
|
|
20
|
-
[2m Duration [22m
|
|
19
|
+
[2m Start at [22m 15:34:37
|
|
20
|
+
[2m Duration [22m 53.50s[2m (transform 48ms, setup 0ms, collect 601ms, tests 52.63s, environment 0ms, prepare 78ms)[22m
|
|
21
21
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-clonotyping.workflow
|
|
2
2
|
|
|
3
|
+
## 2.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f838dd2: Remove CDR3 length column from output
|
|
8
|
+
|
|
9
|
+
## 2.8.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 22a4bd4: passing library into exportClones template
|
|
14
|
+
|
|
15
|
+
## 2.7.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- a3d8933: ampliseq preset bug correction
|
|
20
|
+
|
|
3
21
|
## 2.6.1
|
|
4
22
|
|
|
5
23
|
### Patch 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 =
|
|
49
|
+
productiveFeature = splittedFeature[0] + "_TO_FR4(0,-1)"
|
|
50
50
|
coreVFeature = "{"+splittedFeature[0]+"Begin:FR3End}"
|
|
51
51
|
coreJFeature = "FR4"
|
|
52
52
|
} else {
|
|
@@ -536,38 +536,6 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
536
536
|
]
|
|
537
537
|
|
|
538
538
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
lengthColumns := ["CDR3"] // assemblingFeatureInfo.nonImputed
|
|
542
|
-
|
|
543
|
-
for featureU in lengthColumns {
|
|
544
|
-
featureL := text.to_lower(featureU)
|
|
545
|
-
for isAminoAcid in [false, true] {
|
|
546
|
-
alphabet := isAminoAcid ? "aminoacid" : "nucleotide"
|
|
547
|
-
alphabetShort := isAminoAcid ? "aa" : "nt"
|
|
548
|
-
alphabetShortMixcr := isAminoAcid ? "aa" : "n"
|
|
549
|
-
columnsSpecPerClonotype += [ {
|
|
550
|
-
column: alphabetShortMixcr + "Length" + featureU,
|
|
551
|
-
id: alphabetShortMixcr + "-length-" + featureL,
|
|
552
|
-
naRegex: "region_not_covered",
|
|
553
|
-
spec: {
|
|
554
|
-
name: "pl7.app/vdj/sequenceLength",
|
|
555
|
-
valueType: "Int",
|
|
556
|
-
domain: {
|
|
557
|
-
"pl7.app/vdj/feature": featureU,
|
|
558
|
-
"pl7.app/alphabet": alphabet
|
|
559
|
-
},
|
|
560
|
-
annotations: a(orderP, false, {
|
|
561
|
-
"pl7.app/label": "Length of " + featureU + " " + alphabetShort
|
|
562
|
-
})
|
|
563
|
-
}
|
|
564
|
-
} ]
|
|
565
|
-
exportArgs += [ [ "-" + alphabetShortMixcr + "Length", featureU ] ]
|
|
566
|
-
orderP -= 100
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
|
|
571
539
|
|
|
572
540
|
columnsSpec := columnsSpecPerSample + columnsSpecPerClonotype
|
|
573
541
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -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 =
|
|
49
|
+
productiveFeature = splittedFeature[0] + "_TO_FR4(0,-1)"
|
|
50
50
|
coreVFeature = "{"+splittedFeature[0]+"Begin:FR3End}"
|
|
51
51
|
coreJFeature = "FR4"
|
|
52
52
|
} else {
|
|
@@ -535,38 +535,6 @@ calculateExportSpecs := func(presetSpecForBack, blockId) {
|
|
|
535
535
|
[ "-topChains" ]
|
|
536
536
|
]
|
|
537
537
|
|
|
538
|
-
//Sequence length
|
|
539
|
-
|
|
540
|
-
// for now use only CDR3 length to avoid generating too many columns
|
|
541
|
-
lengthColumns := ["CDR3"] // assemblingFeatureInfo.nonImputed
|
|
542
|
-
|
|
543
|
-
for featureU in lengthColumns {
|
|
544
|
-
featureL := text.to_lower(featureU)
|
|
545
|
-
for isAminoAcid in [false, true] {
|
|
546
|
-
alphabet := isAminoAcid ? "aminoacid" : "nucleotide"
|
|
547
|
-
alphabetShort := isAminoAcid ? "aa" : "nt"
|
|
548
|
-
alphabetShortMixcr := isAminoAcid ? "aa" : "n"
|
|
549
|
-
columnsSpecPerClonotype += [ {
|
|
550
|
-
column: alphabetShortMixcr + "Length" + featureU,
|
|
551
|
-
id: alphabetShortMixcr + "-length-" + featureL,
|
|
552
|
-
naRegex: "region_not_covered",
|
|
553
|
-
spec: {
|
|
554
|
-
name: "pl7.app/vdj/sequenceLength",
|
|
555
|
-
valueType: "Int",
|
|
556
|
-
domain: {
|
|
557
|
-
"pl7.app/vdj/feature": featureU,
|
|
558
|
-
"pl7.app/alphabet": alphabet
|
|
559
|
-
},
|
|
560
|
-
annotations: a(orderP, false, {
|
|
561
|
-
"pl7.app/label": "Length of " + featureU + " " + alphabetShort
|
|
562
|
-
})
|
|
563
|
-
}
|
|
564
|
-
} ]
|
|
565
|
-
exportArgs += [ [ "-" + alphabetShortMixcr + "Length", featureU ] ]
|
|
566
|
-
orderP -= 100
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
538
|
// All columns are added
|
|
571
539
|
|
|
572
540
|
columnsSpec := columnsSpecPerSample + columnsSpecPerClonotype
|
|
@@ -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.
|
package/src/process.tpl.tengo
CHANGED
|
@@ -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
|
)
|