@platforma-open/milaboratories.mixcr-shm-trees.workflow 2.3.0 → 2.3.2
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/CHANGELOG.md +15 -0
- package/dist/tengo/lib/export-settings.lib.tengo +24 -1
- package/dist/tengo/tpl/main.plj.gz +0 -0
- package/dist/tengo/tpl/process.plj.gz +0 -0
- package/dist/tengo/tpl/reconstruct-shm-trees.plj.gz +0 -0
- package/package.json +1 -1
- package/src/export-settings.lib.tengo +24 -1
- package/src/process.tpl.tengo +6 -3
- package/src/reconstruct-shm-trees.tpl.tengo +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @platforma-open/milaboratories.mixcr-shm-trees.workflow
|
|
2
2
|
|
|
3
|
+
## 2.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7efd2ac: Allele seed changed
|
|
8
|
+
|
|
9
|
+
## 2.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1edb8af: - Fix for column name "Number of clones" -> "Number of nodes"
|
|
14
|
+
- Added "Distance to parent" column
|
|
15
|
+
- "Distance to parent" column is now used as distance measure for tree visualization by default
|
|
16
|
+
- Assembling feature (i.e. VDJRegion) is added as individual export column
|
|
17
|
+
|
|
3
18
|
## 2.3.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -101,7 +101,7 @@ shmTreeTableOptions := func(dataDescription) {
|
|
|
101
101
|
"name": "pl7.app/vdj/numberOfNodesWithClones",
|
|
102
102
|
"valueType": "Long",
|
|
103
103
|
"annotations": {
|
|
104
|
-
"pl7.app/label": "Number of
|
|
104
|
+
"pl7.app/label": "Number of nodes"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
})
|
|
@@ -306,8 +306,31 @@ shmTreeNodesTableOptions := func(dataDescription) {
|
|
|
306
306
|
"spec": {
|
|
307
307
|
"name": "pl7.app/dendrogram/distance",
|
|
308
308
|
"valueType": "Double",
|
|
309
|
+
"domain": {
|
|
310
|
+
"pl7.app/dendrogram/distance/from": "germline"
|
|
311
|
+
},
|
|
309
312
|
"annotations": {
|
|
310
313
|
"pl7.app/label": "Distanse from germline",
|
|
314
|
+
"pl7.app/dendrogram/distance/from": "germline", // change to domain only, once can be selected in graphmaker
|
|
315
|
+
"pl7.app/dendrogram/isDistance": "true"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
})
|
|
319
|
+
|
|
320
|
+
cmdArgs = append(cmdArgs, "-distance", "parent")
|
|
321
|
+
columns = append(columns, {
|
|
322
|
+
"column": "DistanceFromParent",
|
|
323
|
+
"id": "distance-from-parent",
|
|
324
|
+
"allowNA": true,
|
|
325
|
+
"spec": {
|
|
326
|
+
"name": "pl7.app/dendrogram/distance",
|
|
327
|
+
"valueType": "Double",
|
|
328
|
+
"domain": {
|
|
329
|
+
"pl7.app/dendrogram/distance/from": "parent"
|
|
330
|
+
},
|
|
331
|
+
"annotations": {
|
|
332
|
+
"pl7.app/label": "Distanse from parent",
|
|
333
|
+
"pl7.app/dendrogram/distance/from": "parent", // change to domain only, once can be selected in graphmaker
|
|
311
334
|
"pl7.app/dendrogram/isDistance": "true"
|
|
312
335
|
}
|
|
313
336
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ shmTreeTableOptions := func(dataDescription) {
|
|
|
101
101
|
"name": "pl7.app/vdj/numberOfNodesWithClones",
|
|
102
102
|
"valueType": "Long",
|
|
103
103
|
"annotations": {
|
|
104
|
-
"pl7.app/label": "Number of
|
|
104
|
+
"pl7.app/label": "Number of nodes"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
})
|
|
@@ -306,8 +306,31 @@ shmTreeNodesTableOptions := func(dataDescription) {
|
|
|
306
306
|
"spec": {
|
|
307
307
|
"name": "pl7.app/dendrogram/distance",
|
|
308
308
|
"valueType": "Double",
|
|
309
|
+
"domain": {
|
|
310
|
+
"pl7.app/dendrogram/distance/from": "germline"
|
|
311
|
+
},
|
|
309
312
|
"annotations": {
|
|
310
313
|
"pl7.app/label": "Distanse from germline",
|
|
314
|
+
"pl7.app/dendrogram/distance/from": "germline", // change to domain only, once can be selected in graphmaker
|
|
315
|
+
"pl7.app/dendrogram/isDistance": "true"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
})
|
|
319
|
+
|
|
320
|
+
cmdArgs = append(cmdArgs, "-distance", "parent")
|
|
321
|
+
columns = append(columns, {
|
|
322
|
+
"column": "DistanceFromParent",
|
|
323
|
+
"id": "distance-from-parent",
|
|
324
|
+
"allowNA": true,
|
|
325
|
+
"spec": {
|
|
326
|
+
"name": "pl7.app/dendrogram/distance",
|
|
327
|
+
"valueType": "Double",
|
|
328
|
+
"domain": {
|
|
329
|
+
"pl7.app/dendrogram/distance/from": "parent"
|
|
330
|
+
},
|
|
331
|
+
"annotations": {
|
|
332
|
+
"pl7.app/label": "Distanse from parent",
|
|
333
|
+
"pl7.app/dendrogram/distance/from": "parent", // change to domain only, once can be selected in graphmaker
|
|
311
334
|
"pl7.app/dendrogram/isDistance": "true"
|
|
312
335
|
}
|
|
313
336
|
}
|
package/src/process.tpl.tengo
CHANGED
|
@@ -52,12 +52,15 @@ self.body(func(inputs) {
|
|
|
52
52
|
dataDescription.coveredFeatures = text.re_split(',', presetAnnotations["mixcr.com/coveredFeaturesOnExport"])
|
|
53
53
|
// check that assemblingFeature feature is the same. If so, coveredFeatures will be the same too
|
|
54
54
|
if (assemblingFeature == "") {
|
|
55
|
-
assemblingFeature =
|
|
56
|
-
} else if (assemblingFeature !=
|
|
57
|
-
ll.panic("Assmble features should be the same to process tress. Got " + assemblingFeature + " and " +
|
|
55
|
+
assemblingFeature = presetAnnotations["mixcr.com/assemblingFeature"]
|
|
56
|
+
} else if (assemblingFeature != presetAnnotations["mixcr.com/assemblingFeature"]) {
|
|
57
|
+
ll.panic("Assmble features should be the same to process tress. Got " + assemblingFeature + " and " + presetAnnotations["mixcr.com/assemblingFeature"])
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
// adding assembling feature to the list of covered features
|
|
62
|
+
dataDescription.coveredFeatures = append(dataDescription.coveredFeatures, assemblingFeature)
|
|
63
|
+
|
|
61
64
|
// there should be call join on pfFrames, but it's not implements, so we will do it by hand
|
|
62
65
|
dataGroupedByDonorId := prepareDonorColumn.groupDataByDonorId(inputs.donorColumn, inputs.datasets)
|
|
63
66
|
|