This section of the forum is no longer actively monitored. We are working on a support migration plan that we will share here shortly. Apologies for this inconvenience.
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?