Skip to content

Commit

Permalink
feat: update reports module to v0.4.1 (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
maehler authored Feb 2, 2024
1 parent b081274 commit 32e40e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ cnvkit_scatter:
cnv_html_report:
show_table: true
show_cytobands: true
extra_tables:
- name: CNV TSV report
description: >
CNVs as presented in the TSV report that is generated by
Twist Solid. This includes small amplifications and deletions,
as well as 1p19q co-deletions.
path: cnv_sv/svdb_query/{sample}_{type}.{tc_method}.cnv_loh_genes_validated.cnv_report.tsv

cnv_tsv_report:
amp_cn_limit: 6.0
Expand Down
4 changes: 3 additions & 1 deletion workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ use rule purecn from cnv_sv as cnv_sv_purecn with:

module reports:
snakefile:
get_module_snakefile(config, "hydra-genetics/reports", path="workflow/Snakefile", tag="v0.3.1")
get_module_snakefile(config, "hydra-genetics/reports", path="workflow/Snakefile", tag="v0.4.1")
config:
config

Expand All @@ -622,11 +622,13 @@ use rule cnv_html_report from reports as reports_cnv_html_report with:
js_files=workflow.get_rule("reports_cnv_html_report").input.js_files,
css_files=workflow.get_rule("reports_cnv_html_report").input.css_files,
tc_file=get_tc_file,
extra_table_files=config.get("cnv_html_report", {}).get("extra_table_files", []),
params:
include_table=config.get("cnv_html_report", {}).get("show_table", True),
include_cytobands=config.get("cnv_html_report", {}).get("show_cytobands", True),
tc=get_tc,
tc_method=lambda wildcards: wildcards.tc_method,
extra_tables=config.get("cnv_html_report", {}).get("extra_tables", []),


module misc:
Expand Down

0 comments on commit 32e40e9

Please sign in to comment.