aboutsummaryrefslogtreecommitdiff
path: root/examples/README.md
blob: 16897092acff714f13282cf8816c2680dcd1e133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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. The script accepts a
reference fasta along with paired normal and tumor fastq files and
performs alignment, preprocessing, and variant calling with
[`strelka`](https://github.com/Illumina/strelka).