From 6d8afaf15b26818390d61e3a661d2e31a23c276d Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Fri, 17 Jan 2020 14:44:58 +0100
Subject: [PATCH] get sample results

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

diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf
index 434b9b27..ab6f36a3 100644
--- a/src/fasta_sampler.nf
+++ b/src/fasta_sampler.nf
@@ -1,4 +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