From b65fedb83122009b39ccadbcfaaee1878ed04cb3 Mon Sep 17 00:00:00 2001 From: Sascha Meiers <meiers@embl.de> Date: Wed, 20 Jun 2018 17:36:48 +0200 Subject: [PATCH] Changed bash script because a for Loop caused bash 4.4 to hang within Docker --- Snakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Snakefile b/Snakefile index c6f565c..9e6396d 100644 --- a/Snakefile +++ b/Snakefile @@ -549,8 +549,8 @@ rule combine_strandphaser_output: shell: """ set +o pipefail - cat {input} | head -n1 > {output} 2> {log}; - for x in {input}; do tail -n+2 $x >> {output} 2>> {log}; done; + cat {input} | head -n1 > {output}; + tail -q -n+2 {input} >> {output}; """ -- GitLab