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 { ...@@ -8,11 +8,11 @@ process sample_fasta {
input: input:
file fasta from fasta_file file fasta from fasta_file
output: output:
file "sample.fasta" into fasta_sample file "*_sample.fasta" into fasta_sample
script: 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