Skip to content

Commit

Permalink
fix: lookup benchmark with correct benchmark name instead of callset …
Browse files Browse the repository at this point in the history
…name
  • Loading branch information
johanneskoester committed Jan 23, 2024
1 parent ff34983 commit a41abb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ def get_nonempty_coverages(wildcards):


def get_somatic_flag(wildcards):
return '--squash-ploidy' if genomes[benchmarks[wildcards.callset]['genome']]['somatic'] else ''
benchmark = config["variant-calls"][wildcards.callset]["benchmark"]
return '--squash-ploidy' if genomes[benchmarks[benchmark]['genome']]['somatic'] else ''


def get_collect_stratifications_input(wildcards):
Expand Down

0 comments on commit a41abb4

Please sign in to comment.