Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Update: July 26, 2019
This section of the forum is now closed; we are working on a new support model for WDL that we will share here shortly. For Cromwell-specific issues, see the Cromwell docs and post questions 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.