diff --git a/fasta_sampler.nf b/fasta_sampler.nf new file mode 100644 index 0000000000000000000000000000000000000000..7c339b979b0e66adbc0e68afb5698e735b1ee8bc --- /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