Skip to content
Snippets Groups Projects
Commit 845e92b2 authored by fduveau's avatar fduveau
Browse files

Update 2

parent 93b62199
No related branches found
No related tags found
No related merge requests found
Channel Channel
.fromPath( "data/tiny_dataset/fasta/*.fasta" ) .fromPath( "data/tiny_dataset/fasta/*.fasta" )
.set { fasta_file } .set { fasta_file }
process sample_fasta {
publishDir "results/sampling/", mode: 'copy'
input:
file fasta from fasta_file
output:
file "*_sample.fasta" into fasta_sample
script:
"""
head ${fasta} > ${fasta.baseName}_sample.fasta
"""
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment