Skip to content
Snippets Groups Projects
Forked from LBMC / nextflow
1222 commits behind the upstream repository.
fasta_sampler.nf 238 B
Channel
  .fromPath( "data/tiny_dataset/fasta/*.fasta" )
  .set { fasta_file }

process sample_fasta {
  input:
file fasta from fasta_file

  output:
file "sample.fasta" into fasta_sample

  script:
"""
head ${fasta} > sample.fasta
"""
}