Skip to content
Snippets Groups Projects
Commit 62a25c6e authored by hpolvech's avatar hpolvech
Browse files

fasta_sampler.nf:multi name output

parent c3e3ffd2
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,11 @@ process sample_fasta {
input:
file fasta from fasta_file
output:
file "sample.fasta" into fasta_sample
output:
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