@platforma-open/milaboratories.mixcr-amplicon-alignment.workflow 1.15.0 → 1.16.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/tengo/tpl/aggregate-by-clonotype-key.plj.gz +0 -0
- package/dist/tengo/tpl/export-report.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/process.plj.gz +0 -0
- package/dist/tengo/tpl/repseqio-library.plj.gz +0 -0
- package/package.json +3 -3
- package/src/main.tpl.tengo +2 -23
- package/src/repseqio-library.tpl.tengo +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -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.
|
|
3
|
+
> @platforma-open/milaboratories.mixcr-amplicon-alignment.workflow@1.16.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
|
Binary file
|
|
Binary file
|
|
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.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "MiXCR Amplicon Alignment Workflow",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@platforma-open/milaboratories.software-repseqio": "^2.5.0-13-master"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@platforma-sdk/tengo-builder": "^2.4.
|
|
13
|
-
"@platforma-sdk/test": "^1.
|
|
12
|
+
"@platforma-sdk/tengo-builder": "^2.4.11",
|
|
13
|
+
"@platforma-sdk/test": "^1.52.4",
|
|
14
14
|
"vitest": "^4.0.17"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
package/src/main.tpl.tengo
CHANGED
|
@@ -32,27 +32,6 @@ wf.body(func(args) {
|
|
|
32
32
|
perProcessCPUs := args.perProcessCPUs
|
|
33
33
|
cloneClusteringMode := args.cloneClusteringMode
|
|
34
34
|
|
|
35
|
-
// Create V and J gene FASTA files
|
|
36
|
-
|
|
37
|
-
fastaFileCmdBuilder := exec.builder().cmd("/usr/bin/env").arg("bash")
|
|
38
|
-
|
|
39
|
-
// Save vGene to FASTA file if available
|
|
40
|
-
if args.vGenes != "" {
|
|
41
|
-
fastaFileCmdBuilder.writeFile("vGene.fasta", args.vGenes).
|
|
42
|
-
saveFile("vGene.fasta")
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Save jGene to FASTA file if available
|
|
46
|
-
if args.jGenes != "" {
|
|
47
|
-
fastaFileCmdBuilder.writeFile("jGene.fasta", args.jGenes).
|
|
48
|
-
saveFile("jGene.fasta")
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
fastaFileCmd := fastaFileCmdBuilder.run()
|
|
52
|
-
|
|
53
|
-
vGeneFasta := fastaFileCmd.getFile("vGene.fasta")
|
|
54
|
-
jGeneFasta := fastaFileCmd.getFile("jGene.fasta")
|
|
55
|
-
|
|
56
35
|
chainInfos := {
|
|
57
36
|
"IGHeavy": { mixcrFilter: "IGH", name: "IG Heavy", shortName: "Heavy" },
|
|
58
37
|
"IGLight": { mixcrFilter: "IGK", name: "IG Light", shortName: "Light" },
|
|
@@ -65,8 +44,8 @@ wf.body(func(args) {
|
|
|
65
44
|
// Generate reference library using repseqio if both V and J genes are available
|
|
66
45
|
|
|
67
46
|
repseqioResults := render.create(repseqioLibraryTpl, {
|
|
68
|
-
|
|
69
|
-
|
|
47
|
+
vGenes: args.vGenes,
|
|
48
|
+
jGenes: args.jGenes,
|
|
70
49
|
chains: chainInfos[chains].mixcrFilter
|
|
71
50
|
})
|
|
72
51
|
|
|
@@ -12,9 +12,6 @@ repseqioSw := assets.importSoftware("@platforma-open/milaboratories.software-rep
|
|
|
12
12
|
self.defineOutputs("referenceLibrary", "debugOutput")
|
|
13
13
|
|
|
14
14
|
self.body(func(inputs) {
|
|
15
|
-
// Get V and J gene FASTA files from prerun
|
|
16
|
-
vGeneFasta := inputs.vGeneFasta
|
|
17
|
-
jGeneFasta := inputs.jGeneFasta
|
|
18
15
|
|
|
19
16
|
// Create repseqio command to generate reference library
|
|
20
17
|
repseqioVgeneCmd := exec.builder().
|
|
@@ -26,7 +23,8 @@ self.body(func(inputs) {
|
|
|
26
23
|
arg("--taxon-id").arg("1111").
|
|
27
24
|
arg("--gene-feature").arg("VRegion").
|
|
28
25
|
arg("--name-index").arg("0").
|
|
29
|
-
|
|
26
|
+
writeFile("vGene.fasta", inputs.vGenes).saveFile("vGene.fasta").
|
|
27
|
+
arg("vGene.fasta").
|
|
30
28
|
arg("vGene.json").saveFile("vGene.json").
|
|
31
29
|
cpu(1).mem("4GB")
|
|
32
30
|
|
|
@@ -35,6 +33,7 @@ self.body(func(inputs) {
|
|
|
35
33
|
|
|
36
34
|
// Get the generated reference library file
|
|
37
35
|
referenceLibraryVgene := repseqioVgeneResult.getFile("vGene.json")
|
|
36
|
+
vGeneFasta := repseqioVgeneResult.getFile("vGene.fasta")
|
|
38
37
|
|
|
39
38
|
repseqioJgeneCmd := exec.builder().
|
|
40
39
|
software(repseqioSw).
|
|
@@ -45,13 +44,14 @@ self.body(func(inputs) {
|
|
|
45
44
|
arg("--taxon-id").arg("1111").
|
|
46
45
|
arg("--gene-feature").arg("JRegion").
|
|
47
46
|
arg("--name-index").arg("0").
|
|
48
|
-
|
|
47
|
+
writeFile("jGene.fasta", inputs.jGenes).saveFile("jGene.fasta").
|
|
48
|
+
arg("jGene.fasta").
|
|
49
49
|
arg("jGene.json").saveFile("jGene.json").
|
|
50
50
|
cpu(1).mem("4GB")
|
|
51
51
|
|
|
52
52
|
repseqioJgeneResult := repseqioJgeneCmd.run()
|
|
53
53
|
referenceLibraryJgene := repseqioJgeneResult.getFile("jGene.json")
|
|
54
|
-
|
|
54
|
+
jGeneFasta := repseqioJgeneResult.getFile("jGene.fasta")
|
|
55
55
|
repseqioMergeCmd := exec.builder().
|
|
56
56
|
software(repseqioSw).
|
|
57
57
|
arg("merge").
|