diff --git a/Snakefile b/Snakefile index c6f565c451b005b00cdf3c58a1e67c9c49cbf095..9e6396dd90a303cc2f1e4b940da11189818178f9 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}; """