diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf
index 6fb67de8a4a86aa6bb9b4d6f6f784f23a272a0c6..79b4dafde49df1253db78fe8ceea2338f2a93309 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