From 46210bc983e70e1333d227d9a884e51227c70bf4 Mon Sep 17 00:00:00 2001 From: nfontrod <nicolas.fontrodona@ens-lyon.fr> Date: Wed, 6 Jun 2018 12:39:56 +0000 Subject: [PATCH] fasta_sampler_TP1 : add process sample_fasta --- src/fasta_sampler.nf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/fasta_sampler.nf diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf new file mode 100644 index 0000000..434b9b2 --- /dev/null +++ b/src/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 +""" +} -- GitLab