From 4bd35060daf9f3be2910a54aa7f7aec6710a8752 Mon Sep 17 00:00:00 2001 From: Tobias Marschall <tobias.marschall@0ohm.net> Date: Sat, 29 Sep 2018 17:49:16 +0200 Subject: [PATCH] Sort summary stats table --- Snakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snakefile b/Snakefile index d4579d5..0f8089b 100644 --- a/Snakefile +++ b/Snakefile @@ -999,5 +999,5 @@ rule aggregate_summary_statistics: output: tsv="stats-merged/{sample}/stats.tsv" shell: - "(head -n1 {input.tsv[0]} && tail -n1 -q {input.tsv}) > {output}" + "(head -n1 {input.tsv[0]} && (tail -n1 -q {input.tsv} | sort -k1) ) > {output}" -- GitLab