Write a file with CWL
1
0
Entering edit mode
6.3 years ago
hoseintoossi ▴ 40

Hi I want to write a cwl commandline tool that inputs some files and output a file with input file paths in each line. I use a docker with base command echo and argument $(inputs.input_files.map(x => x.path).join('\n')), but the output files does not hold the local file path but the ones copied by cwl (path in '/var/lib/cwl/..'). What shall I do? modify this one or write an expression tool?

cwl • 1.3k views
ADD COMMENT
1
Entering edit mode
6.3 years ago
hoseintoossi ▴ 40

I found that solution is using InitialWorkDirRequirement requirement

ADD COMMENT

Login before adding your answer.

Traffic: 1462 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