If you are learning redun for the first time, you can explore the following example projects in the order listed below. They have been arranged to introduce redun's features and concepts in increasing order of complexity. For a deeper explanation of the features and theory see the redun design docs.
-
INSTALL: Install the redun library and command-line program using
pip
orconda
. -
01_hello_world: First toy workflow example. Introduces concepts of caching, argument parsing, incremental compute, and exploring the data provenance call graph.
-
02_compile: Example workflow involving files (compiling c programs) and parallelism (fan-out, fan-in).
-
03_scheduler: A Jupyter notebook-driven example of redun's approach to defining workflows with expression graphs, as opposed to dataflow DAGs (directed acyclic graphs). Expression graphs can enable more expressive and composable workflows in a very natural syntax.
-
04_script: Use the
script()
task to easily call shell scripts as well as stage and unstage files for input/output. -
05_aws_batch: Define executors to run tasks on AWS Batch or within local Docker containers.
-
06_bioinfo_batch: Full bioinformatics workflow for aligning sequencings on AWS Batch.