diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf
index 17348caabfba986d5b7e5e8de5631d7d2de31eba..6fb67de8a4a86aa6bb9b4d6f6f784f23a272a0c6 100644
--- a/src/fasta_sampler.nf
+++ b/src/fasta_sampler.nf
@@ -1,4 +1,16 @@
 Channel
   .fromPath( "data/tiny_dataset/fasta/*.fasta" )
   .set { fasta_file }
+process sample_fasta {
+  input:
+file fasta from fasta_file
+
+  output:
+file "sample.fasta" into fasta_sample
+
+  script:
+"""
+head ${fasta} > sample.fasta
+"""
+}