From 44805126055ccc1f7ed0fe63c48be1f388a89e5f Mon Sep 17 00:00:00 2001 From: Austin Gillen <4809242+agillen@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:17:31 -0600 Subject: [PATCH] Allow bc_cut to be defined at the sample level --- rules/cutadapt_star.snake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/cutadapt_star.snake b/rules/cutadapt_star.snake index 53d6992..44956f8 100644 --- a/rules/cutadapt_star.snake +++ b/rules/cutadapt_star.snake @@ -16,7 +16,7 @@ def _get_fq_paths(wildcards): """ Process complex barcodes into simple, if needed""" def _get_bc_cut(wildcards): try: - return CHEMISTRY[_get_config(wildcards.sample, "chemistry")]["bc_cut"] + return _get_config(wildcards.sample, "bc_cut") except KeyError: return ""