Skip to content

Commit

Permalink
feat: colored tick plots in datavzrd report (#279)
Browse files Browse the repository at this point in the history
* feat: colored tick plots

* adjust colors
  • Loading branch information
FelixMoelder authored Nov 30, 2023
1 parent 12f22e9 commit 757aa0e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
32 changes: 22 additions & 10 deletions workflow/resources/datavzrd/variant-calls-template.datavzrd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,18 @@ views:
- "#ff5555"
"regex('.+: allele frequency')":
plot:
heatmap:
ticks:
scale: "linear"
domain: [0.0, 0.05, 1.0]
range:
- white
- "#d3e9f8"
domain: [0.0, 1.0]
aux-domain-columns:
- "regex('.+: allele frequency')"
color:
scale: "linear"
domain: [0.0, 0.05, 0.0500000001, 1.0]
range:
- "#ffd6b3"
- "#ff7f0e"
- "#a8d2f0"
- "#1f77b4"
"regex('.+: read depth')":
plot:
Expand Down Expand Up @@ -341,12 +347,18 @@ views:
- "#ecca00"
"regex('.+: allele frequency')":
plot:
heatmap:
ticks:
scale: "linear"
domain: [0.0, 0.05, 1.0]
range:
- white
- "#d3e9f8"
domain: [0.0, 1.0]
aux-domain-columns:
- "regex('.+: allele frequency')"
color:
scale: "linear"
domain: [0.0, 0.05, 0.0500000001, 1.0]
range:
- "#ffd6b3"
- "#ff7f0e"
- "#a8d2f0"
- "#1f77b4"
"regex('.+: read depth')":
plot:
Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/datavzrd.smk
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ rule datavzrd_variants_calls:
log:
"logs/datavzrd_report/{batch}.{event}.log",
wrapper:
"v2.10.0/utils/datavzrd"
"v3.0.2/utils/datavzrd"


rule bedtools_merge:
Expand Down Expand Up @@ -167,4 +167,4 @@ rule datavzrd_coverage:
log:
"logs/datavzrd_report/{group}.coverage.log",
wrapper:
"v2.10.0/utils/datavzrd"
"v3.0.2/utils/datavzrd"

0 comments on commit 757aa0e

Please sign in to comment.