change temp folder in cwl
1
1
Entering edit mode
6.4 years ago
roalva1 ▴ 90

Hello,

is there any way I can change temp folder to a class Workflow cwl file? or inside a CommandLineTool class?

Thanks

cwl commonworkflowlanguage • 2.7k views
ADD COMMENT
0
Entering edit mode

Hello roalva1, thank you for your question. Can you provide more information or context?

ADD REPLY
3
Entering edit mode
6.4 years ago
stian ▴ 30

Different CWL implementations use temporary folders differently.

If you use the reference implementation cwltool you can use --tmpdir-prefix and --tmp-outdir-prefix to change where all temporary files are stored, for instance:

cwl-runner --tmp-outdir-prefix=/mnt/large/tmp1 --tmpdir-prefix=/mnt/large/tmp1 wc-tool.cwl wc-job.json

It is not possible in cwltool to set the temporary directory per step, per workflow or per job.

Other engines might have different ways of setting the temporary storage. For instance Toil uses instead the TOIL_WORKDIR environment variable or the --workDir parameter.

ADD COMMENT

Login before adding your answer.

Traffic: 1474 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6