From d1947a2c328a312e38ca0a5cbf82d898d59cdb16 Mon Sep 17 00:00:00 2001
From: elabaron <emmanuel.labaronne@ens-lyon.fr>
Date: Wed, 6 Jun 2018 13:15:16 +0000
Subject: [PATCH] sampler_fasta.nf : add copy output

---
 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