These are chat archives for nextflow-io/nextflow

Mar 2016
Tiffany Delhomme
Mar 10 2016 11:16
Hi Paolo, how could I replace a pattern in an input path string (params.ref) in order to pass it to file()?
the following does not work:
file( ${params.ref}.replace(".fasta",".dict") )
Paolo Di Tommaso
Mar 10 2016 11:17
you need ${ .. } only within a string
thus it should be
file( params.ref.replace(".fasta",".dict") )
Tiffany Delhomme
Mar 10 2016 11:21
ho... ok ... thanks!