File Path Management in a Nextflow Pipeline

40 views Asked by At

I have a .config file containing directory paths for various tools. I want to isolate a single filepath, for example: /mount1/nextflow_dir/, and for the other tools, I would like to add something as simple as demonstrated in the Python code below:

import os
tool1_fp = os.path.join(main_config, 'tool1')
tool2_fp = os.path.join(main_config, 'tool2')

Is there a way to perform this directory in NextFlow using google language or otherwise, instead of depending on an additional pyhton or bash script?

1

There are 1 answers

0
nikhil int On

I was able to fix it using;

tool1_fp = "$main_config/tools1"