diff --git a/src/fasta_sampler.nf b/src/fasta_sampler.nf new file mode 100644 index 0000000000000000000000000000000000000000..434b9b27ab9b8eb79360281f26a5e2e11fdb4cc3 --- /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 +""" +}