From 58791282fc489dda0eeaab95bd2152dcb7ea23c9 Mon Sep 17 00:00:00 2001 From: farchaab Date: Fri, 30 Aug 2024 12:09:11 +0200 Subject: [PATCH] added wildcards constraints --- mess/workflow/rules/preflight/functions.smk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mess/workflow/rules/preflight/functions.smk b/mess/workflow/rules/preflight/functions.smk index b2284aa..00ccdcd 100644 --- a/mess/workflow/rules/preflight/functions.smk +++ b/mess/workflow/rules/preflight/functions.smk @@ -7,6 +7,11 @@ from Bio import SeqIO import random +wildcard_constraints: + sample="[^/]+", + contig="[^/]+", + + def list_reads(wildcards): if PAIRED: reads = expand(