Is there a way to make paths variable in the .cwl and .yml files. Depending on what machine I am working on, the files might be located in different directories or the scripts that a step in my workflow relies on can be in a different location.
To be more specific, how could I make the /home/chris
part in the run:
variable to /office/home/chris
in the code below?
process_fastq:
run: /home/chris/Code/project/program.cwl
in:
fastqin: fastqin,
fastqout: {default: "final.fastq"}
out: [fastqout]
Something like this perhaps:
process_fastq:
run: $(custom_path + 'Code/project/program.cwl')
in:
fastqin: fastqin,
fastqout: {default: "final.fastq"}
out: [fastqout]
If so do I need extra requirements:
? And where would I specify the custom_path
variable? In the command line when I am running the workflow?
Thank you very much for your help.