Skip to content

Commit

Permalink
refactor: Change of the canonical function (#337)
Browse files Browse the repository at this point in the history
* Exchange of the canonical function, heatmap to boolean spell

* Exchange in the canonical function

* refactor: Changes in the mane_plus_clinical function and updated Datavzrd version

The mane_plus_clinical function changed to a spell and the rules for Datavzrd are Changed to use a newer Datavzrd version

* refactor: Usage of updated Datavzrd Version

The  rules for Datavzrd are modified to use a newer Datavzrd version

* refactor: Changes in the canonical ans mane_plus_clinical function

Visualization via spells instead of heatmaps

---------

Co-authored-by: Felix Mölder <felix.moelder@uk-essen.de>
  • Loading branch information
BenOrl and FelixMoelder authored Nov 25, 2024
1 parent aa583d3 commit 762781e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 35 deletions.
52 changes: 20 additions & 32 deletions workflow/resources/datavzrd/variant-calls-template.datavzrd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,25 +304,19 @@ views:
canonical:
optional: true
display-mode: detail
plot:
heatmap:
scale: "ordinal"
domain: ["", "True"]
range:
- white
- black
custom-content: ?empty_content
spell:
url: v1.1.3/logic/boolean
with:
true_value: "True"
false_value: ""
mane_plus_clinical:
optional: true
display-mode: detail
plot:
heatmap:
scale: "ordinal"
domain: ["", "True"]
range:
- white
- black
custom-content: ?empty_content
spell:
url: v1.1.3/logic/boolean
with:
true_value: "True"
false_value: ""
?for alias in params.samples.loc[params.samples["group"] == group, "alias"]:
'?f"{alias}: short observations"':
optional: true
Expand Down Expand Up @@ -481,25 +475,19 @@ views:
canonical:
optional: true
display-mode: detail
plot:
heatmap:
scale: "ordinal"
domain: ["", "True"]
range:
- white
- black
custom-content: ?empty_content
spell:
url: v1.1.3/logic/boolean
with:
true_value: "True"
false_value: ""
mane_plus_clinical:
optional: true
display-mode: detail
plot:
heatmap:
scale: "ordinal"
domain: ["", "True"]
range:
- white
- black
custom-content: ?empty_content
spell:
url: v1.1.3/logic/boolean
with:
true_value: "True"
false_value: ""
?for alias in params.samples.loc[params.samples["group"] == group, "alias"]:
'?f"{alias}: short observations"':
optional: true
Expand Down
6 changes: 3 additions & 3 deletions workflow/rules/datavzrd.smk
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ rule datavzrd_variants_calls:
dpath="calling/fdr-control/events/{event}/desc", within=config
),
wrapper:
"v4.6.0/utils/datavzrd"
"v5.1.0/utils/datavzrd"


rule datavzrd_fusion_calls:
Expand Down Expand Up @@ -142,7 +142,7 @@ rule datavzrd_fusion_calls:
groups=get_report_batch("fusions"),
samples=samples,
wrapper:
"v4.6.0/utils/datavzrd"
"v5.1.0/utils/datavzrd"


rule bedtools_merge:
Expand Down Expand Up @@ -196,4 +196,4 @@ rule datavzrd_coverage:
params:
samples=lambda wc: get_group_samples(wc.group),
wrapper:
"v4.6.0/utils/datavzrd"
"v5.1.0/utils/datavzrd"

0 comments on commit 762781e

Please sign in to comment.