-
TIL: how to do bash variable expansion in a subshell on a worker with basename. It's not pretty. You probably won't need this, unless you have a read only volume and want to save your output files have the same file prefix and a different destination.
-
Even then, I'd just recommend wrapping your commands in a script instead. The nestedness of this will make your eyes cross.
-
If you're interested: laderast.github.io/bash_for_bioinformatics/04-doing-work-with-dx-run.html#sec-dxfuse Again, a lot of crying and googling was involved.