Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 1.4 KB

README.md

File metadata and controls

17 lines (9 loc) · 1.4 KB

redun guided examples

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.

  1. INSTALL: Install the redun library and command-line program using pip or conda.

  2. 01_hello_world: First toy workflow example. Introduces concepts of caching, argument parsing, incremental compute, and exploring the data provenance call graph.

  3. 02_compile: Example workflow involving files (compiling c programs) and parallelism (fan-out, fan-in).

  4. 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.

  5. 04_script: Use the script() task to easily call shell scripts as well as stage and unstage files for input/output.

  6. 05_aws_batch: Define executors to run tasks on AWS Batch or within local Docker containers.

  7. 06_bioinfo_batch: Full bioinformatics workflow for aligning sequencings on AWS Batch.