From 77a7269627da6e094e29d984916b392509718960 Mon Sep 17 00:00:00 2001 From: Joon-Klaps Date: Tue, 9 Jul 2024 13:23:59 +0000 Subject: [PATCH] nf-core tools megahit patch --- modules/nf-core/megahit/main.nf | 4 ++-- modules/nf-core/megahit/megahit.diff | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/nf-core/megahit/main.nf b/modules/nf-core/megahit/main.nf index dce3a65..15b3bcc 100644 --- a/modules/nf-core/megahit/main.nf +++ b/modules/nf-core/megahit/main.nf @@ -39,7 +39,7 @@ process MEGAHIT { $args2 \\ megahit_out/*.fa \\ megahit_out/intermediate_contigs/*.fa - + [ -f megahit_out/${prefix}_megahit.contigs.fa.gz ] && ln -s megahit_out/${prefix}_megahit.contigs.fa.gz ${prefix}_megahit.contigs.fa.gz cat <<-END_VERSIONS > versions.yml @@ -62,7 +62,7 @@ process MEGAHIT { $args2 \\ megahit_out/*.fa \\ megahit_out/intermediate_contigs/*.fa - + [ -f megahit_out/${prefix}_megahit.contigs.fa.gz ] && ln -s megahit_out/${prefix}_megahit.contigs.fa.gz ${prefix}_megahit.contigs.fa.gz cat <<-END_VERSIONS > versions.yml diff --git a/modules/nf-core/megahit/megahit.diff b/modules/nf-core/megahit/megahit.diff index c8238b0..f1daed0 100644 --- a/modules/nf-core/megahit/megahit.diff +++ b/modules/nf-core/megahit/megahit.diff @@ -1,23 +1,23 @@ Changes in module 'nf-core/megahit' --- modules/nf-core/megahit/main.nf +++ modules/nf-core/megahit/main.nf -@@ -40,6 +40,8 @@ +@@ -39,6 +39,8 @@ + $args2 \\ megahit_out/*.fa \\ megahit_out/intermediate_contigs/*.fa - ++ + [ -f megahit_out/${prefix}_megahit.contigs.fa.gz ] && ln -s megahit_out/${prefix}_megahit.contigs.fa.gz ${prefix}_megahit.contigs.fa.gz -+ + cat <<-END_VERSIONS > versions.yml "${task.process}": - megahit: \$(echo \$(megahit -v 2>&1) | sed 's/MEGAHIT v//') -@@ -61,6 +63,8 @@ +@@ -60,6 +62,8 @@ + $args2 \\ megahit_out/*.fa \\ megahit_out/intermediate_contigs/*.fa - ++ + [ -f megahit_out/${prefix}_megahit.contigs.fa.gz ] && ln -s megahit_out/${prefix}_megahit.contigs.fa.gz ${prefix}_megahit.contigs.fa.gz -+ + cat <<-END_VERSIONS > versions.yml "${task.process}": - megahit: \$(echo \$(megahit -v 2>&1) | sed 's/MEGAHIT v//') ************************************************************