Open gcapes opened 2 years ago
Thanks @gcapes ; you might find motivation for "why use workflows" in https://arxiv.org/abs/2105.07028
Preview of the new website: https://deploy-preview-75--cwl-website.netlify.app/ - the "Features" content might be especially relevant here
I didn't find either resource gave enough detail for me to be able to answer this, but a recent discussion I had was quite illuminating. Here's some things which weren't clear to me
[ ] setup says that we're downloading tools to use
For this tutorial some existing tools are needed to build the workflow. These existing tools will be imported via GitHub
However, these are only the tool descriptors, rather than the tools themselves. This confused me because I thought that the point of docker is to contain the whole environment and if you need to download a tool this defeats the purpose. I think my understanding of docker is about right, but I was thrown off by not understanding (or really examining) what I was downloading.
I've added an example docker run
to the start of our first lesson, to give students some experience of running containerised tools directly on the command line. See this PR: https://github.com/carpentries-incubator/cwl-novice-tutorial/pull/78
I think this might help with some of our motivation points above.
Why workflows vs bash/Make?
use the above with examples, also mention these below
The only objectives form the index page which aren't already covered in episodes or the intermediate tutorial are these:
I've tidied up the index page in #72, but I think it would be very useful to cover at least the first two objectives above in an episode. Indeed the file name of episode 2
02-shell_to_cwl.md
suggests this was once the plan. Currently the introduction hints at why you might choose to use CWL over shell scripts. But I always like it when the motivation is clear, like in the make and git lessons. e.g. without this tool, this is what you have to do. That's not ideal because x, y, z - this tool fixes those problems. This currently sticks out as an omissionhttp://swcarpentry.github.io/make-novice/01-intro/index.html http://gcapes.github.io/git-course/01-introduction/index.html