This is a test version of Biostars. For the public version, visit https://www.biostars.org.
snakemake config file with path

Hi all,

I am learning the snakemake for my pipeline. For snakefile I am specifying my configfile: configfile: "./config.yaml" In the config.yaml, I have software:

bwa: /hpc/lab/bin/bwa-0.7.17/bwa for calling bwa software from a path. However, the /hpc/lab/bin/ happens to appear alots for all softs I used.

Is there a way to assign the path to variable, let say soft: /hpc/lab/bin/ and call it for bwa: ${soft}/bwa-0.7.17/bwa in yaml like in bash scrip?

Thank

snakemake

Does your HPC use something like Lmod to manage dependencies?

yes they could have share packages but I would like to use the packages in local folder, not via module load

0 answers

No answers yet.

Log in to answer this question.