From a7f5aa1afd576bc0d77a34bcb8b300a9281b2bd7 Mon Sep 17 00:00:00 2001 From: farchaab Date: Wed, 15 May 2024 17:26:15 +0200 Subject: [PATCH] renamed checkpoint --- mess/workflow/rules/preflight/functions.smk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mess/workflow/rules/preflight/functions.smk b/mess/workflow/rules/preflight/functions.smk index f3ae112..141b042 100644 --- a/mess/workflow/rules/preflight/functions.smk +++ b/mess/workflow/rules/preflight/functions.smk @@ -59,7 +59,7 @@ fasta_cache = {} def fasta_input(wildcards): - table = checkpoints.calculate_coverage.get(**wildcards).output[0] + table = checkpoints.calculate_genome_coverages.get(**wildcards).output[0] if table not in fasta_cache: df = pd.read_csv(table, sep="\t", index_col="fasta") fasta_cache[table] = df @@ -68,7 +68,7 @@ def fasta_input(wildcards): def list_fastas(wildcards): - table = checkpoints.calculate_coverage.get(**wildcards).output[0] + table = checkpoints.calculate_genome_coverages.get(**wildcards).output[0] df = pd.read_csv(table, sep="\t") fastas = list(set(df["fasta"])) return expand(os.path.join(dir.out.processing, "{fasta}.fasta"), fasta=fastas)