Skip to content
Snippets Groups Projects
Commit 0bf3f2a5 authored by Sascha Meiers's avatar Sascha Meiers
Browse files

Fix pipefail error when merging StrandphaseR output

parent 27de5e66
No related branches found
No related tags found
No related merge requests found
......@@ -324,8 +324,9 @@ rule combine_strandphaser_output:
"strand_states/" + config["sample"] + ".strandphaser_output.txt"
shell:
"""
cat {input} | head -n1 > {output}
for x in {input}; do tail -n+2 $x >> {output}; done
set +o pipefail
cat {input} | head -n1 > {output};
for x in {input}; do tail -n+2 $x >> {output}; done;
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment