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