From e070636fdb38ed2a12173459d3d2498ae2affcdb Mon Sep 17 00:00:00 2001
From: Lauren Picard <93-lpicard@users.noreply.gitlab.biologie.ens-lyon.fr>
Date: Mon, 6 May 2019 12:58:19 +0000
Subject: [PATCH] Added fasta_sampler.nf file

---
 fasta_sampler.nf | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 fasta_sampler.nf

diff --git a/fasta_sampler.nf b/fasta_sampler.nf
new file mode 100644
index 0000000..7c339b9
--- /dev/null
+++ b/fasta_sampler.nf
@@ -0,0 +1,12 @@
+process sample_fasta {
+	input:
+file fasta from fasta_file
+	
+	output:
+file "sample.fasta" into fasta_sample
+
+	script:
+"""
+head ${fasta} > sample.fasta
+"""
+}
\ No newline at end of file
-- 
GitLab