Commit acafbef3 authored by cbedet1's avatar cbedet1
Browse files

modification output

parent 3ee9d81c
......@@ -5,16 +5,19 @@ channel
.set { fasta_file }
process sample_fasta {
publishDir "results/sampling/", mode: 'copy'
input:
file fasta
output:
file "sample.fasta", emit: fasta_sample
file "*_sample.fasta", emit: fasta_sample
script:
"""
head ${fasta} > sample.fasta
head ${fasta} > ${fasta.simpleName}_sample.fasta
"""
}
workflow {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment