From b4197e12be4dc49e2d0ca62fb181c56a1bd6006d Mon Sep 17 00:00:00 2001 From: gbenoit <gerard.benoit11@ens-lyon.fr> Date: Wed, 6 Jun 2018 13:28:26 +0000 Subject: [PATCH] fasta_sampler.nf : modify output name --- src/fasta_sampler.nf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf index e3d6520..16ea095 100644 --- a/src/fasta_sampler.nf +++ b/src/fasta_sampler.nf @@ -9,10 +9,11 @@ process sample_fasta { file fasta from fasta_file output: -file "sample.fasta" into fasta_sample +file "*_sample.fasta" into fasta_sample script: """ -head ${fasta} > sample.fasta +head ${fasta} > ${fasta.baseName}_sample.fasta """ + } -- GitLab