tladeras’s avatartladeras’s Twitter Archive—№ 7,165

  1. 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.
    1. …in reply to @tladeras
      Even then, I'd just recommend wrapping your commands in a script instead. The nestedness of this will make your eyes cross.
      1. …in reply to @tladeras
        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.