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

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 answer

I found that solution is using InitialWorkDirRequirement requirement

Log in to answer this question.