These are chat archives for nextflow-io/nextflow

10th
Mar 2016
Tiffany Delhomme
@tdelhomme
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
@pditommaso
Mar 10 2016 11:17
you need ${ .. } only within a string
thus it should be
file( params.ref.replace(".fasta",".dict") )
Tiffany Delhomme
@tdelhomme
Mar 10 2016 11:21
ho... ok ... thanks!