From 66f793c836b38ec9866962ccd12c22dde273dec9 Mon Sep 17 00:00:00 2001
From: gbenoit <gerard.benoit11@ens-lyon.fr>
Date: Wed, 6 Jun 2018 13:15:26 +0000
Subject: [PATCH] fasta_sampler.nf : copy output to results

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

diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf
index 4197b8b..e3d6520 100644
--- a/src/fasta_sampler.nf
+++ b/src/fasta_sampler.nf
@@ -1,7 +1,10 @@
 Channel
   .fromPath( "data/tiny_dataset/fasta/*.fasta" )
   .set { fasta_file }
+
 process sample_fasta {
+  publishDir "results/sampling/", mode: 'copy'
+  
   input:
 file fasta from fasta_file
 
-- 
GitLab