From ab1273f6f76056f0f2ed88e720d58936b2f0967b Mon Sep 17 00:00:00 2001 From: dchalopi <domitille.chalopin@ens-lyon.fr> Date: Wed, 6 Jun 2018 12:38:52 +0000 Subject: [PATCH] new --- src/fasta_sampler_TP.nf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/fasta_sampler_TP.nf diff --git a/src/fasta_sampler_TP.nf b/src/fasta_sampler_TP.nf new file mode 100644 index 0000000..434b9b2 --- /dev/null +++ b/src/fasta_sampler_TP.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