Skip to content
Snippets Groups Projects
Commit d87d6a01 authored by dchalopi's avatar dchalopi
Browse files

rename output depending on input file name

parent 841d35fe
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,10 @@ process sample_fasta {
file fasta from fasta_file
output:
file "sample.fasta" into fasta_sample
file "*_sample.fasta" into fasta_sample
script:
"""
head ${fasta} > sample.fasta
head ${fasta} > ${fasta.baseName}_sample.fasta
"""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment