Hi!
Is it possible to modify an input parameter based on another input parameter? Which is the best way to do it, through the configuration file or directly within the process?
In my config file:
params {
initial_length = 10
calculated_length = initial_length * 0.2
}
Or in my process:
process Software_A {
input:
tuple val(id), path(file)
output:
tuple val(id), path("${id}_processed_file), emit: output
script:
"""
software_a -L ${params.initial_length*0.2} ${file} > ${id}_processed_file
"""
}
Any help would be appreciated!
thanks! ![]()