From 87304ac7dcf6c5824f69ee74fd7a7e77ee7a5364 Mon Sep 17 00:00:00 2001 From: mherbett <marion.herbette@ens-lyon.fr> Date: Wed, 6 Jun 2018 12:40:01 +0000 Subject: [PATCH] fasta_sample: add pocess --- 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