We've moved!
For WDL questions, see the WDL specification and WDL docs.
For Cromwell questions, see the Cromwell docs and please post any issues on Github.

Using a file with known name from array

If I have inputs to a task which are:

a) an array of files FA
b) a filename without a path, FNAME

What is the easiest way to find this element of file array, if I do not know which index it has? I only know that basename(FA[x]) == FNAME).

I also know that it is in the inputs folder, and I could use find in my command. Is there a better way to do that, native to WDL?

Sign In or Register to comment.