From f6ed27d967409697f2513a7704acde28fcce8405 Mon Sep 17 00:00:00 2001
From: Sascha Meiers <meiers@embl.de>
Date: Sun, 28 Oct 2018 11:15:33 +0100
Subject: [PATCH] This might (?) fix a problem that seemed to occur randomly
 using singularity

---
 Snakefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Snakefile b/Snakefile
index 32c56d0..ef62530 100644
--- a/Snakefile
+++ b/Snakefile
@@ -67,6 +67,7 @@ BPDENS = [
     "selected_j{}_s{}_scedist{}".format(joint, single, scedist) for joint in [0.1] for single in [0.5] for scedist in [5,20]
 ]
 
+# Todo: specify an exact version of the singularity file!
 singularity: "docker://smei/mosaicatcher-pipeline:latest"
 
 localrules:
@@ -384,7 +385,7 @@ rule generate_exclude_file_1:
         samtools = config["samtools"]
     shell:
         """
-        {params.samtools} view -H {input.bam} | awk '/^@SQ/' > {output} 2> {log}
+        {params.samtools} view -H {input.bam} | awk "/^@SQ/" > {output} 2> {log}
         """
 
 rule generate_exclude_file_2:
-- 
GitLab