Skip to content

Commit 1ab459d

Browse files
committed
fix: activate report creation in test case and fix remaining problems
1 parent 7d208dc commit 1ab459d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.test/config-sra/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ gene_coverage:
132132
min_avg_coverage: 8
133133

134134
report:
135-
activate: false
135+
activate: true
136136
max_read_depth: 250
137137
stratify:
138138
activate: false

workflow/rules/common.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ def get_datavzrd_data(impact="coding"):
15261526
return expand(
15271527
pattern,
15281528
impact=impact,
1529-
event=wildcards.any_event,
1529+
any_event=wildcards.any_event,
15301530
group=get_report_batch(calling_type),
15311531
)
15321532

workflow/rules/table.smk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
rule vembrane_table:
22
input:
3-
bcf="results/final-calls/{group}.{event}.{calling_type}.fdr-controlled.normal-probs.bcf",
3+
bcf="results/final-calls/{group}.{any_event}.{calling_type}.fdr-controlled.normal-probs.bcf",
44
scenario="results/scenarios/{group}.yaml",
55
output:
6-
bcf="results/tables/{group}.{event}.{calling_type}.fdr-controlled.tsv",
6+
bcf="results/tables/{group}.{any_event}.{calling_type}.fdr-controlled.tsv",
77
conda:
88
"../envs/vembrane.yaml"
99
params:
1010
config=lambda wc, input: get_vembrane_config(wc, input),
1111
log:
12-
"logs/vembrane-table/{group}.{event}.{calling_type}.log",
12+
"logs/vembrane-table/{group}.{any_event}.{calling_type}.log",
1313
shell:
1414
'vembrane table --header "{params.config[header]}" "{params.config[expr]}" '
1515
"{input.bcf} > {output.bcf} 2> {log}"

0 commit comments

Comments
 (0)