aboutsummaryrefslogtreecommitdiff
path: root/examples/README.md
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-04-30 13:05:17 +1000
committerJustin Bedo <cu@cua0.org>2019-04-30 13:05:17 +1000
commitd517a934f570427e46be8d83aa2ae4b045b069e8 (patch)
treef419839a9405b0e252f0e7753623fe2c52c5d447 /examples/README.md
parent5d03ab8afa1803ddabc7616a48fff9889e3a0c51 (diff)
Add examples and example README
Diffstat (limited to 'examples/README.md')
-rw-r--r--examples/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/README.md b/examples/README.md
new file mode 100644
index 0000000..66ed04f
--- /dev/null
+++ b/examples/README.md
@@ -0,0 +1,30 @@
+# Bionix examples
+
+This directory has a few example workflows in bionix along with example data.
+A basic workflow is defined in `call.nix`, and an example of applying it to the
+sample data is in `default.nix`. To build the `default.nix` workflow, run
+```
+nix build
+```
+from this directory.
+
+## NextFlow and WDL translations
+
+The directories `ex-nextflow` and `ex-wdl` contain translated examples from the
+NextFlow and WDL documentation respectively.
+
+The NextFlow translated example does not come with example data. It can be built with
+```
+nix build -f nextflow-example1.nix --arg input /path/to/sample.fa
+```
+
+The WDL example requires no extra data and can be built with
+```
+nix build -f wdl-scatter-gather.nix
+```
+
+## Example script wrapper
+
+`ex-tnpair` contains a shell script based example on how a front-end for users
+might be constructed. It is a simple tumour-normal somatic calling workflow
+using the Strelka variant caller.