From c3e3ffd24f38dc1ad6e3be0cca190912fe7b70d9 Mon Sep 17 00:00:00 2001
From: hpolvech <helene.polveche@ens-lyon.fr>
Date: Wed, 6 Jun 2018 13:15:11 +0000
Subject: [PATCH] fasta_sampler.nf: publishDir

---
 src/fasta_sampler.nf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf
index 075e136..ab6f36a 100644
--- a/src/fasta_sampler.nf
+++ b/src/fasta_sampler.nf
@@ -3,6 +3,8 @@ Channel
   .set { fasta_file }
 
 process sample_fasta {
+  publishDir "results/sampling/", mode: 'copy'
+
   input:
 file fasta from fasta_file
 
-- 
GitLab