Simple for now and tests most of the things I wanted to checkout. I have other code that splits files into separate pathways/channels based on contents of outputs. All looking v good. Next thing to figure out is how to orchestrate instantiation of docker hosts and pulling of versioned docker images :)
This option will changes ownership of the files, once the docker process is over, but you can also pass option to docker to fix that during the process as it was discussed here last week, you should find this out if you go further up ;-)
Is there a way to specify (in .nf file or config) the number of jobs you want each node to process (slurm)? i.e some process you may give the entire node (bwa) but other (gzip) you may want to co-process 20 jobs.