Skip to content
Snippets Groups Projects
Commit a56b851c authored by mherbett's avatar mherbett
Browse files

fasta_sampler : output file dependent of the name of the input file

parent 554d2b07
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,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